25
Create Interface Partitions
About Dividing an Interface
The parent interface is the main IPoIB interface (ib0, ib1, ib2, etc.). However, subinterfaces can be
created to be associated with InfiniBand Partitions. The main interface has a Partition Key (p_key)
associated with it, which is always ff:ff, and the subinterface is optional. If the subinterface is not
specified, it defaults to the parent interface.
The partitions (p_keys) provide traffic isolation.
[root@enclus2 root]# /usr/local/topspin/sbin/
[root@enclus2 root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:30:48:29:B9:FA
inet addr:10.3.0.11 Bcast:10.3.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1200029 errors:0 dropped:0 overruns:0 frame:0
TX packets:12095 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:99263236 (94.6 Mb) TX bytes:1293346 (1.2 Mb)
Interrupt:54 Base address:0x3000 Memory:e8200000-e8220000
eth1 Link encap:Ethernet HWaddr 00:30:48:29:B9:FB
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:55 Base address:0x3040 Memory:e8220000-e8240000
ib0 Link encap:Ethernet HWaddr D8:15:05:AE:F3:5A
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:2044 Metric:1
RX packets:142 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:128
RX bytes:16273 (15.8 Kb) TX bytes:1456 (1.4 Kb)
ib1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:2044 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:128
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52369 errors:0 dropped:0 overruns:0 frame:0
TX packets:52369 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3314198 (3.1 Mb) TX bytes:3314198 (3.1 Mb)
[root@enclus2 root]#