Hello guys, we're setting up new cluster so we took the chance to play with VE 8.0 and I've run into issue with network, short description - after setting up cluster networking works, after creating VM with iface with 802.1q tag on bridge - the networking on that bridge stop working..
Longer description:
relevant networking configuration:
auto ens3
iface ens3 inet manual
mtu 9028
pre-up /usr/sbin/ethtool -K ens3 gso off gro off tso off
pre-up /usr/sbin/ethtool -G ens3 rx 8192 tx 8192
auto ens3d1
iface ens3d1 inet manual
mtu 9028
pre-up /usr/sbin/ethtool -K ens3d1 gso off gro off tso off
pre-up /usr/sbin/ethtool -G ens3d1 rx 8192 tx 8192
auto eno49
iface eno49 inet manual
mtu 9028
post-up /usr/sbin/ethtool -K eno49 gso off gro off tso off
post-up /usr/sbin/ethtool -G eno49 rx 8192 tx 8192
auto eno49d1
iface eno49d1 inet manual
mtu 9028
post-up /usr/sbin/ethtool -K eno49d1 gso off gro off tso off
post-up /usr/sbin/ethtool -G eno49d1 rx 8192 tx 8192
auto vmbr0
iface vmbr0 inet static
bridge-ports ens3 ens3d1
bridge-stp on
bridge-fd 0
mtu 9028
auto vmbr1
iface vmbr1 inet static
bridge-ports eno49 eno49d1
bridge-stp on
bridge-fd 0
mtu 9028
auto vlan202
iface vlan202 inet static
address 192.168.202.190/24
gateway 192.168.202.1
vlan-raw-device vmbr0
mtu 1500
auto vlan910
iface vlan910 inet static
address 172.31.0.10/24
vlan-raw-device vmbr0
post-up ip ro add 172.16.0.0/12 via 172.31.0.1
post-up ip ro add 192.168.222.0/24 via 172.31.0.1
post-up ip ro add 192.168.248.0/24 via 172.31.0.1
mtu 9000
=> in this setup everything works OK and IP's routing works well..
Next step is creating new VM with networking as fillowing:
View attachment 51944
I end up with this setup:
root@skbasixhv01:~# ip add sh | grep -A 10 16:
16: tap805i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 9028 qdisc pfifo_fast master vmbr0v202 state UNKNOWN group default qlen 1000
link/ether 0a:f4:a6:e2:86:1b brd ff:ff:ff:ff:ff:ff
17: vmbr0v202: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9028 qdisc noqueue state UP group default qlen 1000
link/ether 66:c9:2c:76:9d:56 brd ff:ff:ff:ff:ff:ff
18: ens3.202@ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9028 qdisc noqueue master vmbr0v202 state UP group default qlen 1000
link/ether 50:65:f3:84:dd:b0 brd ff:ff:ff:ff:ff:ff
19: ens3d1.202@ens3d1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9028 qdisc noqueue master vmbr0v202 state UP group default qlen 1000
link/ether 50:65:f3:84:dd:b1 brd ff:ff:ff:ff:ff:ff
root@skbasixhv01:~# brctl show
bridge name bridge id STP enabled interfaces
vmbr0 8000.1a68e9c21344 yes ens3
ens3d1
vmbr0v202 8000.66c92c769d56 yes ens3.202
ens3d1.202
tap805i0
vmbr1 8000.4afcbb10f95d yes eno49
eno49d1
root@skbasixhv01:~#
PVE creates vlan subifaces on physical iface => then create bridge on top of that and => then add VM iface (tap805i0) into it, after this all networking in vlan 202 towards PVE doesn't work, but networking in vlan 202 within VM does work..
Any idea how to be able to configure it that I can communicate in that vlan in VM as well as on HV directly?
Thanks for ideas..
P.S. on PVE 7.4 such network setup works OK..