* [Bridge] Regarding default vlan
@ 2009-11-20 3:38 sunil saraff
2009-11-20 5:43 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: sunil saraff @ 2009-11-20 3:38 UTC (permalink / raw)
To: bridge
[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]
Hello,
I have two vlan’s configured on my switch port i.e 246 & 247. 247 is a tagged vlan and 246 is the untagged vlan(native vlan).When I create a virtual vlan interface with tagged vlan 247 using vconfig(eth0.247) it works fine. If I create a virtual vlan interface with untagged vlan 246 using vconfig(eth0.246) I see a different behaviour.
My configuration
Ifconfig eth0 0.0.0.0 up
Vconfig add eth0 246
Ifconfig eth0.246 192.168.246.3 netmask 255.255.255.0 up
Route add default gw 192.168.246.1
The packet that goes out from the linux box is tagged with 246 vlan but the replies are untagged(as it is the native vlan). So these untagged packets are not accepted by linux box. So, can you suggest me a way in which I can configure my linux box so that the untagged packets for default vlan are accepted?Can bridging be done on eth0(untagged interface) and eth0.246(tagged interface)?
Thanks,
Sunil
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
[-- Attachment #2: Type: text/html, Size: 3420 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Bridge] Regarding default vlan
2009-11-20 3:38 [Bridge] Regarding default vlan sunil saraff
@ 2009-11-20 5:43 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2009-11-20 5:43 UTC (permalink / raw)
To: sunil saraff; +Cc: bridge
On Fri, 20 Nov 2009 09:08:38 +0530 (IST)
sunil saraff <sunil_007_xxx@yahoo.co.in> wrote:
>
> Hello,
>
> I have two vlan’s configured on my switch port i.e 246 & 247. 247 is a tagged vlan and 246 is the untagged vlan(native vlan).When I create a virtual vlan interface with tagged vlan 247 using vconfig(eth0.247) it works fine. If I create a virtual vlan interface with untagged vlan 246 using vconfig(eth0.246) I see a different behaviour.
>
> My configuration
>
> Ifconfig eth0 0.0.0.0 up
> Vconfig add eth0 246
> Ifconfig eth0.246 192.168.246.3 netmask 255.255.255.0 up
> Route add default gw 192.168.246.1
>
>
> The packet that goes out from the linux box is tagged with 246 vlan but the replies are untagged(as it is the native vlan). So these untagged packets are not accepted by linux box. So, can you suggest me a way in which I can configure my linux box so that the untagged packets for default vlan are accepted?Can bridging be done on eth0(untagged interface) and eth0.246(tagged interface)?
>
> Thanks,
> Sunil
This is not a bridging question, it is a vlan question.
So post it to linux-net@vger.kernel.org
I don't see 247 anywhere in your config?
P.s: the ifconfig/vconfig/route commands are old. Use ip command instead.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-20 5:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-20 3:38 [Bridge] Regarding default vlan sunil saraff
2009-11-20 5:43 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox