Environment: Cisco Switch & Dell Server, VLAN/Trunk, Bond/LACP
Setup:
Details:
Trying to expose Trunk to a VM so VLANs can be handled internally by the VM. Inside the VM, VLAN sub-interfaces have been created to handle individual VLANs. However, with this configuration there's is no network connectivity (i.e.: the VM is not able to connect to the host or the local subnet). For Testing/debugging purposes, a vmbr24 bridge was created that uses bond0.24 for the bridge port. When using Network Device attached to the vmbr24, the VM has network connectivity.
Observations:
-rsa
## /etc/network/interfaces
iface eno1 inet manual
iface eno2 inet manual
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto vmbr1
iface vmbr1 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
###
## TESTING-ONLY: vmbr24
auto vmbr24
iface vmbr24 inet manual
bridge-ports bond0.24
bridge-stp off
bridge-fd 0
Setup:
- Cisco switch configured for LACP & Trunk for two ports
- PVE interfaces file contents snip attached below configured for bond, trunk bridge & test bridge
- VM with vmbr1 Network Device (vmbr1 is using bond0 for bridge ports)
Details:
Trying to expose Trunk to a VM so VLANs can be handled internally by the VM. Inside the VM, VLAN sub-interfaces have been created to handle individual VLANs. However, with this configuration there's is no network connectivity (i.e.: the VM is not able to connect to the host or the local subnet). For Testing/debugging purposes, a vmbr24 bridge was created that uses bond0.24 for the bridge port. When using Network Device attached to the vmbr24, the VM has network connectivity.
Observations:
- Since vmbr24 (testing bridge has network connectivity), the LACP/bond configuration is operational between the Cisco switch & the PVE host
- VM that has Network Device configured that uses vmbr24, has network connectivity (PVE host is handling the VLAN)
-rsa
## /etc/network/interfaces
iface eno1 inet manual
iface eno2 inet manual
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto vmbr1
iface vmbr1 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
###
## TESTING-ONLY: vmbr24
auto vmbr24
iface vmbr24 inet manual
bridge-ports bond0.24
bridge-stp off
bridge-fd 0