[openib-general] IPoIB interface for unauthorized partition
Hal Rosenstock
halr at voltaire.com
Mon Apr 3 09:44:43 PDT 2006
Hi Roland,
I have a port which only has the full default partition configured but
ifconfig allows an IPoIB interface with a PKey which is not in the Pkey
table. Shouldn't the ifconfig fail for this (rather than the subsequent
ping) ?
-- Hal
smpquery pkeys 1 1
0: 0xffff 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
64 pkeys capacity for this port
echo 0x8001 > /sys/class/net/ib0/create_child
/sbin/ifconfig ib0.8001 192.168.2.1
ping -b 192.168.2.255
WARNING: pinging broadcast address
PING 192.168.2.255 (192.168.2.255) 56(84) bytes of data.
--- 192.168.2.255 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 999ms
More information about the general
mailing list