Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to set dual Network Card binding Bond in CentOS6

Shulou Source: shulou.com Published: 2022-06-01 17:02:52 10月03日 Update

This article is about how to set up double network card binding Bond in CentOS6. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.

1. Run the network connection program

"System"-"Preferences"-"Network Connections"

Locate the available network cards eth0 and eth2 and write down the MAC address. The network card with small MAC address is the first network card.

Set 2 network cards to connect automatically.

2. Enable Bond

Follow the prompts to modify parameters

Modify / etc/sysconfig/network file

NM_BOND_BRIDGE_VLAN_ENABLED=yes

Restart network services

-- # Service NetworkManager restart

3. Add bond

Enter and run the network connection program

[Add]-- [bond]-- [Create]

Remove the space in the middle of the name, and the name is: BondConnection0

Add a connection to bond0 [Add]-- [Wired]-- [Create]

Change the name to remove the space bond0slave1, select [Connect automatically], copy the MAC address of eth0 to this device MAC, [Apply]

In the same way, use the MAC address of the second network card to generate bond0slave2

Modify parameters

Mode: Active backup

Primary: bond0slave1

Monitoring frequency: 100ms

[Apply]

Configure IPv4

-- # service NetworkManager restart

4. Check whether the network card is connected

Add IP,ping check

Reply from 192.168.8.42: bytes=32 time

Tags: Network card address name network parameters more knowledge program space article check run practical that is work meeting file article method look knowledge point Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Shulou Technology Shulou Information Docker Apple