环境:centos7.5
ip:10.0.0.5
网卡:ens33,ens38

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

centos7配置双网卡bond

配置主从网卡配置文件

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

centos7配置双网卡bond

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

centos7配置双网卡bond

服务开启与检测

重启网络服务:

systemctl restart network

查看网卡信息是否正常:

ifconfig

centos7配置双网卡bond
也可通过查看内存信息来判断bond状态:

cat /proc/net/bonding/bond0

centos7配置双网卡bond

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2022-02-14
  • 2022-12-23
相关资源
相似解决方案