Cisco Systems ST373307LC Computer Drive User Manual


 
3-2
Cisco SFS InfiniBand Host Drivers User Guide for Linux
OL-12309-01
Chapter 3 IP over IB Protocol
Manually Configuring IPoIB for Default IB Partition
Manually Configuring IPoIB for Default IB Partition
To manually configure IPoIB for the default IB partition, perform the following steps:
Step 1 Log in to your Linux host.
Step 2 To configure the interface, enter the ifconfig command with the following items:
The appropriate IB interface (ib0 or ib1 on a host with one HCA)
The IP address that you want to assign to the interface
The netmask keyword
The subnet mask that you want to assign to the interface
The following example shows how to configure an IB interface:
host1# ifconfig ib0 192.168.0.1 netmask 255.255.252.0
Step 3 (Optional) Verify the configuration by entering the ifconfig command with the appropriate port identifier
ib# argument.
The following example shows how to verify the configuration:
host1# ifconfig ib0
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)
Step 4 Repeat Step 2 and Step 3 on the remaining interface(s).
Subinterfaces
This section describes subinterfaces. Subinterfaces divide primary (parent) interfaces to provide traffic
isolation. Partition assignments distinguish subinterfaces from parent interfaces. The default Partition
Key (p_key), ff:ff, applies to the primary (parent) interface.
This section includes the following topics:
Creating a Subinterface Associated with a Specific IB Partition, page 3-3
Removing a Subinterface Associated with a Specific IB Partition, page 3-4