[openib-general] routing weirdness

Moni Shoua monis at voltaire.com
Wed Nov 29 06:27:16 PST 2006


Michael S. Tsirkin wrote:
>>>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
I don't know how that happened but this looks like a wrong routing table setup (same destination on both ib interfaces)
try to fix that (route del) and see if the problem is solved.
BTW: are your network scripts configured ringht?

> 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
> 






More information about the general mailing list