[openib-general] SLES10 /sbin/ip shows wrong multicast addresses for IPoIB devices
Or Gerlitz
ogerlitz at voltaire.com
Sun Dec 10 03:20:26 PST 2006
I see now that /sbin/ip that comes with SLES10 iproute2-2.6.15-14.4 shows wrong
multicast hardware (L2) addresses for IPoIB devices, where on SLES9 it works
just fine (and the package is iproute2-2.4.7-866.8)
With strac-ing it, i can see that utility uses /proc/net/dev_mcast as the
source for the hw mcast addresses, where these are reported fine, but then
the lower 32 bits are somehow chopped and replaced by zeros, see below.
Or.
sage:~ # /sbin/ip a s ib1
6: ib1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 128
link/infiniband 00:00:04:05:fe:80:00:00:00:00:00:00:00:02:c9:02:00:20:13:f2 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
inet 192.168.10.153/24 brd 192.168.10.255 scope global ib1
inet6 fe80::202:c902:20:13f2/64 scope link
valid_lft forever preferred_lft forever
sage:~ # /sbin/ip m s ib1
6: ib1
link 00:ff:ff:ff:ff:12:40:1b:00:00:00:00:00:00:00:00:00:00:00:00
link 00:ff:ff:ff:ff:12:60:1b:00:00:00:00:00:00:00:01:00:00:00:00
link 00:ff:ff:ff:ff:12:60:1b:00:00:00:00:00:00:00:00:00:00:00:00
link 00:ff:ff:ff:ff:12:40:1b:00:00:00:00:00:00:00:00:00:00:00:00
inet 224.5.5.5
inet 224.0.0.1
inet6 ff02::1:ff20:13f2
inet6 ff02::1
sage:~ # strace /sbin/ip m s ib1 2>&1 | grep open
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib64/libresolv.so.2", O_RDONLY) = 3
open("/lib64/libc.so.6", O_RDONLY) = 3
open("/proc/net/dev_mcast", O_RDONLY) = 4
open("/proc/net/igmp", O_RDONLY) = 4
open("/proc/net/igmp6", O_RDONLY) = 4
sage:~ # cat /proc/net/dev_mcast | grep ib1
6 ib1 1 0 00ffffffff12401b000000000000000000050505
6 ib1 1 0 00ffffffff12601b0000000000000001ff2013f2
6 ib1 1 0 00ffffffff12601b000000000000000000000001
6 ib1 1 0 00ffffffff12401b000000000000000000000001
More information about the general
mailing list