Red Hat Bugzilla – Bug 8240
The systems assigns itself a wrong IP #
Last modified: 2008-05-01 11:37:53 EDT
Within the ifcfg-eth0 file the machine is assigned an ip number lets say
x.x.165.5, after the system loads ifcfg-eth0 & several alias files
ifcfg-eth0:1 - ifcfg-eth0:15 and you run ifconfig it reports back that the
ifcfg-eth0 is the x.x.165.5 ip number as expected, and those other alias
files as well.
Now here is the problem, when you telnet from this machine into another
computer, that computer sees your IP number as x.x.165.43 and not
The ip number it is acting as is one of the valid alias IP numbers, but is
*not* the one we assign to the machine. If I manipulate the ifcfg-eth0:1
ifcfg-eth0:15 filenames so that a different ip number is contained within
lets say ifcfg-eth0:1 it then thinks that, that is the ip number for the
machine again istead of x.x.165.5.
The problem of course is that we restrict security to our other linux
servers by IP number, and since this IP number is wrong we can't access
other servers. One footnote is that if you ping or query the proper ip
number, that works, it's just when you telnet or ftp from the console into
an other system that it sees it wrong.
What netmask are you adding the aliases with? It sounds like the aliases are
being added with the same netmask as the rest of the network instead of
255.255.255.255, which will lead to a network route being installed for each
alias that overrides the default netmask.