[pve-devel] new idea for vlan (with example)

Alexandre DERUMIER aderumier at odiso.com
Thu Mar 15 18:22:25 CET 2012


could be done easily with

# brtcl addbr vmbr0v2
# vconfig add bond0 2
# echo +eth0 > /sys/class/net/bond0.2/bonding/slaves
# echo +eth1 > /sys/class/net/bond0.2/bonding/slaves
# brtcl addif vmbr0v2 bond0.2


or without bonding

# brtcl addbr vmbr0v2
# vconfig add eth0 2
# brtcl addif vmbr0v2 eth0.2


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

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Dietmar Maurer" <dietmar at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 15 Mars 2012 17:53:15 
Objet: Re: [pve-devel] new idea for vlan (with example) 

eth0- 
|bond.X ---brige 
eth1- 

so 1 new bond and 1 new bridge. 

(more cleaner indeed) 

in my schema: 

eth0-- 
|--bond0.2----vmbr0v2----tap 
eth1-- 


----- 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 17:36:34 
Objet: RE: [pve-devel] new idea for vlan (with example) 

So that is 2 new device per vlan (bridge, bond or eth)? 

- Dietmar 

> -----Original Message----- 
> From: Alexandre DERUMIER [mailto:aderumier at odiso.com] 
> Sent: Donnerstag, 15. März 2012 17:21 
> To: Dietmar Maurer 
> Cc: pve-devel at pve.proxmox.com 
> Subject: Re: [pve-devel] new idea for vlan (with example) 
> 
> note that redhat seem to use vlan over bridge now 
> 
> http://www.ovirt.org/wiki/Vdsm_Network 
> 
> bridge --- v --- bond --- nic1 
> / \ 
> bridge2 --- v2 -- -- nic2 
> 
> 
> So maybe it's stable now with redhat kernel ? 
> 
> (last time I had tested it with debian 2.6.32 kernel) 
> 
> 
> 
> ----- Mail original ----- 
> 
> De: "Alexandre DERUMIER" <aderumier at odiso.com> 
> À: "Dietmar Maurer" <dietmar at proxmox.com> 
> Cc: pve-devel at pve.proxmox.com 
> Envoyé: Jeudi 15 Mars 2012 17:01:42 
> Objet: Re: [pve-devel] new idea for vlan (with example) 
> 
> yes... 
> 
> eth0.x,eth1.x,bond,bridge 
> 
> 
> (that's how i do my proxmox hosts, with 100 vlans, you could imagine how huge 
> is my /etc/network/interfaces ;) 
> 
> 
> ----- 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 16:46:23 
> Objet: RE: new idea for vlan (with example) 
> 
> > >>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) 
> 
> So with a simple bond setup (bond with 2 devices), we need to create 
> 4 additional network devices for each vlan? 
> 
> - 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 
> 
> 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
> 
> 
> 
> -- 
> 
> -- 
> 
> 
> 
> 
> 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 
> 



-- 

-- 




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 

_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



-- 

-- 




	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