链路聚合

总共使用三个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

进行调节

链路聚合