Environment: CentOS 7.5
ip:10.0.0.5
Network Card: ens33, ens38
Edit master configuration file
Vim/etc/sysconfig/network-scripts/ifcfg-bond0#edit bond configuration
Configure master-slave network card configuration file
vim /etc/sysconfig/network-scripts/ifcfg-ens33
vim /etc/sysconfig/network-scripts/ifcfg-ens38
Service Opening and Detection
Restart network services:
systemctl restart network
Check whether the network card information is normal:
ifconfig
You can also determine bond status by looking at memory information:
cat /proc/net/bonding/bond0