Q-Logic IB0056101-00 G manual Configuring the IPoIB Network Interface

Models: IB0056101-00 G

1 114
Download 114 pages 8.55 Kb
Page 59
Image 59
Configuring the IPoIB Network Interface

A

5 – Software Installation OpenFabrics Drivers and Services Configuration and Startup

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.

NOTE:

Instructions are only for this static IP address case. Configuration methods for using DHCP will be supplied in a later release.

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

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!)

The IPoIB network interface is now configured.

IB0056101-00 G

5-17

Page 59
Image 59
Q-Logic IB0056101-00 G manual Configuring the IPoIB Network Interface