Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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...