In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
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
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.