Cisco Systems ST373307LC Computer Drive User Manual


 
3-3
Cisco SFS InfiniBand Host Drivers User Guide for Linux
OL-12309-01
Chapter 3 IP over IB Protocol
Subinterfaces
Creating a Subinterface Associated with a Specific IB Partition
To create a subinterface associated with a specific IB partition, perform the following steps:
Step 1 Create a partition on an IB SFS. Alternatively, you can choose to create the partition of the IB interface
on the host first, and then create the partition for the ports on the IB SFS. See the Cisco SFS Product
Family Element Manager User Guide for information regarding valid partitions on the IB SFS.
Step 2 Log in to your host.
Step 3 Add the value of the partition key to the file as root user.
The following example shows how to add partition 80:02 to the primary interface ib0:
host1# /usr/local/topspin/sbin/ipoibcfg add ib0 80:02
Step 4 Verify that the interface is set up by ensuring that ib0.8002 is displayed.
The following example shows how to verify the interface:
host1# ls /sys/class/net
eth0 ib0 ib0.8002 ib1 lo sit0
Step 5 Verify that the interface was created by entering the ifconfig -a command.
The following example shows how to enter the ifconfig -a command:
host1# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:30:48:20:D5:D1
inet addr:172.29.237.206 Bcast:172.29.239.255 Mask:255.255.252.0
inet6 addr: fe80::230:48ff:fe20:d5d1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9091465 errors:0 dropped:0 overruns:0 frame:0
TX packets:505050 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1517373743 (1.4 GiB) TX bytes:39074067 (37.2 MiB)
Base address:0x3040 Memory:dd420000-dd440000
ib0 Link encap:Ethernet HWaddr F8:79:D1:23:9A:2B
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::9879:d1ff:fe20:f4e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:2044 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:9 overruns:0 carrier:0
collisions:0 txqueuelen:1024
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ib0.8002 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:1024
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
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:378 errors:0 dropped:0 overruns:0 frame:0
TX packets:378 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:45730 (44.6 KiB) TX bytes:45730 (44.6 KiB)
sit0 Link encap:IPv6-in-IPv4