[pve-devel] new idea for vlan (with example)
Alexandre DERUMIER
aderumier at odiso.com
Thu Mar 15 11:26:49 CET 2012
>>Can't you tag the whole bond? Seems clumsy to tag all bond members.
Yes is possible, but from my experience sometimes it's buggy (packets loss, hang,...), depend on kernel version...
(I know a lot of rework as be done between kernel 2.6.38 and 3.1)
some bug reports:
https://bugzilla.redhat.com/show_bug.cgi?id=623199
http://forum.proxmox.com/threads/5476-Proxmox-Network-configuration-for-bonded-nics-using-LACP-and-also-including-VLANs-for
Also tagging on eth.X can be done by the ethernet hardware if card support it (so performance is better)
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre DERUMIER" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
Envoyé: Jeudi 15 Mars 2012 11:08:55
Objet: RE: new idea for vlan (with example)
> if($interface = bond) {
> create_bond($bond.'v'.$vlan)
> interfaces=find_interfaces_in_bond($interface)
> foreach interface{
> add_vlan_to_interface ("vconfig add interface $vlan" #(eth0->eth0.X ,eth0-
> > eth1.x ))
> add_interface_to $bond.'v'.$vlan
> }
Can't you tag the whole bond? Seems clumsy to tag all bond members.
- Dietmar
--
--
Alexandre D erumier
Ingénieur Système
Fixe : 03 20 68 88 90
Fax : 03 20 68 90 81
45 Bvd du Général Leclerc 59100 Roubaix - France
12 rue Marivaux 75002 Paris - France
More information about the pve-devel
mailing list