HW VLAN Filtering on FreeBSD 6.3 + 7.0

Jeremy Chadwick koitsu at FreeBSD.org
Sun Nov 16 04:29:46 PST 2008

On Sun, Nov 16, 2008 at 02:03:54PM +0200, Yony Yossef wrote:
> I would like to enable my NIC HW VLAN filtering, is there any way for my
> driver to access the OS vlan table? (something like vlan_group_get_device on
> linux)
> I understood from previous investigation that on FreeBSD 6.3 and 7.0 there's
> no ioctl informing the driver of vlan addition/removal. Is that correct?

Man pages to check out: vlan(4) and ifconfig(8).  I'm pretty sure the
vlan tagging feature is per-driver.

Also, the vlan(4) list of supported drivers is out of date (for example,
em(4) is missing), so be sure to check the man page of your NIC driver.

| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |

More information about the freebsd-net mailing list