Current time: 11-25-2024, 01:54 PM Hello There, Guest! (LoginRegister)


Post Reply 
Sorry if i am off topic.. IP alias problem
Author Message
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #1
Sorry if i am off topic.. IP alias problem
Hello all, this is not an Omega question per say, i was wondering if anyone can point me in the right directions for help.... i decommissioned my vhcs2 server and are running on my new fancy Omega system... i wanted to ip alias my old server to my new one.... as eth1:1 as i already have an eth1:0
However when i fill in my /etc/network/interfaces file like you see below i cannot reach the newly added alias IP form the outside world, only from my subnet... i have tried adding it to a couple other linux boxes and it does not work either, however when i put that IP on my Windows xp laptop it worked fine.... but why would only one IP have a route issue when the other on the same box/NIC work fine?. My upstream provider said all is well on his side...

Does anyone have any ideas or tools i should use? My upstream provider said that that box that IP is on cannot probably route back out but can receive incoming requests.... not sure how i can confirm this?tcpdump... my networking skills are not the best.... thanks for all...


Interfaces file Debian Etch... .154 is the one i am trying to add, all other IPs work fine

# The loopback network interface
auto lo eth1 eth1:0 eth1:2
iface lo inet loopback
iface eth0 inet static

# The primary network interface
iface eth1 inet static
address xxx.xxx.xxx.149
netmask 255.255.255.240
network xxx.xxx.xxx.144
broadcast xxx.xxx.xxx.159
gateway xxx.xxx.xxx.145


iface eth1:0 inet static
address xxx.xxx.xxx.150
netmask 255.255.255.240
network xxx.xxx.xxx.144
broadcast xxx.xxx.xxx.159
gateway xxx.xxx.xxx.145

iface eth1:1 inet static
address xxx.xxx.xxx.154
netmask 255.255.255.240
network xxx.xxx.xxx.144
broadcast xxx.xxx.xxx.159
gateway xxx.xxx.xxx.145


iface eth1:2 inet static
address xxx.xxx.xxx.148
netmask 255.255.255.240
network xxx.xxx.xxx.144

netstat -rn shows

Destination Gateway Genmask Flags MSS Window irtt Iface
xxx.xxx.xxx.144 0.0.0.0 255.255.255.240 U 0 0 0 eth1
0.0.0.0 xxx.xxx.xxx.145 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 xxx.xxx.xxx.145 0.0.0.0 UG 0 0 0 eth1


ifconfig shows

eth1 Link encap:Ethernet HWaddr 00:15:8A:00:2C:2C
inet addr:xxx.xxx.xxx.149 Bcast:xxx.xxx.xxx.159 Mask:255.255.255.240
inet6 addr: fe80::215:8aff:fe00:2c2c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:301125243 errors:0 dropped:0 overruns:0 frame:0
TX packets:364066087 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:58607410043 (54.5 GiB) TX bytes:358564185696 (333.9 GiB)
Interrupt:11 Base address:0x2c00

eth1:0 Link encap:Ethernet HWaddr 00:15:8A:00:2C:2C
inet addr:xxx.xxx.xxx.150 Bcast:xxx.xxx.xxx.159 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0x2c00

eth1:1 Link encap:Ethernet HWaddr 00:15:8A:00:2C:2C
inet addr:xxx.xxx.xxx.154 Bcast:xxx.xxx.xxx.159 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0x2c00

eth1:2 Link encap:Ethernet HWaddr 00:15:8A:00:2C:2C
inet addr:xxx.xxx.xxx.148 Bcast:xxx.xxx.xxx.159 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0x2c00

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:56133002 errors:0 dropped:0 overruns:0 frame:0
TX packets:56133002 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:82406015215 (76.7 GiB) TX bytes:82406015215 (76.7 GiB)
01-09-2008 04:07 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)