HIVE The NexaVM Community NexaVM HIVE Community
    • Categories
    • Tags
    • Recent
    • Register
    • Login

    Network card dropped from bond after restart

    Scheduled Pinned Locked Moved Knowledgebase
    1 Posts 1 Posters 21 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nexusundefined Offline
      nexus
      last edited by

      Problem description:
      The network card in the bond is lost/dropped after the server is restarted.
      Normal situation:
      a9ce4348-dfde-4d06-a977-e76dfa46d857-image.png
      The network card drops from the bond after restarting:
      bd643978-2dff-409e-8d60-3d198cd96287-image.png

      Cause analysis:
      There may be two reasons for this problem.

      Problem handling process:
      1.Check the contents of the configuration file corresponding to the network card to see if DEVICE=eth0 is missing

      cat /etc/sysconfig/network-scripts/ifcfg-eth0
      

      a05436f2-26e9-41bd-848c-d54135db14a3-image.png
      If it is missing, you need to add a new line DEVICE=eth0 to this configuration file, and then add the dropped network card from the new addition back to bond;

      echo "DEVICE=eth0" >> /etc/sysconfig/network-scripts/ifcfg-eth0
      zs-nic-to-bond -a bond0 eth0
      

      Restart the server again to check that the network card in the bond group no longer drops.

      systemctl restart network
      systemctl enable network
      
      1. The NexaVM node system uses the network service. If NetworkManager is also running at the same time, the two will conflict, causing the network card to be lost after restarting;
        Check the service running status:
      systemctl status NetworkManager
      systemctl status network
      

      (The output shows that both services are in the running state)
      If the NetworkManager service is running, you need to stop its service and disable it from starting automatically;

      systemctl stop NetworkManager
      systemctl disable NetworkManager
      

      Then add the network card back to the bond group and restart the network network service to set it to start automatically;

      zs-nic-to-bond -a bond0 eth0
      systemctl restart network
      
      1 Reply Last reply Reply Quote
      • nexusundefined nexus marked this topic as a regular topic

      • 1 / 1
      • First post
        Last post