[openib-general] routing weirdness

Michael S. Tsirkin mst at mellanox.co.il
Wed Nov 29 04:22:51 PST 2006


> > How do you want me to dump it?
>
> and it's also worth looking at  the routing cache (netstat -rnC)

# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.4.0.0        0.0.0.0         255.255.0.0     U         0 0          0 eth0
12.4.0.0        0.0.0.0         255.255.0.0     U         0 0          0 ib1
12.4.0.0        0.0.0.0         255.255.0.0     U         0 0          0 ib0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
11.4.0.0        0.0.0.0         255.255.0.0     U         0 0          0 ib0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         10.4.0.211      0.0.0.0         UG        0 0          0 eth0

#netstat -nrC | grep -e ib0 -e ib1
(no output)
#/usr/local/utils/ip route show
10.4.0.0/16 dev eth0  proto kernel  scope link  src 10.4.3.86
12.4.0.0/16 dev ib1  proto kernel  scope link  src 12.4.3.86
12.4.0.0/16 dev ib0  proto kernel  scope link  src 12.4.3.86
169.254.0.0/16 dev eth0  scope link
11.4.0.0/16 dev ib0  proto kernel  scope link  src 11.4.3.86
127.0.0.0/8 dev lo  scope link
default via 10.4.0.211 dev eth0

-- 
MST




More information about the general mailing list