Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 18:17:38 -0800 (PST)
From:      "Chris H" <chris#@1command.com>
To:        "Ian Smith" <smithi@nimnet.asn.au>
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:  <9f0417b535c274cfc1ae143bacadcb09.authenticated@ultimatedns.net>
In-Reply-To: <20121216124603.H4345@sola.nimnet.asn.au>
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> <20121216124603.H4345@sola.nimnet.asn.au>

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.

Thanks for taking the time to point that out. Good to know. Will help me
_not_ make unnecessary moves when trying to sort out a problem like this
in the future. :)

>
> Glad you got it sorted out otherwise.

Me too. :)

--Chris

>
> cheers, Ian
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>




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