MAC cloning available like Linux has?

Chris H chris# at 1command.com
Sat Dec 15 18:11:58 UTC 2012


Hello Glen, and thank you for your reply.
> On Fri, Dec 14, 2012 at 11:26:06PM -0800, Chris H wrote:
>> ifconfig_ue0="DHCP"
>> create_args_ue0="ether ##:##:##:##:##:##"
>> create_args is simply ignored.
>>
>
> Ignored how?  What commands are you running to verify it works?
> For me, create_args_IFNAME works fine on my firewall.

Unfortunately, it had no affect for me.
The ue0 maintained the same MAC it started with.
Out of desperation, I even tried it in /boot/loader.conf.
One thing I think might be worth noting; I see bge appears
to interrupt the process, as it attaches to ue0. I don't
have the RELENG_9 drive plugged in, as I write this, or
I could paste the message here. Is it possible this is more
an RC(8) problem, than anything else? I notice since 8.2,
the RC(8) seems to have some differences. For example;
it used to be possible to declare:
ifconfig_<if#>_alias#="ether ##:##:##:##:##:##"

But when I attempt to try this now, I receive an error
indicating something about requiring an ""inet" when using ipv4".
but adding an inet 1p,v.4.address stanza to it, causes an error
as well.

>
>> I don't get it. I've tried every imaginable incarnation I
>> could possibly conceive. Is it even possible? I had really
>> hoped to turn this into a gateway, and while Linux will
>> "clone" the MAC(3). I don't trust it (security wise).
>> Is Linux' DHCP more robust than BSD'?! Hard to imagine,
>> but I'm completely at a loss.
>>
>
> I do not think this is DHCP related.  It is more differentiation between
> the two with regards to how interface creation is handled.

Agreed.

>
> Glen
>
>
Thank you again, for taking the time to reply.

--Chris



More information about the freebsd-net mailing list