- 备份/etc/sysconfig/network-scripts/下的网卡配置文件
- 查看两个网卡名
- 输入命令
1. nmcli connection add ip4 IP地址/24 type bond con-name bond0 ifname bond0 mode 1 gw4 网关地址
2. nmcli connection add type bond-slave ifname eno3 master bond0
3. nmcli connection add type bond-slave ifname eno4 master bond0
4. nmcli connection up "bond0"
5. nmcli connection up "bond-slave-eno3"
6. nmcli connection up "bond-slave-eno4"
- 查看网卡信息
5.成功的话重启网卡