LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-24-2006, 02:51 AM   #1
kumarwaiting
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
VLAN configuration - native VLAN and setting PVID


I have a Linux box with 3 ethernet interfaces, eth0, eth1 and eth2.
Am planning to convert the box into a VLAN switch. Let eth1 and eth2 are configured for VLAN 1 and 2 respectively. Let eth0 be a trunk carrying both VLAN frames. Am going for the following configuration.

$vconfig add eth1 1
$vconfig add eth2 2
$
$vconfig add eth0 1
$vconfig add eth0 2
$
$brctl addbr br1
$brctl addif br1 eth0.1
$brctl addif br1 eth1.1
$
$brctl addbr br2
$brctl addif br2 eth0.2
$brctl addif br2 eth1.2

The basic idea of the above configuration is based on the fact that each VLAN can be simulated with individual bridges per VLAN. The above configuration works fine as expected.
eth0 acts as trunk carrying frames with both VLAN IDs(1 and 2). This trunk can be connected to a similar switch on the other end to span the VLAN segmentation across switches.

Now, I wish to make VLAN 1 a native VLAN for VLAN unaware systems connecting to the switch. So, the trunk will carry both tagged frames as well as untagged frames. how to configure such a setup? Also, please give me an idea of how to implement PVIDs?

Thanks!
 
  


Reply



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 >G< Linux - Networking 3 06-29-2006 12:03 AM
vlan praveenchebolu Linux - Networking 1 03-25-2006 03:41 AM
Vlan switching fr_laz Linux - Networking 1 07-08-2005 10:49 PM
Setting a VLAN a dynamic IP address? cjs500 Linux - Networking 0 04-24-2005 11:26 PM
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 12:04 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