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

Guillaume proxmox at shadowprojects.org
Wed Apr 5 12:07:09 CEST 2017



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.
>
>
> Alessandro
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user




More information about the pve-user mailing list