Strange ip address

Scot L. Harris webid at
Sun May 9 04:38:27 UTC 2004

On Sun, 2004-05-09 at 00:16, david walcroft wrote:
> Hi, It does not worry me or effect using the net - but just
> inquiring why - are the IP's from 'ifconfig' and 'netstat -nr'
> different.
> ifconfig
> inet addr:  Bcast:  Mask:
> netstat -nr
> [david at reddwarf david]$ sudo netstat -nr
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt 
> Iface
>   U         0 0          0 
> eth2
>   U         0 0          0 
> eth1
>     U         0 0          0 
> eth2
>       U         0 0          0 lo
>         UG        0 0          0 
> eth1
>    Thanks  david

ifconfig is showing you the settings on your machines interface.  The
netstat -rn command shows you the routing table on your machine. 
Because you have a 22 bit subnet subnet mask the actual network has a
usable address range from to  (or a
possible 1022 hosts).

Your machines address happens to be towards the end of the usable IP
address range (

You also have a second ethernet card on network, your
ifconfig information does not include your machines IP address on that

The address I believe is for automatic configuration of
interfaces.  I have seen this on windows boxes which fail to get their
DHCP configurations.  I think there is an RFC which describes this. 
Have not read it so can not provide any details on it.

The is for your local loop back address.

And the is for your default gateway.  In this case your machine
is configured to send packets to (which appears to be your
networks default gateway) if the destination IP address does not fall
within one of the other local networks defined on your system.

Scot L. Harris <webid at>

More information about the fedora-list mailing list