Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 11:59:09 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Chris H <chris#@1command.com>
Cc:        Glen Barber <gjb@freebsd.org>, freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: MAC cloning available like Linux has?
Message-ID:  <CAJ-VmonjhV2pzAJEXJoKj3mpGPZbXJWR=bKxN1Wp_7wF5jsZFA@mail.gmail.com>
In-Reply-To: <4206626b0eb77c1955c546d5cf91b4cc.authenticated@ultimatedns.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Please file a PR for this. I think this (and mac address
setup/changing on net80211, similar issues) needs both some better
documentation/FAQ entries and updates to the rc scripts.

I think we may want to add an ifconfig_X_ether="" to set the L2
address appropriately for an interface.

Thanks,



Adrian

On 15 December 2012 10:36, Chris H <chris#@1command.com> wrote:
>> On Sat, Dec 15, 2012 at 10:11:41AM -0800, Chris H wrote:
>>> 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.
>>
>> It is not a loader(8) tunable, it is part of the rc(8) system.
>>
>> You did not answer the important part of what I asked - how are you
>> testing?  Are you rebooting the machine?  Are you using the netif rc
>> script?
>
> Ahh. Sorry, my bad. Rebooting.
>
> I have no difficulty issuing:
> ifconfig ue0 down
> ifconfig ue0 ether ##:##:##:##:##:##
> dhclient ue0
>
> This method will always return the expected/desired results.
>
>>
>> Glen
>>
>>
> Thanks for the reply.
>
> --Chris
>
>
> _______________________________________________
> 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?CAJ-VmonjhV2pzAJEXJoKj3mpGPZbXJWR=bKxN1Wp_7wF5jsZFA>