Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 10:11:41 -0800 (PST)
From:      "Chris H" <chris#@1command.com>
To:        "Glen Barber" <gjb@FreeBSD.org>
Cc:        freebsd-net <freebsd-net@FreeBSD.org>
Subject:   Re: MAC cloning available like Linux has?
Message-ID:  <31ed4a74f0e5c8f3156d725d86590379.authenticated@ultimatedns.net>
In-Reply-To: <20121215115343.GC1342@glenbarber.us>
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>

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




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