我在 Debian 8.5 上配置了 ifenslave LACP。两个端口连接到 Cisco SLM2024 交换机。如果我断开 1 个链接,一切正常,另一个链接正常工作。但是当我重新连接第一个链接时,我无法 ping 服务器,网络不工作。当我给出ifdown bond0和ifup bond0,网络又能正常工作了。正常吗?如果不正常,解决办法是什么?
在 /etc/网络/接口:
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
address 192.168.1.8
gateway 192.168.1.254
netmask 255.255.255.0
dns-nameservers 192.168.1.254 8.8.8.8
bond-mode 4
bond-miimon 100
bond-lacp-rate 1
bond-slaves eth0 eth1
/etc/modprobe.d/bonding.conf
alias bond0 bonding
options bonding mode=4 miimon=100 lacp_rate=1
猫/ proc / net / bonding / bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
Aggregator ID: 7
Number of ports: 1
Actor Key: 17
Partner Key: 1
Partner Mac Address: 00:00:00:00:00:00
Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 1c:98:ec:0e:4a:ac
Aggregator ID: 7
Slave queue ID: 0
Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 1c:98:ec:0e:4a:ad
Aggregator ID: 8
Slave queue ID: 0