[PVE-User] [Extern] - Re: Mapping of VLAN tags to Linux bridges: Is that possible?

Frank Thommen f.thommen at dkfz-heidelberg.de
Mon Jul 22 21:27:28 CEST 2024


Hi Bastian,

maybe I am missing the point: Where is the VLAN tag in your example? Is 
it encapsulated in the bond name "bond0.90' being for VLAN 90?

Frank


On 22.07.24 21:18, Bastian Sebode via pve-user wrote:
> Hello Frank,
> 
> you can achieve that with normal Linux networking already, without the 
> need of SDN.
> 
> Over the Network Tab of the Hosts GUI (interface names are examples):
> 
> - Create the Bond/LAG/Port Channel/Trunk on the switch, put the needed 
> VLANs tagged on it
> - Create a "Linux Bond" `bond0` with the host interfaces `ens18 ens19`, 
> preferably with LACP on Host and Switch. No IP address necessary
> - Create a "Linux VLAN" `bond0.90` with the "vlan raw device" `bond0`. 
> No IP address necessary
> - Create a "Linux Bridge" `vmbr90` with the slave interface `bond0.90`. 
> No IP address necessary, only if you want to manage the server over it
> - Attach the VMs to the VLAN bridge
> - Repeat for every VLAN you need
> 
> There is also the possibility to have the VLAN Tags on the Linux bridge, 
> but I would always prefer the mentioned above.
> 
> Hope this helps and others can confirm that the are using such a setup.
> 
> Peace
> Bastian



More information about the pve-user mailing list