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!
Environment: centos7.5
ip:10.0.0.5
Network card: ens33,ens38
vim /etc/sysconfig/network-scripts/ifcfg-bond0 #编辑bond配置
vim /etc/sysconfig/network-scripts/ifcfg-ens33
vim /etc/sysconfig/network-scripts/ifcfg-ens38
Restart the network service:
systemctl restart network
Check whether the network card information is normal:
ifconfig
You can also judge the bond status by checking the memory information:
cat /proc/net/bonding/bond0
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!