Setting up the IP interfaces on the switch on a RoCE network (Linux®)
On a remote direct memory access (RDMA) over Converged Ethernet (RoCE) network, you must manually set up the IP interfaces on the switch. The procedures documented in this page are no longer required as adapter port liveliness test has been enhanced and automated. Some restrictions apply. Refer to technote#0733765 for restrictions.
Before you begin
Ensure that you completed the following tasks:
- The switch to be configured must be turned on.
- You must be able to administrate the switch through a console. For example, a host that is connected to the switch's management port.
- You must have administrative access to the switch.
- The switch must be setup with an IP for its management port and it must be running.
About this task
The number of IP addresses to be setup on a switch is the same as the number of distinct IP subnets directly connected to it from the CF or member server.
Procedure
To set up the IP interfaces:
Example
- Log in with the admin user ID.
- Create the interface and setup its IP address and IP subnet mask.
- If you are creating two interfaces on the switch:
- To create interface 1, setup the IP address and IP subnet mask. For
example:
RS G8124(config)#interface ip 1 RS G8124(config-ip-if)#ip address 192.168.1.2 RS G8124(config-ip-if)#ip netmask 255.255.255.0 RS G8124(config-ip-if)#exit
- To create interface 2 using the same procedure. For
example:
RS G8124(config)#interface ip 2 RS G8124(config-ip-if)#ip address 192.168.2.2 RS G8124(config-ip-if)#ip netmask 255.255.255.0 RS G8124(config-ip-if)#exit
- To create interface 1, setup the IP address and IP subnet mask. For
example:
- For the change to take effect, enter the following
command:
RS G8124(config)#copy running-config startup-config
- To create interfaces for different IP subnets, repeat steps 2 to 4 on the second switch.
- To validate the IP addresses, ping the address from the CF and member hosts that connect to the same switch.