Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2008 01:23:04 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: VLAN filtering on FreeBSD 7.0 / 6.3
Message-ID:  <ge8add$h7l$1@ger.gmane.org>
In-Reply-To: <20def4870810280743v50b32317v3711245fc9110cbe@mail.gmail.com>
References:  <20def4870810280743v50b32317v3711245fc9110cbe@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig571016A292BA4AB1A50138DF
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yony Yossef wrote:
> Hi,
>=20
> I have two questions about VLANs on FreeBSD 6.3/7.0.
>=20
> 1.
> I'm trying to understand whether HW VLAN filtering can be supported.
> Looking at the code I can't find a proper ioctl that will inform the dr=
iver
> about a vlan creation/destruction.
> Is there a way of doing it?

If you're asking how to support vlans in FreeBSD, add lines like these
to rc.conf:

cloned_interfaces=3D"vlan0"
ifconfig_bce1=3D"inet 0.0.0.0"
ifconfig_vlan0=3D"vlan 250 vlandev bce1"
ifconfig_vlan0_alias0=3D"inet 161.53.72.23 netmask 255.255.255.0"

This has worked for me in 6.2 and 6.3. Hardware VLAN filtering is
supported in both 6.x and 7.x (at least in bce driver; look for
VLAN_HWTAGGING flag in ifconfig).

> 2.
> Second issue - is there way of enabling TSO on vlan interfaces?

I've asked that question about a week ago on network developers mailing
list and the answer was that it could be done but it's not yet
implemented (i.e. using VLANs in any way effectively disables TSO).


--------------enig571016A292BA4AB1A50138DF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkHrOkACgkQldnAQVacBch67wCeMVajVubOf6ihTpFW9fmdF3MT
QxoAn0rW3tHZISBp1620SZko2AdEQOmO
=Bsea
-----END PGP SIGNATURE-----

--------------enig571016A292BA4AB1A50138DF--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ge8add$h7l$1>