Hello,
I have configured an OVS bond+bridge with 2 ports belonging to the bond.
Here's the relevant configuration in /etc/network/interfaces:
Here's the output of several
What is causing this problem?
THX
I have configured an OVS bond+bridge with 2 ports belonging to the bond.
Here's the relevant configuration in /etc/network/interfaces:
Code:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto eno1
allow-vmbr0 eno1
##eno1
auto enp4s0f3
allow-vmbr0 enp4s0f3
##enp4s0f3
auto bond0
iface bond0 inet manual
ovs_type OVSBond
ovs_bridge vmbr0
ovs_bonds eno1 enp4s0f3
ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast
ovs_mtu 1500
##bond0
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan20 vlan30
ovs_mtu 1500
address 192.168.1.11
netmask 255.255.255.0
##vmbr0
auto vlan20
iface vlan20 inet static
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=20
ovs_mtu 1500
address 192.168.2.11
netmask 255.255.255.0
##PVEGST
auto vlan30
iface vlan30 inet static
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=30
ovs_mtu 1500
address 192.168.3.11
netmask 255.255.255.0
##PVEMGRT
Here's the output of several
ovs-vsctl
commands that show the configuration and that the bond ports are down:
Code:
$ sudo ovs-vsctl show
2c343626-31d7-4ade-800f-6e157287dcec
Bridge vmbr0
Port bond0
Interface eno1
Interface enp4s0f3
Port vlan30
tag: 30
Interface vlan30
type: internal
Port vlan20
tag: 20
Interface vlan20
type: internal
Port vmbr0
Interface vmbr0
type: internal
ovs_version: "2.15.0"
$ sudo ovs-appctl bond/show bond0
---- bond0 ----
bond_mode: balance-tcp
bond may use recirculation: yes, Recirc-ID : 1
bond-hash-basis: 0
lb_output action: disabled, bond-id: -1
updelay: 0 ms
downdelay: 0 ms
next rebalance: 2584 ms
lacp_status: configured
lacp_fallback_ab: false
active-backup primary: <none>
active member mac: 00:00:00:00:00:00(none)
member eno1: disabled
may_enable: false
member enp4s0f3: disabled
may_enable: false
$ sudo ovs-appctl lacp/show bond0
---- bond0 ----
status: active
sys_id: 4c:52:62:bc:97:7a
sys_priority: 65534
aggregation key: 1
lacp_time: fast
member: eno1: defaulted detached
port_id: 1
port_priority: 65535
may_enable: false
actor sys_id: 4c:52:62:bc:97:7a
actor sys_priority: 65534
actor port_id: 1
actor port_priority: 65535
actor key: 1
actor state: activity timeout aggregation collecting distributing defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
member: enp4s0f3: defaulted detached
port_id: 2
port_priority: 65535
may_enable: false
actor sys_id: 4c:52:62:bc:97:7a
actor sys_priority: 65534
actor port_id: 2
actor port_priority: 65535
actor key: 1
actor state: activity timeout aggregation collecting distributing defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
What is causing this problem?
THX