Centos7 Configuration Dual Network Card Bond

Time:2019-8-13

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

Centos7 Configuration Dual Network Card Bond

Configure master-slave network card configuration file

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

Centos7 Configuration Dual Network Card Bond

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

Centos7 Configuration Dual Network Card Bond

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