Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2004 17:54:36 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        current@freebsd.org
Subject:   Re: VLAN support in rcNG [PATCH]
Message-ID:  <20040418005436.GC14645@Odin.AC.HMC.Edu>
In-Reply-To: <20040417201913.P34536@sasami.jurai.net>
References:  <1082233506.408192a2c476a@webservices.migus.org> <20040417235302.GC3534@Odin.AC.HMC.Edu> <20040417201913.P34536@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--c3bfwLpm8qysLVxt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 17, 2004 at 08:20:17PM -0400, Matthew N. Dodd wrote:
> On Sat, 17 Apr 2004, Brooks Davis wrote:
> > It works by doing a major overhaul of the device cloning support so you
> > can create interfaces of the form <etherif>.<vlantag> and get an vlan
> > interface with the appropriate parent and tag.
>=20
> Please make this behavior optional.

The entire patch has exactly one change which is visiable to the
userland unless the user changes their behavior.  That change is that
when you do "ifconfig stf create" ifconfig does not output "stf0" and
the interface created is named "sft" instead of "stf0".  This is a
result of a minor change that allows you to create "6to4" a more
aptly named interface.  This change is mostly an example of how to write
new style interface cloners that's easier to understand then the vlan
version which was the motivation for this overhaul.

The vlan change allows vlan interfaces to work exactly like they did
before.  It just adds some sugar so that the following sets of commands
are equivalent:

ifconfig xl0.2

vlanif=3D`ifconfig vlan create`
ifconfig $vlanif name xl0.2
ifconfig xl0.2 vlandev xl0 vlantag 2

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--c3bfwLpm8qysLVxt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAgdHKXY6L6fI4GtQRArLuAKCyMaqFECS4teuP41wAXLxA6EoaVgCbB5vd
uuoI59b5kPzXnt7vmaf1xXQ=
=Et3e
-----END PGP SIGNATURE-----

--c3bfwLpm8qysLVxt--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040418005436.GC14645>