LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-17-2008, 06:55 AM   #1
Satya Vani
LQ Newbie
 
Registered: Mar 2008
Posts: 4

Rep: Reputation: 0
vlan configuration


Hello,

I would like to receive tagged and untagged packets from a port .I have to send all untagged packets with vlanid 20 and tagged packets through the same vlan 10, So I wanted to configure my system in the below fashion.

ifconfig eth0 0.0.0.0 up
ifconfig eth1 0.0.0.0 up
vconfig add eth0 10
ifconfig eth0.10 up
vconfig add eth1 10
ifconfig eth1.10 up
vconfig add eth1 20
ifconfig eth1.20 up


brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1.20
ifconfig br0 up

brctl addbr br1
brctl addbr br1 eth0.10
brctl addbr br1 eth1.10
ifconfig br1 up.

But when I do the configuration like this, all the tagged packets (with vlan10 are going through the bridge br0.

Please help me in configuring the bridges with vlans.

Thanks
Vani.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VLAN configuration Satya Vani Linux - Software 1 03-18-2008 04:21 AM
VLAN configuration - native VLAN and setting PVID kumarwaiting Linux - Networking 0 07-24-2006 02:51 AM
Vlan >G< Linux - Networking 3 06-29-2006 12:03 AM
vlan praveenchebolu Linux - Networking 1 03-25-2006 03:41 AM
Vlan Markvw Linux - Networking 1 09-29-2003 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration