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

Guillaume proxmox at shadowprojects.org
Wed Apr 5 12:05:16 CEST 2017


Here is what i added in my proxmox interfaces file :

auto vmbr210
iface vmbr210 inet manual
         bridge_ports eth1.10
         bridge_stp off
         bridge_fd 0
         bridge_vlan_aware yes

Then, i have a eth110/net2 interface on vmbr210 in my lxc container with 
this :

auto eth110
iface eth110 inet static
         address 10.0.0.102
         netmask 255.255.255.0

ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
 From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
 From 10.0.0.1 icmp_seq=2 Destination Host Unreachable


10.0.0.1 through 5 are 5 physical ubuntu servers with have the same vlan 
(inside the vrack) and use the vlan without any issue.
So there is still something missing on proxmox side.

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.
>
>
> 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