[PVE-User] VLAN between LXC containers on differents proxmox 4

Alessandro Briosi ab1 at metalit.com
Wed Apr 5 12:39:46 CEST 2017

Il 05/04/2017 12:07, Guillaume ha scritto:
> Le 05/04/2017 à 11:49, Alessandro Briosi a écrit :
>> Il 05/04/2017 11:19, Guillaume ha scritto:
>>> Le 05/04/2017 à 11:01, Guillaume a écrit :
>>>> Le 04/04/2017 à 23:28, Michael Rasmussen a écrit :
>>>>> On Tue, 4 Apr 2017 22:48:54 +0200
>>>>> Guillaume <proxmox at shadowprojects.org> wrote:
>>>>>> The vrack system already took care of that, that's why i didn't
>>>>>> speak about that part at all on my initial email.
>>>>> Ok. The next thing is that I do not think it is possible to configure
>>>>> vlans inside of a LXC you need to configure the bridge on the proxmox
>>>>> node to handle the vlan stuff.
>>>>> This is a working example from my installation:
>>>>> Proxmox:
>>>>> auto vmbr1000
>>>>> iface vmbr1000 inet manual
>>>>>           bridge_ports bond0.1000
>>>>>           bridge_stp off
>>>>>           bridge_fd 0
>>>>> LXC:
>>>>> net0:
>>>>> name=eth0,bridge=vmbr1000,hwaddr=3A:66:32:39:38:65,ip=dhcp,type=veth
>>>> You can configure vlan inside lxc since i did it (using the web
>>>> interface or interfaces file), but i am indeed missing a bridge in
>>>> the same vlan on proxmox side.
>>> Of course, if i follow your advice and do it on proxmox side, there is
>>> no need to do it on the container side.
>> I think it's simply a matter of setting the VLAN tag in the eth
>> configuration on the Proxmox GUI.
> With Proxmox GUI, you can only assign vlan tag on lxc interfaces, not
> on proxmox network.
> And doing it only on lxc side (assigned to a proxmox bridge vlan
> aware) doesn't work.
> I am not using bonding so I can't use Michael's working example out of
> the box.

oh, and I would also consider using OVS:

Buon lavoro.
/Alessandro Briosi/
*METAL.it Nord S.r.l.*
Via Maioliche 57/C - 38068 Rovereto (TN)
Tel.+39.0464.430130 - Fax +39.0464.437393


More information about the pve-user mailing list