在运行 22.04 的 HP 服务器中尝试绑定两个网卡时遇到问题。
我正在使用以下 netplan 配置文件和与 LACP 绑定的思科交换机上的两个端口,当 bond0 启动时,思科交换机上的端口将处于暂停状态。
network:
version: 2
renderer: networkd
ethernets:
eno1:
dhcp4: false
eno2:
dhcp4: false
eno3:
dhcp4: false
addresses:
- 172.18.16.1/24
nameservers:
addresses: [172.18.10.250, 172.18.10.251]
routes:
- to: default
via: 172.18.16.254
eno4:
dhcp4: true
eno49:
dhcp4: true
eno50:
dhcp4: true
ens3f0:
dhcp4: true
ens3f1:
dhcp4: true
ens3f2:
dhcp4: true
ens3f3:
dhcp4: true
bonds:
bond0:
interfaces:
- eno1
- eno2
addresses: [172.18.16.17/24]
nameservers:
addresses: [172.18.10.250, 172.18.10.251]
routes:
- to: default
via: 172.18.16.254
parameters:
mode: 802.3ad
mii-monitor-interval: 1