Cisco InfiniBand 4x User's Guide Page 100

  • Download
  • Add to my manuals
  • Print
  • Page
    / 174
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 99
86 Implementing Cisco InfiniBand on IBM BladeCenter
5.1.3 Configuring IP over InfiniBand
The IPoIB protocol passes IP traffic over the InfiniBand network. Configuring IPoIB is very
similar to configuring IP on the Ethernet interfaces. The procedure for configuring IPoIB using
the Cisco SRP drivers is also the same, but not specifically shown in this chapter.
To configure IPoIB, you assign an IP address and subnet mask to each InfiniBand port on the
host. IPoIB automatically adds InfiniBand interface names to the IP network configuration. To
configure IPoIB, perform the following steps:
1. From the command prompt, assign the IP address and subnet mask as shown in
Example 5-3.
Example 5-3 Command to directly place an IP address on the IB interface
host1# ifconfig ib0 172.16.240.10 netmask 255.255.255.0
2. The IPoIB configuration is not persistent across the reboots if performed using the
procedure specified above. To keep the IPoIB configuration persistent across reboots, and
ensure the interface initializes at boot, create a new script file for the InfiniBand interface
(ib0 in this example) and enter the device name, IP address and subnet mask information
as shown in Example 5-4.
Example 5-4 Configuring the IPoIB interfaces on the blade server
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-ib0
DEVICE=ib0
BOOTPROTO=static
IPADDR=172.16.240.10
NETMASK=255.255.255.0
ONBOOT=yes
3. After the configuration parameters listed in Example 5-4 are entered in
/etc/sysconfig/network-scripts/ifcfg-ib0 file, save and close the file.
4. Follow the same procedure to configure additional InfiniBand interfaces on the same or
different blade servers.
5. If you used the procedure listed in Example 5-3, you still need to initialize the IPoIB
interfaces, which is done by restarting the network services as shown in Example 5-5:
Example 5-5 Initialize the IPoIB interface
[root@localhost ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface eth1: [ OK ]
Shutting down interface ib0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... done.
[ OK ]
Bringing up interface ib0: [ OK ]
[root@localhost ~]#
6. Issue the command shown in Example 5-6 to verify the ib0 interface status.
Example 5-6 Verify the ib0 interface
[root@localhost ~]# ifconfig ib0
Page view 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 173 174

Comments to this Manuals

No comments