Regarding default vlan
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/
Quoted 17 lines · On Fri, 20 Nov 2009 09:08:38 +0530 (IST) sunil saraff…
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 [email protected]
I don't see 247 anywhere in your config?
P.s: the ifconfig/vconfig/route commands are old. Use ip command instead.