Bridge can ping, vlan can ping, container cannot

sadpanda

Active Member
Jul 7, 2020
7
0
41
46
Beating my head against the wall for something that should just work.

Create new linuxBridge on second NIC (vmbr1) click vlan aware, add allowed vlan(s), give it an ip address. Can ping from from router.
assign this bridge to LXC, DHCP and vlan tag, cant ping. Assign w/DHCP, w/o vlan tag, cant ping. Assing with static IP/gateway, cant ping with or w/o vlan tag. Remove IP from bridge, cant ping in any of the above conditions

Create new linuxVLAN, give it an ip address and vlan tag. Can ping that ip from router and can ping it with or w/o ip address applied to vmbr0 bridge AND I can ping it from the LXC! Cant ping router on lxc, cant ping router to LXC, cant select vmbr1.20 vlan as network option for lxc.


My switch is registering the MAC addresses when I apply IP addresses to bridge/vlan and even the lxc so I'm thinking something between lxc and bridge... but firewall is disabled on all interfaces.