Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2012 13:00:12 +1100 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Chris H <chris#@1command.com>
Cc:        Glen Barber <gjb@freebsd.org>, Adrian Chadd <adrian@freebsd.org>, freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: MAC cloning available like Linux has?
Message-ID:  <20121216124603.H4345@sola.nimnet.asn.au>
In-Reply-To: <09d1faaf95a2644e1819a042b65ca360.authenticated@ultimatedns.net>
References:  <fbb9a110e10541ca977e38c0078b8cd4.authenticated@ultimatedns.net> <dcf4605249a8bff03454b85056c62ba4.authenticated@ultimatedns.net> <CA%2BtpaK2ooetDd%2BNE3WNbAQ_3_Kcxit8jvyVf4X9X2wxUc9R4Rg@mail.gmail.com> <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> <CAJ-VmonjhV2pzAJEXJoKj3mpGPZbXJWR=bKxN1Wp_7wF5jsZFA@mail.gmail.com> <09d1faaf95a2644e1819a042b65ca360.authenticated@ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121216124603.H4345>