-
-
Save gerhard/93472542fb4d0ca5cc27 to your computer and use it in GitHub Desktop.
Additional IPs not working as expected on Ubuntu 10.04.02
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet static | |
address 95.211.14.193 | |
netmask 255.255.255.192 | |
gateway 95.211.14.254 | |
auto eth0:0 | |
iface eth0:0 inet static | |
address 95.211.14.195 | |
netmask 255.255.255.192 | |
auto eth0:1 | |
iface eth0:1 inet static | |
address 95.211.14.197 | |
netmask 255.255.255.192 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eth0 Link encap:Ethernet HWaddr 78:e3:b5:fd:b0:2e | |
inet addr:95.211.14.193 Bcast:95.211.14.255 Mask:255.255.255.192 | |
inet6 addr: fe80::7ae3:b5ff:fefd:b02e/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:2915333 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:1427562 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:3479484391 (3.4 GB) TX bytes:411132579 (411.1 MB) | |
Interrupt:16 | |
eth0:0 Link encap:Ethernet HWaddr 78:e3:b5:fd:b0:2e | |
inet addr:95.211.14.195 Bcast:95.211.14.255 Mask:255.255.255.192 | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
Interrupt:16 | |
eth0:1 Link encap:Ethernet HWaddr 78:e3:b5:fd:b0:2e | |
inet addr:95.211.14.197 Bcast:95.211.14.255 Mask:255.255.255.192 | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
Interrupt:16 | |
lo Link encap:Local Loopback | |
inet addr:127.0.0.1 Mask:255.0.0.0 | |
inet6 addr: ::1/128 Scope:Host | |
UP LOOPBACK RUNNING MTU:16436 Metric:1 | |
RX packets:166925 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:166925 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:19368719 (19.3 MB) TX bytes:19368719 (19.3 MB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@lexi:~# ifup eth0:0 | |
ifup: interface eth0:0 already configured | |
root@lexi:~# nmap -T5 -sV -PN 95.211.14.195 | |
Starting Nmap 5.00 ( http://nmap.org ) at 2011-06-09 01:44 CEST | |
Nmap done: 1 IP address (0 hosts up) scanned in 0.39 seconds | |
root@lexi:~# ifup eth0 | |
ifup: interface eth0 already configured | |
root@lexi:~# nmap -T5 -sV -PN 95.211.14.193 | |
Starting Nmap 5.00 ( http://nmap.org ) at 2011-06-09 01:44 CEST | |
Interesting ports on lexi.lazu.co.uk (95.211.14.193): | |
Not shown: 996 closed ports | |
PORT STATE SERVICE VERSION | |
22/tcp open ssh OpenSSH 5.3p1 Debian 3ubuntu6 (protocol 2.0) | |
25/tcp open smtp Postfix smtpd | |
80/tcp open http Apache httpd 2 | |
443/tcp open http Apache httpd 2 | |
Service Info: Host: localhost; OS: Linux | |
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ . | |
Nmap done: 1 IP address (1 host up) scanned in 6.24 seconds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Calista ➜ code ping -c 2 95.211.14.195 | |
PING 95.211.14.195 (95.211.14.195): 56 data bytes | |
64 bytes from 95.211.14.195: icmp_seq=0 ttl=55 time=27.872 ms | |
64 bytes from 95.211.14.195: icmp_seq=1 ttl=55 time=43.412 ms | |
--- 95.211.14.195 ping statistics --- | |
2 packets transmitted, 2 packets received, 0.0% packet loss | |
round-trip min/avg/max/stddev = 27.872/35.642/43.412/7.770 ms | |
Calista ➜ code ssh root@95.211.14.195 -vvv | |
OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009 | |
debug1: Reading configuration data /Users/gerhard/.ssh/config | |
debug1: Reading configuration data /etc/ssh_config | |
debug2: ssh_connect: needpriv 0 | |
debug1: Connecting to 95.211.14.195 [95.211.14.195] port 22. | |
### AND IT JUST HANGS... NOTHING IN THE SERVER LOGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
95.211.14.192 0.0.0.0 255.255.255.192 U 0 0 0 eth0 | |
0.0.0.0 95.211.14.254 0.0.0.0 UG 100 0 0 eth0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Status: active | |
To Action From | |
-- ------ ---- | |
21/tcp ALLOW Anywhere | |
80 ALLOW Anywhere | |
443 ALLOW Anywhere | |
22 ALLOW Anywhere |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment