From owner-freebsd-net@FreeBSD.ORG Tue Jun 17 00:31:48 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BE191065677 for ; Tue, 17 Jun 2008 00:31:48 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 785078FC12 for ; Tue, 17 Jun 2008 00:31:47 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m5H0WG4Z035271; Mon, 16 Jun 2008 19:32:16 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m5H0WGX8035270; Mon, 16 Jun 2008 19:32:16 -0500 (CDT) (envelope-from brooks) Date: Mon, 16 Jun 2008 19:32:16 -0500 From: Brooks Davis To: Steve Bertrand Message-ID: <20080617003216.GA34683@lor.one-eyed-alien.net> References: <4856FE0B.8030901@ibctech.ca> <48570503.2030608@ibctech.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <48570503.2030608@ibctech.ca> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Mon, 16 Jun 2008 19:32:17 -0500 (CDT) Cc: freebsd-net@freebsd.org Subject: Re: if_vlan subinterfaces at boot X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2008 00:31:48 -0000 --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--