[lkml]   [2001]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH] 802.1Q VLAN for Linux
Announcing 802.1Q VLAN version 1.0.0 for Linux.

802.1Q VLAN is an industry standard that allows you to run multiple
Virtual LANs over a single ethernet wire/interface. It also supports
priority settings. To user-space code, this VLAN patch makes VLAN
devices look like Ethernet devices.

The patch is large, so go here to find it: (get version 1.0.0)

Or, if you just want the raw patch & user tools with no explanation:

If you really want the whole thing as a diff emailed to you, let me know!

This code has been in development for about 2 years now, and I feel
it is stable enough to warrant inclusion into the kernel as
an EXPERIMENTAL feature. I understand Linus and others may not
wish to add it to 2.4.0 proper, but even getting in something
like the -ac series, or any broader audience, should help wring
the final bugs out and ensure it will be stable. Your comments
and testing will help make the code stronger!

My 802.1Q VLAN patch features:

* Implements 802.1Q VLAN spec.
* Can support up to 4094 VLANs per ethernet interface.
* Scales well in critical paths: O(1), as far as I can tell.
* Optional hashed device lookup tables in the kernel, for better scalability in non-critical paths.
* Supports MULTICAST
* Can change MAC address of VLAN.
* Multiple naming conventions supported, and adjustable at runtime.
* Optional header-reordering, to make the VLAN interface look JUST LIKE an Ethernet interface. This
fixes some problems with DHCPd and anything else that uses a SOCK_PACKET socket. Default
setting is off, which works for every other protocol I know about, and is slightly faster.
* Patches for both the 2.2.X series and the 2.4.0 series.
* /proc file system support (/proc/net/vlan)
* 802.1Q Priority mapping and support.

I have not tested compiling it in as a module, though preliminary module support
has been added to the 2.4.0 patch. It should work just fine when compiled
in (not a module.)

For comparison, there is also another VLAN project at, but I think mine is better, or
at least has a more colorful web-page! :)

Comments are welcome.


Ben Greear (
Author of ScryMUD: 4444 (Released under GPL)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.052 / U:1.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site