[VLAN] Simple Vlan configuration: Untagged Port Issue
megh ranade
megh at kenati.com
Mon Sep 11 02:02:50 PDT 2006
I have a SIMPLE configuration:
= Vlan5
- ports eth0 (Untagged), eth1 (tagged), eth2(untagged)
= Vlan6
- ports eth1 (tagged), eth2 (tagged)
Goal
------------
On port eth2, I want to send/receive tagged traffic for both Vlan5 & vlan6.
If a untagged frame is received on this port, I EXPECT that
the frame is classified as a Vlan5 frame.
I TRY to ACHIEVE this by the following cmds:
------------------------------------------------------
vconfig add eth0 5
vconfig add eth1 5
vconfig add eth2 5
vconfig add eth1 6
vconfig add eth2 6
// Bridge for Vlan5
brctl addbr br5
brctl addif br5 eth0.5
brctl addif br5 eth0 // eth0 is a UNTAGGED port of Vlan5
// hence add Whole interface eth0 to br5
brctl addif br5 eth1.5
brctl addif br5 eth2.5
brctl addif br5 eth2 // eth2 is a UnTAGGED port of Vlan5 &
// tagged port of Vlan6 (below)
//Bridge for Vlan6
brctl addbr br6
brctl addif eth1.6
brct addif eth2.6 //
ISSUES:
----------------------------------
For the tagged port (eth1), there is no problem in sending/receiving traffic
For the Untagged port(eth0), which is associated with ONLY one Vlan,
again there is No Problem
For the port (eth2), associated with Vlan5 (Untagged) & Vlan6 (tagged),
I have a problem in receiving traffic. For example, I am unable to
send any traffic that is tagged.
Am I doing the CORRECT thing as far as configuration of the
bridges is concerned? Do I need to add any OTHER configuration
(e.g. iptables)?
-- Megh Ranade
More information about the Vlan
mailing list