[pve-devel] using a vlan on host and guest

Alexandre DERUMIER aderumier at odiso.com
Fri Apr 25 07:48:16 CEST 2014


>>Already tried this but at least with a 3.10 kernel it does not work. I 
>>then simply can't reach the target network. As the 102 tagged packages 
>>gets dropped at the bond.

Yes, it's a known bug. 

Seem than tagging on interface override tags coming from the vms.


I have found a working solution (for 3.10 kernel) with using tagged veth interface (see my other discussion about firewall-network model),

I'll send patch todays for test

----- Mail original ----- 

De: "Stefan Priebe" <s.priebe at profihost.ag> 
À: "Pablo Ruiz" <pablo.ruiz at gmail.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 24 Avril 2014 22:07:17 
Objet: Re: [pve-devel] using a vlan on host and guest 

Am 24.04.2014 22:04, schrieb Pablo Ruiz: 
> Setup vmbr0.102 as host interface instead of bond0.102. 

Already tried this but at least with a 3.10 kernel it does not work. I 
then simply can't reach the target network. As the 102 tagged packages 
gets dropped at the bond. 

Stefan 

> Sent from my iPhone 
> 
>> On 24 Apr 2014, at 21:59, Stefan Priebe <s.priebe at profihost.ag> wrote: 
>> 
>> Hi, 
>> 
>> I've the following config on my host: 
>> auto bond0 
>> iface bond0 inet manual 
>> slaves eth0 eth1 eth2 
>> bond_mode 802.3ad 
>> 
>> auto vmbr0 
>> iface vmbr0 inet manual 
>> bridge_ports bond0 
>> bridge_stp off 
>> bridge_fd 0 
>> 
>> auto bond0.102 
>> iface bond0.102 inet static 
>> address 10.255.255.10 
>> netmask 255.255.255.0 
>> gateway 10.255.255.1 
>> 
>> this works fine as long as i start no vm which has vlan 102 too. 
>> 
>> Is this a bug in the PVE network code or my fault? 
>> 
>> Greets, 
>> Stefan 
>> _______________________________________________ 
>> pve-devel mailing list 
>> pve-devel at pve.proxmox.com 
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list