Date: Mon, 16 Jun 2008 19:32:16 -0500 From: Brooks Davis <brooks@freebsd.org> To: Steve Bertrand <steve@ibctech.ca> Cc: freebsd-net@freebsd.org Subject: Re: if_vlan subinterfaces at boot Message-ID: <20080617003216.GA34683@lor.one-eyed-alien.net> In-Reply-To: <48570503.2030608@ibctech.ca> References: <4856FE0B.8030901@ibctech.ca> <48570503.2030608@ibctech.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
--ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 16, 2008 at 08:27:47PM -0400, Steve Bertrand wrote: >> Is there any way to create, and assign addresses to a if_vlan=20 >> sub-interface (eg: em6.3) via rc.conf at boot? >=20 > Sorry for the noise... >=20 > cloned_interfaces=3D"em6.3" > ifconfig_em6.3=3D"inet x.x.x.x netmask x.x.x.x" >=20 > ...seems to be the job. Almost. '.' isn't a valid character in a shell variable. We support '.' by converting it into _ in shell variables so it should be: cloned_interfaces=3D"em6.3" ifconfig_em6_3=3D"inet x.x.x.x netmask x.x.x.x" -- Brooks --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iD8DBQFIVwYQXY6L6fI4GtQRAkxIAKCss5SfxgA0gAjeNPoW/XD/K5wXEQCgm2dE 2hjLuRZBIJa5kLCML5RxL/E= =Lt+O -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080617003216.GA34683>