Bug 8240 - The systems assigns itself a wrong IP #
Summary: The systems assigns itself a wrong IP #
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 6.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-01-06 20:35 UTC by jack
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2000-02-17 21:53:22 UTC

Attachments (Terms of Use)

Description jack 2000-01-06 20:35:00 UTC
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.

Comment 1 Ben LaHaise 2000-02-17 21:53:59 UTC
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, which will lead to a network route being installed for each
alias that overrides the default netmask.

Note You need to log in before you can comment on or make changes to this bug.