链路聚合
更新:HHH   时间:2023-1-7


总共使用三个shell

 

第一个shell

nm-connection-editor

nmcli connection add con-name bond0 ifname bond0 type bond mode active-backup ip 4 172.25.254.101/24

ifconfig

 

 

ping 172.25.254.101

第二个shell

cat /proc/net/bonding/bond0


第三个shell

nmcli connection add con-name eth0 ifname eth0 type bond-slave master bond0

nmcli connection add con-name eth2 ifname eth2 type bond-slave master bond0

输入:ifconfig eth0 down

      ifconfig eth0 up

      ifconfig eth2 down

      ifconfig eth2 up

进行调节

返回网络安全教程...