From owner-freebsd-net@FreeBSD.ORG Sun Dec 16 02:00:26 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F2F38D8C; Sun, 16 Dec 2012 02:00:25 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 44D1B8FC12; Sun, 16 Dec 2012 02:00:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id qBG20CqR026692; Sun, 16 Dec 2012 13:00:13 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 16 Dec 2012 13:00:12 +1100 (EST) From: Ian Smith To: Chris H Subject: Re: MAC cloning available like Linux has? In-Reply-To: <09d1faaf95a2644e1819a042b65ca360.authenticated@ultimatedns.net> Message-ID: <20121216124603.H4345@sola.nimnet.asn.au> References: <22dff5a60850319d50ce4f1a07309562.authenticated@ultimatedns.net> <20121214230414.GF1959@glenbarber.us> <27119a9d879fd4fb124b517b1589d578.authenticated@ultimatedns.net> <20121215115343.GC1342@glenbarber.us> <31ed4a74f0e5c8f3156d725d86590379.authenticated@ultimatedns.net> <20121215181928.GC1344@glenbarber.us> <4206626b0eb77c1955c546d5cf91b4cc.authenticated@ultimatedns.net> <09d1faaf95a2644e1819a042b65ca360.authenticated@ultimatedns.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Glen Barber , Adrian Chadd , freebsd-net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 02:00:26 -0000 On Sat, 15 Dec 2012 12:51:11 -0800, Chris H wrote: > in rc.conf, adding the following (order is important!), everything > works as expected/desired/anticipated; > > --- begin rc,conf -------------------------------------------------------------- > ifconfig_ue0="ether ##:##:##:##:##:##" > > ifconfig_ue0_alias0="DHCP" > > *** or *** > > ifconfig_ue0_alias0="inet ip4.add.ress.anticipated netmask kno.wn.net.mask" > > followed by > defaultrouter="kno.wn.gate.way" --applies for static only > --- end rc,conf -------------------------------------------------------------- Just one thing that's important to understand: order in rc.conf is only important in one regard, that the _last_ assignment for any particular variable is the only one that matters. rc.conf is just an sh script, included by '.', and any later assignments override any earlier ones. In particular, the order of assignments to any _different_ variables in rc.conf is completely irrelevant. Glad you got it sorted out otherwise. cheers, Ian