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

Alexandre DERUMIER aderumier at odiso.com
Thu Mar 15 11:02:13 CET 2012


I have done some tcpdump, and I can confirm that vlan tags are only on eth0

my network
eth0--eth0.94--vmbr94
eth0--eth0.126--vmbr94
eth0--eth0.93--vmbr93
eth0--eth0.95--vmbr95

tcpdump -s0 -e -n -i eth0|grep 802.1Q

10:54:24.262659 00:1a:a0:3b:16:84 > 00:08:7c:bd:ae:40, ethertype 802.1Q (0x8100), length 70: vlan 94, p 0, ethertype IPv4, 10.3.94.14.22 > 192.168.27.22.48738: Flags [.], ack 49, win 213, options [nop,nop,TS val 605117091 ecr 37667053], length 0
10:54:24.270233 00:21:1c:34:85:09 > 01:00:0c:cc:cc:cd, ethertype 802.1Q (0x8100), length 68: vlan 126, p 7, LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid PVST (0x010b): STP 802.1d, Config, Flags [none], bridge-id 807e.00:21:1c:34:85:00.8009, length 42
10:54:24.271597 00:21:1c:34:85:09 > 01:00:0c:cc:cc:cd, ethertype 802.1Q (0x8100), length 68: vlan 93, p 7, LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid PVST (0x010b): STP 802.1d, Config, Flags [none], bridge-id 805d.00:21:1c:34:85:00.8009, length 42
10:54:24.273765 00:21:1c:34:85:09 > 01:00:0c:cc:cc:cd, ethertype 802.1Q (0x8100), length 68: vlan 95, p 7, LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid PVST (0x010b): STP 802.1d, Config, Flags [none], bridge-id 805f.00:21:1c:34:85:00.8009, length 42

#tcpdump -s0 -e -n -i eth0.94|grep 802.1Q
nothing

#tcpdump -s0 -e -n -i eth0.126|grep 802.1Q
nothing

#tcpdump -s0 -e -n -i eth0.93|grep 802.1Q
nothing

#tcpdump -s0 -e -n -i eth0.95|grep 802.1Q
nothing

#tcpdump -s0 -e -n -i vmbr94|grep 802.1Q
nothing

#tcpdump -s0 -e -n -i vmbr126|grep 802.1Q
nothing

#tcpdump -s0 -e -n -i vmbr93|grep 802.1Q
nothing

#tcpdump -s0 -e -n -i vmbr126|grep 802.1Q
nothing



But indeed, you can't mix eth0 and eth.X on the same bridge:

eth0--eth0.94--vmbr94
eth0--vmbr94

as packets are not tagged inside vmbr94, packets will loops between eth0 and eth0.94


----- 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 10:38:59 
Objet: RE: new idea for vlan (with example) 

> Are you sure ? 
> 
> eth0--vmbr0 
> 
> eth0.1--vmbr0v1 
> 
> that 2 independant bridge, 
> vlan tagging/untagging is done at the output/input of eth0.1, so I don't think 
> they are vlan tags inside the bridge vmbr0v1 

I am not sure, but I see many problem reports when mixing tagged/untagged interfaces. 

- 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