Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Dual network card to realize dual active / standby mode

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report