Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux and VLANs

Reply
Thread Tools Display Modes

Linux and VLANs

 
 
John Shepard
Guest
Posts: n/a

 
      06-24-2008, 06:50 PM
Hi All,

Can someone recommend a good reference (preferable free and online)
for me on how to setup, configure/manage VLANs under Linux?

I've seen a lot of online stuff but it seems to be written at a
very high level and specific to particular distributions.

All I want to do is to understand how to setup linux so it can
understand vlans and a few tools on how to debug the setup.

Thanks in Advance,

JS
 
Reply With Quote
 
 
 
 
h.stroph
Guest
Posts: n/a

 
      06-24-2008, 08:28 PM
In news:ylb8k.6503$(E-Mail Removed),
John Shepard <(E-Mail Removed)> typed:

> All I want to do is to understand how to setup linux so it can
> understand vlans and a few tools on how to debug the setup.


http://www.google.com/linux?q=vlan+howto


 
Reply With Quote
 
Andrew Gideon
Guest
Posts: n/a

 
      07-06-2008, 02:11 PM
On Tue, 24 Jun 2008 11:50:12 -0700, John Shepard wrote:


> All I want to do is to understand how to setup linux so it can
> understand vlans and a few tools on how to debug the setup.


Isn't this too straightforward nowadays for much documentation? Add
"VLAN=yes" to /etc/sysconfig/network and start creating interface names
with dots (ie. eth0.10 for VLAN 10). Or is this a Redhat-only thing?

I suppose "man vconfig" might be useful if the above doesn't work on a
given distribution.

- Andrew
 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      07-06-2008, 05:10 PM
Hello,

Andrew Gideon a écrit :
>
> Isn't this too straightforward nowadays for much documentation? Add
> "VLAN=yes" to /etc/sysconfig/network and start creating interface names
> with dots (ie. eth0.10 for VLAN 10). Or is this a Redhat-only thing?


Yes, it is specific to distributions (originally) based on RedHat (SuSE,
Mandriva...) and for example does not work on distributions based on
Debian (Ubuntu...).
 
Reply With Quote
 
Andrew Gideon
Guest
Posts: n/a

 
      07-06-2008, 08:23 PM
On Sun, 06 Jul 2008 19:10:14 +0200, Pascal Hambourg wrote:

> for example does not work on distributions based on Debian (Ubuntu...).


But those would still have vconfig, right?

- Andrew
 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      07-06-2008, 09:15 PM
Andrew Gideon a écrit :
> On Sun, 06 Jul 2008 19:10:14 +0200, Pascal Hambourg wrote:
>
>>for example does not work on distributions based on Debian (Ubuntu...).

>
> But those would still have vconfig, right?


Of course. It is the actual tool used by distribution-specific network
management systems.
 
Reply With Quote
 
Jarek Jarzebowski
Guest
Posts: n/a

 
      07-07-2008, 06:02 AM
On 6 Lip, 23:15, Pascal Hambourg <boite-a-s...@plouf.fr.eu.org> wrote:
> Andrew Gideon a écrit :
>
> > On Sun, 06 Jul 2008 19:10:14 +0200, Pascal Hambourg wrote:

>
> >>for example does not work on distributions based on Debian (Ubuntu...).

>
> > But those would still have vconfig, right?

>
> Of course. It is the actual tool used by distribution-specific network
> management systems.


Do you have installed package 'vlan'?
If not do:
# aptitude install vlan

Make sure that module 8021q is loaded.

Then you can configure VLAN interfaces in /etc/network/interfaces like
that:

iface eth1.200 inet .... - which means interface eth1 with VLAN 200.

Regards,
Jarek
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with VLANs! AlexC Home Networking 0 07-25-2011 06:25 PM
Bridging with linux between two VLANs omri.il@gmail.com Linux Networking 2 02-02-2008 10:45 AM
Dc's on 2 vlans MSNews Windows Networking 0 11-17-2005 01:30 AM
VLANS Baruch Ortiz Windows Networking 4 11-10-2005 10:28 PM
ONE Linux DHCP Server + Multiple VLANs - Soluble problem? Ad Linux Networking 3 07-28-2005 02:49 PM



1 2 3 4 5 6 7 8 9 10 11