我有 2 个运行 centos 6.5 的 linux 机器,每个机器有 2 个绑定在一起的接口,连接到带有 lacp 配置端口的 Cisco 2960-S 交换机。
交换机上的配置
port-channel load-balance src-dst-mac
!
interface Port-channel1
switchport access vlan 100
switchport mode access
!
interface Port-channel2
switchport access vlan 100
switchport mode access
!
interface FastEthernet0
no ip address
!
interface GigabitEthernet0/1
switchport access vlan 100
switchport mode access
speed 1000
duplex full
spanning-tree portfast
channel-protocol lacp
channel-group 1 mode active
!
interface GigabitEthernet0/2
switchport access vlan 100
switchport mode access
speed 1000
duplex …Run Code Online (Sandbox Code Playgroud)