This is an install from scratch on two nodes. I can reprodice the issue, multiple times.
If I query the interface vmbr0.4064 I see the protocol is set to 802.1Q rather than 802.1AD (see 3rd line "vlan protocol 802.1Q id 4064 <REORDER_HDR>")
If I create manually the interface
it gets the correct protocol
Any advice?
Thanks,
Alex
Code:
root@pve02:~# cat /etc/pve/sdn/zones.cfg
qinq: q4064
bridge vmbr0
tag 4064
ipam pve
vlan-protocol 802.1ad
root@pve02:~# cat /etc/pve/sdn/vnets.cfg
vnet: v4064
zone q4064
root@pve02:~# brctl show
bridge name bridge id STP enabled interfaces
v4064 8000.f643b0682394 no pr_q4064
vmbr0 8000.901b0efa7138 no enp1s0
tap100i0
z_q4064 8000.901b0efa7138 no ln_q4064
vmbr0.4064
root@pve02:~# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 90:1b:0e:fa:71:38 brd ff:ff:ff:ff:ff:ff
3: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 90:1b:0e:fa:71:38 brd ff:ff:ff:ff:ff:ff
14: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 3e:e5:68:fe:26:98 brd ff:ff:ff:ff:ff:ff
15: ln_q4064@pr_q4064: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master z_q4064 state UP mode DEFAULT group default qlen 1000
link/ether ea:18:a6:36:45:d1 brd ff:ff:ff:ff:ff:ff
16: pr_q4064@ln_q4064: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master v4064 state UP mode DEFAULT group default qlen 1000
link/ether f6:43:b0:68:23:94 brd ff:ff:ff:ff:ff:ff
17: v4064: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether f6:43:b0:68:23:94 brd ff:ff:ff:ff:ff:ff
18: vmbr0.4064@vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master z_q4064 state UP mode DEFAULT group default qlen 1000
link/ether 90:1b:0e:fa:71:38 brd ff:ff:ff:ff:ff:ff
19: z_q4064: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 90:1b:0e:fa:71:38 brd ff:ff:ff:ff:ff:ff
If I query the interface vmbr0.4064 I see the protocol is set to 802.1Q rather than 802.1AD (see 3rd line "vlan protocol 802.1Q id 4064 <REORDER_HDR>")
Code:
root@pve02:~# ip -details link show dev vmbr0.4064
18: vmbr0.4064@vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master z_q4064 state UP mode DEFAULT group default qlen 1000
link/ether 90:1b:0e:fa:71:38 brd ff:ff:ff:ff:ff:ff promiscuity 1 minmtu 0 maxmtu 65535
vlan protocol 802.1Q id 4064 <REORDER_HDR>
bridge_slave state forwarding priority 32 cost 100 hairpin off guard off root_block off fastleave off learning on flood on port_id 0x8001 port_no 0x1 designated_port 32769 designated_cost 0 designated_bridge 8000.90:1b:e:fa:71:38 designated_root 8000.90:1b:e:fa:71:38 hold_timer 0.00 message_age_timer 0.00 forward_delay_timer 0.00 topology_change_ack 0 config_pending 0 proxy_arp off proxy_arp_wifi off mcast_router 1 mcast_fast_leave off mcast_flood on mcast_to_unicast off neigh_suppress off group_fwd_mask 0 group_fwd_mask_str 0x0 vlan_tunnel off isolated off addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 64000 gso_max_segs 64
If I create manually the interface
Code:
ip link add link vmbr0 name vmbr0.4065 type vlan protocol 802.1ad id 4065
it gets the correct protocol
Code:
root@pve02:~# ip -details link show dev vmbr0.4065
21: vmbr0.4065@vmbr0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 90:1b:0e:fa:71:38 brd ff:ff:ff:ff:ff:ff promiscuity 0 minmtu 0 maxmtu 65535
vlan protocol 802.1ad id 4065 <REORDER_HDR> addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 64000 gso_max_segs 64
Any advice?
Thanks,
Alex
Last edited: