[lkml]   [1999]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectIP Aliasing in 2.2.x (bug?)
Guys,  I'm having the strangest problem over here with IP alaising.  I have tried the latest 2.2 kernels as well to blindly remedy the situation to no avail.  Things did work as they should with 2.0.34 for the longest time.  The problem is as follows:

This specific machine aliasing about a hundred ip address's (note: this is RedHat 6.0 w/the kernel, etc...). As far as the virtual interfaces are configured, this is done via linuxconf with apparently creates these two files ifcfg-eth0:0 and ifcfg-eth0:0 ... the files read as (just for reference):

<soren@s2>:/etc/sysconfig/network-scripts$ cat ifcfg-eth0:0
<soren@s2>:/etc/sysconfig/network-scripts$ cat ifcfg-eth0:1

The main interface is:

<soren@s2>:/etc/sysconfig/network-scripts$ cat ifcfg-eth0

As far as information on the machine, it's all the same hardware as was running 2.0.34 successfully forever, 3com 509 or something using the 3c59x module...

Now, To the actual problem itself...which I feel is extremely strange:

eth0 and the ip's specified in the eth0:? files are all configured and display as follows with ifconfig:

the main interface (works perfectly:

<soren@s2>:~$ /sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:10:5A:D1:37:30
inet addr: Bcast: Mask:
RX packets:3715021 errors:0 dropped:0 overruns:0 frame:0
TX packets:4215048 errors:0 dropped:0 overruns:0 carrier:2
collisions:48815 txqueuelen:100
Interrupt:10 Base address:0xdc80


An example virtual interface entry (as configured by redhat's startup scripts or linuxconf or however it's done under redhat...):

<soren@s2>:~$ /sbin/ifconfig eth0:22
eth0:22 Link encap:Ethernet HWaddr 00:10:5A:D1:37:30
inet addr: Bcast: Mask:
Interrupt:10 Base address:0xdc80


All the other aliased entries look exactly the same...and they all have the same problem...

All the aliased ip's on the machine an extent... they work like this... in all cases... and yes, i've eliminated running programs on the machine as far as sendmail/httpd/everything and the same thing still happens...

If you try to say, PING one of those aliased IP's on the machine from inside our outside the local network, it will not work... BUT, that is ONLY the case if you have not had communicate with the actual -real- interface.... i.e. accessed 's2' directly, instead of one of the aliased ip's configured there...

So basically, if you tried to communcate with one of those ip's-- you wouldn't be able to UNLESS say, i ping'd your host from 's2' ...follow what I'm saying guys?

It's sorta difficult to explain in a few words but i'm trying to explain it as thorough as possible.

This is a vital machine and the the aliasing it does (web site hosting...) is obviously extremely vital to it's purpose... I probably should've tested the needed things before the heavy upgrade on the machine but I have been running 2.2 at home ever since it was released with zero problems. So I figured it wouldn't be a big deal ;)


Any help/insight would be greatly appreciated...I'm not looking forward to having to completely redo the machine again downgrading things to 2.0.34 or something.

I did come across something on dejanews where it seemed like a guy had a similair problem, he received one response which was something to the effect of it just not working yet in 2.2 I'm hoping that was a joke or something ;)

Thanks and extreme gratitude,


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:53    [W:0.039 / U:51.900 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site