[Wolves] IP Aliasing
Simon C. Burke
simonb at geek-web.co.uk
Thu Oct 16 10:47:42 UTC 2008
Hi all.
I recently moved my mail server to a different box. However whilst changing IP I wanted to add the old one as an IP Alias.
I went through the usual rigmarole of running:
/sbin/ifconfig eth0:0 78.105.102.xx netmask 255.255.248.0
then:
/sbin/route add -host 78.105.102.xx dev eth0:0
Now it shows in ifconfig however nothing will bind to that address
route -en gives:
root at mail:/etc# route -en
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
78.105.102.xx 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
78.105.96.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
0.0.0.0 78.105.96.1 0.0.0.0 UG 0 0 0 eth0
ifconfig shows:
root at mail:/etc# ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:1b:3f:f6:2f
inet addr:78.105.102.yy Bcast:78.105.103.255 Mask:255.255.248.0
inet6 addr: fe80::230:1bff:fe3f:f62f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:255047 errors:0 dropped:0 overruns:0 frame:0
TX packets:228975 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:211415970 (201.6 MB) TX bytes:120837517 (115.2 MB)
Interrupt:16 Base address:0xb000
eth0:0 Link encap:Ethernet HWaddr 00:30:1b:3f:f6:2f
inet addr:78.105.102.xx Bcast:78.105.103.255 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16 Base address:0xb000
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:793747 errors:0 dropped:0 overruns:0 frame:0
TX packets:793747 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:301639056 (287.6 MB) TX bytes:301639056 (287.6 MB)
netstat -n has no mention of that ip either.
A nmap of the ip externally shows its there but with no open ports.
The server is running Ubuntu Server 8.04
Any ideas as to what I am missing here?
I have tried binding a service to that ip by hand but still doesnt show in a netstat, and it is not accessible.
I can however ping the ip locally.
Any helpw ould be greatly appreciated.
More information about the Wolves
mailing list