Got it

Adjust the mapping between system network adapters and physical network adapters on a non-standard ARM server

Latest reply: Jun 28, 2020 12:48:57 375 2 2 0 0

Hello, all!

Have a nice day!

The topic describes how to adjust the mapping between system network adapters and physical network adapters on a non-standard ARM server.

  1. Check the configuration file of the network adapter.

    ll /etc/sysconfig/network-scripts/ifconfig-eth*( The network adapter name is eth0.)

    ll /etc/sysconfig/network-scripts/ifconfig-eth*

  2. Check the network adapter status.

    ifconfig

    ifconfig

    As shown in the following figure, the eth0 NIC is not in the RUNNING state. Therefore, the network is not connected.

  3. Start all network adapters.

    Ifconfig eth0 up

    Ifconfig eth1 up

    Ifconfig eth2 up

    Ifconfig eth3 up

    Ifconfig eth4 up

    Ifconfig eth5 up

    Ifconfig eth6 up

    Ifconfig eth7 up

  4. After all network adapters are started, run the ifconfig command to check the status of all network adapters and find the network adapter whose status is RUNNING. In the preceding figure, eth1 is used as an example.

    ifconfig

  5.  According to steps 1 and 4, the network adapter is configured as ifcfg-eth0, but the network adapter in RUNNING state is eth1. It only needs to ensure that the eth0 port in the udev rule is connected. Therefore, modifying the udev rule file, exchange the names of eth1 and eth0, and run the reboot command to restart the system.

    cd /etc/udev/rules.d/

    vi 50-persistent-net.rules

    Before change:

    network adapter

    After change:

    network adapter

  

Thanks for reading!

Thank you for sharing!
View more
  • x
  • convention:

Very good topic
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.