Home  >  Article  >  Operation and Maintenance  >  About centos7 configuration dual network card bond

About centos7 configuration dual network card bond

藏色散人
藏色散人forward
2020-12-30 16:47:035717browse

The following column centos basic tutorial will introduce to you how to configure dual network card bond in centos7. I hope it will be helpful to friends in need!

About centos7 configuration dual network card bond

Environment: centos7.5
ip:10.0.0.5
Network card: ens33,ens38

Edit main configuration file

vim /etc/sysconfig/network-scripts/ifcfg-bond0 #编辑bond配置

About centos7 configuration dual network card bond

Configuring the master-slave network card configuration file

vim /etc/sysconfig/network-scripts/ifcfg-ens33

About centos7 configuration dual network card bond

vim /etc/sysconfig/network-scripts/ifcfg-ens38

About centos7 configuration dual network card bond

Service opening and detection

Restart the network service:

systemctl restart network

Check whether the network card information is normal:

ifconfig

About centos7 configuration dual network card bond

You can also judge the bond status by checking the memory information:

cat /proc/net/bonding/bond0

About centos7 configuration dual network card bond

The above is the detailed content of About centos7 configuration dual network card bond. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete