QLogic 7104-10M-CABLE User Manual

Page of 130
6–Configuring Drivers and Services
OpenFabrics Drivers and Services Configuration and Startup
6-2
IB0056101-00  H
S
Configure 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. In this 
case, the netmask must 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 command (as a root user):
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:
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
The output of the 
ping
 command will be similar to the following, with a line 
for each host already configured and connected:
WARNING: pinging broadcast address
PING 10.1.17.255 (10.1.17.255) 517(84) bytes of data.
174 bytes from 10.1.17.3: icmp_seq=0 ttl=174 time=0.022 ms
64 bytes from 10.1.17.1: icmp_seq=0 ttl=64 time=0.070 ms (DUP!)
64 bytes from 10.1.17.7: icmp_seq=0 ttl=64 time=0.073 ms (DUP!)
NOTE:
Instructions are only for this static IP address case. Configuration methods 
for using DHCP will be supplied in a later release.