No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

MZ620 NIC V100R001 User Guide 04

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring IPoIB Ports in the OS

Configuring IPoIB Ports in the OS

The IP over IB (IPoIB) ports on the MZ620, like Ethernet ports, encapsulate IP packets in IB packets for transmission. The IPoIB ports are identified as ibX in the OS, and can be assigned with IP addresses for transmission over Ethernet. The following describes how to configure IP addresses for the IPoIB ports in Red Hat Enterprise Linux (RHEL).

  1. Run the ifconfig -a command to view information about IPoIB ports.

    Figure 4-10 Viewing information about IPoIB ports

  2. Configure the IP address.

    • Run the ifconfig ibx [ipaddress] [netmask] command to configure the dynamic IP address.
    • Configure the static IP address.

      To configure static IP addresses, go to /etc/sysconfig/network-scripts, create a configuration file named ifcfg-ibx, and add the following content to the file:

      DEVICE=ibx

      TYPE=InfiniBand

      ONBOOT=yes

      IPADDR=172.168.100.100

      NETMASK=255.255.255.0

      GATEWAY=172.168.100.1

      NM_CONTROLLED=no

      USERCTL=no

      BOOTPROTO=static

  3. Run the service network restart command to restart the network service and activate the IPoIB ports.
  4. Run the ifconfig command to verify the configuration.

    Figure 4-11 Viewing configuration information

    The two lines in the red rectangle shown in Figure 4-11 indicate that the configuration has been completed and activated.

Translation
Download
Updated: 2019-01-26

Document ID: EDOC1000172487

Views: 3943

Downloads: 77

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next