Get the App
SLTechnology News&Howtos  ›  Servers  › 

Dual network card to realize dual active / standby mode

Shulou Source: shulou.com Published: 2022-06-02 13:29:25 10月02日 Update

Experimental preparation of dual network card to realize dual active / standby mode

2 network cards (changed to bridge mode)

1. The name of the network card

A modified network can be activated.

After rebooting the computer, we can see that the interface in the network has become the eth interface. Then, we can see that the interface in the network becomes the grub2-mkconfig interface.

Ip a

2. Create bond ®nmcli connection add type bond ifname bond0 con-name bond0 mode active-backup ip4 172.20.12.20 nmcli connection add type bond-slave ifname eth0 con-name eth0-bond0 master bond0 16 gw4 172.20.0.1 to check whether it is successful or not.

Start with host IP + R ping 172.20.12.20 (this address is my bond0 address)

3. Check status cat / proc/net/bonding/bond0

MII Status:up in which up stands for enabled, which can be connected in theory. If not, disconnect the virtual network card.

MII Status: down down stands for shutdown

Tags: Network card mode representative address interface no success host name activation state theory computer network preparation experiment Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Apple Shulou Information MariaDB Microsoft