链路聚合问题 (LACP)

链路聚合问题 (LACP)

我在 Ubuntu 20.04 上运行 nextcloud 服务器,并设置了链路聚合。除非服务器正在使用中,否则它似乎无法正常工作。例如,如果我在服务器上运行速度测试,我可以在本地 ping 服务器,但是当我关闭服务器上的 Web 浏览器时,我甚至无法在本地 ping 服务器,或者有时是间歇性的。另一个问题是,当通过 SSH 连接到服务器时,它要么根本不起作用,要么工作时滞很大。

这是我的 /etc/network/interfaces:

auto enp1s0
iface enp1s0 inet manual
bond-master bond0

auto enp3s0
iface enp3s0 inet manual
bond-master bond0

auto bond0
iface bond0 inet static
    address 192.168.1.155
    gateway 192.168.1.1
    netmask 255.255.255.0
    dns-nameservers 1.1.1.1 1.0.0.1
    slaves enp1s0 enp3s0
    lacp-rate fast
    bond-mode 4
    bond-miimon 100
    bond-slaves none

这是 cat /proc/net/bonding/bond0

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

Peer Notification Delay (ms): 0

802.3ad info

LACP rate: slow

Min links: 0

Aggregator selection policy (ad_select): stable

Slave Interface: enp3s0

MII Status: up

Speed: 1000 Mbps

Duplex: full

Link Failure Count: 0

Permanent HW addr: <mac address here>

Slave queue ID: 0

Aggregator ID: 1

Actor Churn State: churned

Partner Churn State: churned

Actor Churned Count: 1

Partner Churned Count: 1

Slave Interface: enp1s0

MII Status: up

Speed: 1000 Mbps

Duplex: full

Link Failure Count: 0

Permanent HW addr: <mac address here>

Slave queue ID: 0

Aggregator ID: 2

Actor Churn State: none

Partner Churn State: churned

Actor Churned Count: 0

Partner Churned Count: 1

我很感激任何关于导致此行为的原因的见解或线索。谢谢!

相关内容