VLAN trunk, LACP and management interface problem

pablopajero

New Member
Dec 26, 2022
2
0
1
Hi everyone, merry christmas to you :)

I am currently rebuilding my server rack and also switched from XCP-ng to Proxmox. Right now I am trying to configure my new 10Gb setup with managed switches (Netgear) and Proxmox.

I have four VLANS (280-283), 280 is the management VLAN. This is also where the proxmox interface should be reachable. 281-283 will be used for other services.

The hypervisor is connected to the switch using two 10Gb RJ-45 ports with LACP, 281-283 as trunk (tagged) and 280 (untagged).

However no connectivity from proxmox to the network is possible right now. There are similar forum posts but I did not succeed implementing the provided answers. I don't know where the problem is exactly but I'll start with proxmox. Could you verify that my network config in pve should work?

interfaces:

auto lo iface lo inet loopback #onboard GbE1 iface eno1 inet manual #onboard GbE2 iface eno2 inet manual #10GbE RJ-45 1 iface enp40s0f0 inet manual #10GbE RJ-45 2 iface enp40s0f1 inet manual #Dual 10GbE LACP auto bond0 iface bond0 inet manual bond-slaves enp40s0f0 enp40s0f1 bond-miimon 100 bond-mode 4 bond-xmit-hash-policy layer2+3 bond-lacp-rate 0 bond-downdelay 200 bond-updelay 200 bond-min-links 1 mtu 1500 #Default bridge auto vmbr0 iface vmbr0 inet static bridge-ports bond0 bridge-stp off bridge-fd 0 #Honor VLAN tags: bridge-vlan-aware yes bridge-vids 1-4094 #Management Interface (VLAN 280) auto vmbr0.280 iface vmbr0.280 inet static address 172.28.0.101/24 gateway 172.28.0.1 dns-nameservers 172.28.0.1

Within my the netgear switch it states a connection, but still there's no connectivity. Just for a complete picture, this is how the switch is configured right now:


3.PNG
2.PNG
1.PNG
4.PNG
5.PNG
6.PNG
7.PNG
8.PNG


Happy for any advice :)

Thanks a lot!

Alex
 
The hypervisor is connected to the switch using two 10Gb RJ-45 ports with LACP, 281-283 as trunk (tagged) and 280 (untagged).

However no connectivity from proxmox to the network is possible right now. There are similar forum posts but I did not succeed implementing the provided answers. I don't know where the problem is exactly but I'll start with proxmox. Could you verify that my network config in pve should work?

interfaces:

auto lo iface lo inet loopback #onboard GbE1 iface eno1 inet manual #onboard GbE2 iface eno2 inet manual #10GbE RJ-45 1 iface enp40s0f0 inet manual #10GbE RJ-45 2 iface enp40s0f1 inet manual #Dual 10GbE LACP auto bond0 iface bond0 inet manual bond-slaves enp40s0f0 enp40s0f1 bond-miimon 100 bond-mode 4 bond-xmit-hash-policy layer2+3 bond-lacp-rate 0 bond-downdelay 200 bond-updelay 200 bond-min-links 1 mtu 1500 #Default bridge auto vmbr0 iface vmbr0 inet static bridge-ports bond0 bridge-stp off bridge-fd 0 #Honor VLAN tags: bridge-vlan-aware yes bridge-vids 1-4094 #Management Interface (VLAN 280) auto vmbr0.280 iface vmbr0.280 inet static address 172.28.0.101/24 gateway 172.28.0.1 dns-nameservers 172.28.0.1
When using that config you should set the VLAN 280-283 tagged and not 280 untagged. Your "vmbr0.280" will already tag the packets with VLANID 280, so they are tagged packets too. Otherwise that PVE network config looks fine.
 
Last edited:
  • Like
Reactions: vesalius
When using that config you should set the VLAN 280-283 tagged and not 280 untagged. Your "vmbr0.280" will already tag the packets with VLANID 280, so they are tagged packets too. Otherwise that PVE network config looks fine.
YES! That (changing the switch config to all tagged 280-283) did the trick! Thank you very much, it works! :) This is GREAT!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!