Vlan, Bond, and Routing

xateayam

New Member
Oct 4, 2020
2
0
1
Hi,

I have a question related my environment.
I have a box of proxmox, switch and router.
I require my vm known on my network as a host.
I configured vlan, bond ethernet on my proxmox, but my vm unable to connect to gateway.
Here is my topology.
Motopod.JPG

And here is my /etc/network/interfaces configuration

Code:
auto lo
iface lo inet loopback

iface eno2 inet manual

auto eno1
iface eno1 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves eno3 eno4
        bond-miimon 100
        bond-mode balance-rr

auto bond0.100
iface bond0.100 inet manual

auto bond0.1
iface bond0.1 inet manual

auto bond0.10
iface bond0.10 inet manual

auto vmbr0
iface vmbr0 inet static
        address 10.21.4.10/24
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet static
        address 10.21.4.13/24
        bridge-ports bond0.1
        bridge-stp off
        bridge-fd 0

auto vmbr100
iface vmbr100 inet manual
        bridge-ports bond0.100
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto vmbr10
iface vmbr10 inet manual
        bridge-ports bond0.10
        bridge-stp off
        bridge-fd 0

auto vmbr2
iface vmbr2 inet static
        address 10.21.4.14/24
        gateway 10.21.4.254
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

Why all my VM's unable to connect to gateway?

Need your help please.
Thank you so much.
 
Last edited:
Hi,

you can't create VLANs and use VLAN aware. This does the same and this is not possible.
Also is you switch able to create a round-robin lagg? If not this setting will produce out of order packages.