Date: Sat, 17 Apr 2004 16:53:02 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: "Adam C. Migus" <adam@migus.org> Cc: current@freebsd.org Subject: Re: VLAN support in rcNG [PATCH] Message-ID: <20040417235302.GC3534@Odin.AC.HMC.Edu> In-Reply-To: <1082233506.408192a2c476a@webservices.migus.org> References: <1082233506.408192a2c476a@webservices.migus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--t0UkRYy7tHLRMCai Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 17, 2004 at 04:25:06PM -0400, Adam C. Migus wrote: > The following is a patch that adds support for vlan creation and > destruction within rcNG. Using the patch it's possible, for example, > to create a vlan, `vlan0' with the following directives in rc.conf: >=20 > vlan_interfaces=3D"vlan0" > ifconfig_vlan0=3D"DHCP" > ifconfig_vlan0_vlan_dev=3D"xl0" > ifconfig_vlan0_vlan_tag=3D"2" >=20 > Is this patch of general interest? Should I submit a PR? If it wasn't for the patch I'm working on, I'd answer yes. Howerver, I've got a patch that I need to submit for review and then commit that will let you do this is a one shot with the clone code. 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. Using your example that would mean you the follwing in your /etc/rc.conf: cloned_interfaces=3D"xl0.2" -- Brooks --t0UkRYy7tHLRMCai Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAgcNdXY6L6fI4GtQRAhrXAKDSdzNoDYaIf/bcvusIVRh+0ofz9QCgreIW tu6ttFNvAP4QS8L6oLpl+xg= =cnUA -----END PGP SIGNATURE----- --t0UkRYy7tHLRMCai--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040417235302.GC3534>