From owner-freebsd-net@FreeBSD.ORG Tue Jun 17 00:42:57 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 38161106567A for ; Tue, 17 Jun 2008 00:42:57 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id C677E8FC13 for ; Tue, 17 Jun 2008 00:42:56 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 15079 invoked by uid 89); 17 Jun 2008 00:42:56 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 17 Jun 2008 00:42:56 -0000 Message-ID: <485708D1.7060401@ibctech.ca> Date: Mon, 16 Jun 2008 20:44:01 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Brooks Davis References: <4856FE0B.8030901@ibctech.ca> <48570503.2030608@ibctech.ca> <20080617003216.GA34683@lor.one-eyed-alien.net> In-Reply-To: <20080617003216.GA34683@lor.one-eyed-alien.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:42:57 -0000 Brooks Davis wrote: > 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 >>> sub-interface (eg: em6.3) via rc.conf at boot? >> Sorry for the noise... >> >> cloned_interfaces="em6.3" >> ifconfig_em6.3="inet x.x.x.x netmask x.x.x.x" >> >> ...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="em6.3" > ifconfig_em6_3="inet x.x.x.x netmask x.x.x.x" Thanks Brooks for the feedback. I was just about to do a reboot with my config before I caught your message. I'll update the config and run with it. While perusing the 'net in order to try to find a solution prior to posting, I came across a couple of other posts (I can't remember if it was specific to this list) in which the recommendation appeared to be incorrect for this exact setup I desired (ie: the recommendation failed miserably). I'll post back with the results in case anyone else here has been interested in 'Cisco style' (as I for some reason refer to them as) sub-ints on FreeBSD. Steve