MAC cloning available like Linux has?

Chris H chris# at 1command.com
Sun Dec 16 02:17:48 UTC 2012


> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>



More information about the freebsd-net mailing list