[techtalk] Netstat weirdness

Anmol Khirbat anmol at teknema.com
Tue Aug 15 14:04:50 EST 2000


On Tue, 15 Aug 2000, C. M. Martin wrote:

> Here is the output from ifconfig, which is exactly what I'd expect:
> 
> eth0      Link encap:Ethernet  HWaddr 00:06:29:F5:3F:AD
>           inet addr:63.251.67.58  Bcast:63.251.67.63  Mask:255.255.255.248
> 
> eth1      Link encap:Ethernet  HWaddr 00:06:29:AF:91:1E
>           inet addr:192.168.0.20  Bcast:192.168.0.255  Mask:255.255.255.0
> 
> Now, look at what netstat -nr gives me:
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 63.251.67.56    0.0.0.0         255.255.255.248 U         0 0          0 eth0
> 192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
> 127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
> 0.0.0.0         63.251.67.57    0.0.0.0         UG        0 0          0 eth0 
> 
> Those first two destination addresses are *wrong*.  

The first two destination addresses are network addresses (there is no H
in the FLAGS) and are absolutely correct. 

Your problem lies somewhere else.

bye :)
Anmol







More information about the Techtalk mailing list