I have a vlan-aware birgde like so:
I'm able to setup containers with VLAN tags:
What I'd like is to setup a container or VM that spans multiple VLANs. So I've setup a container with a single network like so:
However I cannot ping between the two containers.
I've checked and I can do the following:
My guess is that the VM might be seeing all the traffic, but it's not tagging the ping repsonses with the correct VLAN. Is there some way to verify this? Is there some trick to vlan-tag traffic with the same tag that it had on ingress? If not I'm guessing I'd need to setup a fairly complex set of rules within my VM to tag the traffic correctly?
Code:
auto vmbr1
iface vmbr1 inet static
address 192.168.3.0/24
bridge-ports none
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-101
I'm able to setup containers with VLAN tags:
What I'd like is to setup a container or VM that spans multiple VLANs. So I've setup a container with a single network like so:
However I cannot ping between the two containers.
I've checked and I can do the following:
- I can ping between containers with the same VLAN tag
- I can ping between containers that have no VLAN tag
My guess is that the VM might be seeing all the traffic, but it's not tagging the ping repsonses with the correct VLAN. Is there some way to verify this? Is there some trick to vlan-tag traffic with the same tag that it had on ingress? If not I'm guessing I'd need to setup a fairly complex set of rules within my VM to tag the traffic correctly?