ProxMox version: 7.3-3
I created a bond0 device with 4 interfaces
I created a 802.1ad vlan interface with VLAN ID=101
I then created a bridge with that 802.1ad vlan interface as a slave
I verified that the protocol for the vmbr0101 and i802ad_0101 is 0x88a8.
Indeed vmbr0101 is the master for i802ad_0101
In /etc/network/interfaces I also source all the files in the interfaces.d directory
I then created a Debian machine with just one interface (no VLAN interface), just a plain ethernet interface (ens18 fyi) and launched
.
If on the ProxMox host I capture on bond0 I do see the DHCP DISCOVER frames, but they are encapsulated in 802.1q tag (0x8100) instead of 0x88a8.
I guessed the 802.1ad syntax for the interface i8021ad_0101 and bond0 (I'm not sure if such statements are necessary)
If I modify /etc/network/interfaces by hand and I relod all the interfaces "ifrelaod -a -d" I don't see any error messages or any options of unsupported statements in that file.
Where am I wrong?
Moreover where can I find the right sintax for the file /etc/network/interfaces with all the options possibles?
I found
https://pve.proxmox.com/pve-docs/chapter-pvesdn.html#pvesdn_setup_example_qinq
but despite the explanation I do not understand where to create the zones and also I don't see any option on the GUI though the documentation says that it should be doable from there.
Do I have to install plugins? Where do I get them? My host ProxMox doesn't have access to the Internet.
TIA
Alex
I created a bond0 device with 4 interfaces
Bash:
auto enp6s0f0
iface enp6s0f0 inet manual
auto enp6s0f1
iface enp6s0f1 inet manual
auto enp7s0f0
iface enp7s0f0 inet manual
auto enp7s0f1
iface enp7s0f1 inet manual
auto bond0
iface bond0 inet manual
bond-slaves enp6s0f0 enp6s0f1 enp7s0f0 enp7s0f1
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer3+4
mtu 9000
vlan-protocol 802.1ad
vlan-aware yes
vlan-vids 2-4094
I created a 802.1ad vlan interface with VLAN ID=101
Bash:
auto i8021ad_0101
iface i8021ad_0101 inet manual
mtu 9000
vlan-id 101
proto 802.1ad
vlan-raw-device bond0
I then created a bridge with that 802.1ad vlan interface as a slave
Bash:
auto vmbr0101
iface vmbr0101 inet manual
bridge-ports i8021ad_0101
bridge-stp off
bridge-fd 0
mtu 9000
bridge-vlan-protocol 802.1ad
I verified that the protocol for the vmbr0101 and i802ad_0101 is 0x88a8.
Indeed vmbr0101 is the master for i802ad_0101
Bash:
root@pve:~# cat /sys/class/net/vmbr0101/bridge/vlan_protocol
0x88a8
root@pve:~# cat /sys/class/net/i8021ad_0101/master/bridge/vlan_protocol
0x88a8
root@pve:~# ip link show dev i8021ad_0101
10: i8021ad_0101@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue master vmbr0101 state UP mode DEFAULT group default qlen 1000
link/ether 00:1c:c4:47:63:31 brd ff:ff:ff:ff:ff:ff
In /etc/network/interfaces I also source all the files in the interfaces.d directory
Bash:
source /etc/network/interfaces.d/*
I then created a Debian machine with just one interface (no VLAN interface), just a plain ethernet interface (ens18 fyi) and launched
Bash:
dhclient -d ens18
If on the ProxMox host I capture on bond0 I do see the DHCP DISCOVER frames, but they are encapsulated in 802.1q tag (0x8100) instead of 0x88a8.
I guessed the 802.1ad syntax for the interface i8021ad_0101 and bond0 (I'm not sure if such statements are necessary)
If I modify /etc/network/interfaces by hand and I relod all the interfaces "ifrelaod -a -d" I don't see any error messages or any options of unsupported statements in that file.
Where am I wrong?
Moreover where can I find the right sintax for the file /etc/network/interfaces with all the options possibles?
I found
https://pve.proxmox.com/pve-docs/chapter-pvesdn.html#pvesdn_setup_example_qinq
but despite the explanation I do not understand where to create the zones and also I don't see any option on the GUI though the documentation says that it should be doable from there.
Do I have to install plugins? Where do I get them? My host ProxMox doesn't have access to the Internet.
TIA
Alex
Last edited: