MAC cloning available like Linux has?

Ian Smith smithi at nimnet.asn.au
Sun Dec 16 02:00:26 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.

Glad you got it sorted out otherwise.

cheers, Ian


More information about the freebsd-net mailing list