[pve-devel] [PATCH docs] add VLAN explanation.
Alexandre DERUMIER
aderumier at odiso.com
Tue Nov 21 06:44:45 CET 2017
>>but the configuration will also brake if you use it in combination with VLan awareness.
yes, for vlan awareness, I'm using this kind of setup
auto vmbr0
iface vmbr0 inet manual
auto vmbr0.5
iface vmbr0.5 inet static
address 10.10.10.2
netmask 255.255.255.0
gateway 10.10.10.1
(It's create some kind of internal bridge tagged interface).
----- Mail original -----
De: "Wolfgang Link" <w.link at proxmox.com>
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 20 Novembre 2017 13:47:23
Objet: Re: [pve-devel] [PATCH docs] add VLAN explanation.
Hi Alexandre,
I will wirte the doku like you suggest, but the configuration will also brake if you use it in combination with VLan awareness.
I will make a node in the Doku to warn about this behavior.
> Alexandre DERUMIER <aderumier at odiso.com> hat am 16. November 2017 um 17:38 geschrieben:
>
>
> Hi,
>
> About
>
> > +
> > +auto bond0.5
> > +iface bond0.5 inet static
> > + address 10.10.10.2
> > + netmask 255.255.255.0
> > + gateway 10.10.10.1
>
>
> if user try to use vlan5 for his vm,
>
> we'll create a vmbrXv5, and enslave bond0.5.
>
> but this break network, because ip configuration can't be on the bond0.5 anymore, but must be on the vmbr0v5.
>
> don't known if we should add some security in the code to avoid reuse vlan5 for vms, or explain in doc that it should be like:
>
>
> auto bond0.5
> iface bond0.5 inet manual
>
>
> auto vmbr0v5
> iface vmbr0v5 inet static
> address 10.10.10.2
> netmask 255.255.255.0
> gateway 10.10.10.1
> slaves bond0.5
More information about the pve-devel
mailing list