LinuxQuestions.org
Register a domain and help support LQ
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-08-2005, 03:20 PM   #1
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Vlan switching


Hi,

I'm trying to use my debian as a switch... so as to test vlan config, and high availability.
I've seen plenty of doc about using vconfig to configure a 802.1Q interface, but I'd like to "put an interface into a vlan", without enabling trunking (802.1Q) on it.

what I want to finally have, is that the host connected to my box have no vlan config, and that their packets are tagged when they enter my box' interface. Here's a picture:
Machine1----------| tun1 (vlan1)
Machine2----------| tun2 (vlan1)
Machine3----------| tun3 (vlan2) Debian box tun0 (802.1Q)------------ Routeur
Machine4----------| tun4 (vlan2)

tunX are my NICs, as I use qemu to emulate all these machines.
all interfaces take part into a bridge, which works well without vlans.

My problem is that the incomming packets are not tagged. I would like that when they enter one of the tun interfaces, the Debian box tags the packets so that they become "member" of the vlan without having to configure vlan on each machine.

This is the way cisco (and other) switches work.... can linux perform it, how?

remark: some will say that this setup is unusable in real life... I agree, the interest is only to know how it works and then to test further things, like radius authentication with inscription in a vlan depending on the radius user profile...
 
Old 07-08-2005, 11:49 PM   #2
goodstudyunix
LQ Newbie
 
Registered: Jul 2005
Location: Liao Ning of China
Distribution: unixfans
Posts: 1

Rep: Reputation: 0
it's good!
 
  


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 security lil_drummaboy Linux - Networking 3 11-03-2005 06:53 AM
VLAN Question teamchachi Linux - Networking 16 10-02-2005 06:09 PM
VLAN Question KevinGuy Linux - Networking 8 08-23-2005 08:35 AM
Vlan not sepparate collen Linux - Networking 0 06-08-2004 08:22 AM
Vlan Markvw Linux - Networking 1 09-29-2003 09:33 AM


All times are GMT -5. The time now is 08:03 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration