Configuring IPoIB Drivers
Assign Interfaces to HCAs
[root@test root]# /usr/local/topspin/sbin/ifconfig ib# ip addr netmask mask
IPoIB must be installed before it can be configured. Refer to
•
"Assign Interfaces to HCAs" on page 23
•
"Create Interface Partitions" on page 25
•
"Run an IPoIB Performance Test" on page 27
About Assigning Interface for Single HCAs
When you are installing a single HCA in a server, the possible interfaces for the HCA will be ib0 and
ib1.
About Assigning Interfaces for Multiple HCAs
When you are installing multiple HCAs in one server, the driver will keep numbering the ports
consecutively. For example, the ports on the second HCA would be interfaces ib2 and ib3.
To assign ib interfaces:
1. Use ifconfig to assign IP addresses to the ib0 and ib1 interfaces. These addresses work like any
other IP address on the system.
Syntax:
•
ib# is the HCA network interface getting the IP address. This may be either ib0 or ib1.
•
IP addr is the IP address to assign the network interface.
•
netmask is a mandatory keyword.
"Installing the HCA Drivers" on page
23
4
15.