User guide

Chapter 5. Configuring IP over InfiniBand for use with Cisco switches 87
ib0 Link encap:InfiniBand HWaddr
80:00:04:04:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet addr:172.16.240.10 Bcast:172.16.240.255 Mask:255.255.255.0
inet6 addr: fe80::205:ad00:5:391/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:128
RX bytes:0 (0.0 b) TX bytes:17380 (16.9 KiB)
5.1.4 Verifying the IPoIB communication
To verify IPoIB functionality, follow these steps:
1. Log in to the hosts.
2. Ensure that the IPoIB interfaces on the source and destination nodes are up by using the
ifconfig command as shown in Example 5-6 on page 86.
3. Issue a ping command from source to a destination node as shown in Example 5-7.
Example 5-7 Verify IPoIB communication between the two InfiniBand hosts
[root@localhost ~]# ping 172.16.240.11
PING 172.16.240.11 (172.16.240.11) 56(84) bytes of data.
64 bytes from 172.16.240.11: icmp_seq=1 ttl=64 time=0.043 ms
64 bytes from 172.16.240.11: icmp_seq=2 ttl=64 time=0.042 ms
64 bytes from 172.16.240.11: icmp_seq=3 ttl=64 time=0.037 ms
64 bytes from 172.16.240.11: icmp_seq=4 ttl=64 time=0.047 ms
64 bytes from 172.16.240.11: icmp_seq=5 ttl=64 time=0.040 ms
64 bytes from 172.16.240.11: icmp_seq=6 ttl=64 time=0.039 ms
64 bytes from 172.16.240.11: icmp_seq=7 ttl=64 time=0.040 ms
--- 172.16.240.11 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6000ms
rtt min/avg/max/mdev = 0.037/0.041/0.047/0.004 ms
[root@localhost ~]#
This completes the IPoIB configuration a Linux host using the Cisco OFED drivers.
5.1.5 Configuring SRP storage on Linux
For information about how to configure SRP attached storage using the Cisco SFS 3012
Multifabric switch, refer to Chapter 6, “Boot from InfiniBand using the Cisco 3012 InfiniBand to
FC gateway” on page 95.