Date: Mon, 24 Apr 2006 09:46:33 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Richard Tector <richardtector@thekeelecentre.com> Cc: freebsd-net@freebsd.org Subject: Re: Automatic VLANS Message-ID: <20060424164633.GA11053@odin.ac.hmc.edu> In-Reply-To: <444CB489.30802@thekeelecentre.com> References: <170970070.20060112144241@kr.ru> <20060112105808.0ec94f40.lists@yazzy.org> <20060112101616.GG2332@heff.fud.org.nz> <20060112102309.25f2e33a.lists@yazzy.org> <20060112103126.GH2332@heff.fud.org.nz> <20060112192122.GA6660@odin.ac.hmc.edu> <20060423032002.7yty36ga8so0w8o0@webmail.thekeelecentre.com> <20060424050810.GB3499@odin.ac.hmc.edu> <444CB489.30802@thekeelecentre.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 24, 2006 at 12:20:41PM +0100, Richard Tector wrote: > Brooks Davis wrote: > >On Sun, Apr 23, 2006 at 03:20:02AM +0100, Richard Tector wrote: > > =20 > >>Is it possible to use this method through rc or must I stick with creat= ing > >>vlan1, vlan2, vlan3, etc and setting the vlanid and vlandev since my=20 > >>attmpts > >>have yielded no success. > >> > >>Eg. > >>rc.conf: > >>ifconfig_em0=3D"up vlanhwtag vlanmtu" > >>ifconfig_em0.100=3D"inet 10.1.2.3/24" > >> =20 > > > >Periods aren't valid in shell variable names so this won't work. Hense > >the error message below. > > > > =20 > >>goliath# /etc/rc.d/netif start > >>/etc/rc.conf: ifconfig_em0.100=3Dinet 10.1.2.3/24: not found > >>lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > >>.... > >> > >>and the interface is never created, with or without: > >>cloned_interfaces=3D"em0.100" > >> =20 > > > >The cloned_interfaces entry is absolutly required. > > =20 > Fair enough. >=20 > I noticed you made a way to use the automatic vlan method in rev 1.169=20 > of network.subr. Are there any plans to MFC this to RELENG_6? It's a=20 > useful ability to have and makes creating vlans at startup much simpler= =20 > and cleaner. Yes, after 6.1 ships. It's way to late to be mucking around in the interface config scripts for 6.1-RELEASE. -- 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 --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFETQDpXY6L6fI4GtQRAr5mAJ99v5JdVkdOYIWBTwydPxmTOJEiTgCeL+vm LNQM68YMGsJOHWy39udWsn0= =Fk0n -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060424164633.GA11053>