Q-Logic OFED Network Router User Manual


 
Draft
Configuring Drivers and Services
OpenFabrics Drivers and Services Configuration and Startup
6-2 Preliminary IB0056101-00 G.02
S
Configuring the IPoIB Network Interface
The following instructions show you how to manually configure your OpenFabrics
IPoIB network interface. This example assumes that you are using
sh or bash as
your shell, all required InfiniPath and OpenFabrics RPMs are installed, and your
startup scripts have been run (either manually or at system boot).
For this example, the IPoIB network is 10.1.17.0 (one of the networks reserved for
private use, and thus not routable on the Internet), with a /8 host portion, and
therefore requires that the netmask be specified.
This example assumes that no hosts files exist, the host being configured has the
IP address 10.1.17.3, and DHCP is not used.
1. Type the following commands (as root):
# ifconfig ib0 10.1.17.3 netmask 0xffffff00
2. To verify the configuration, type:
# ifconfig ib0
The output from this command will be similar to this:
ib0 Link encap:InfiniBand HWaddr
00:00:00:02:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet addr:10.1.17.3 Bcast:10.1.17.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:4096 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)
3. Type:
# ping -c 2 -b 10.1.17.255
NOTE:
Instructions are only for this static IP address case. Configuration methods
for using DHCP will be supplied in a later release.