Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 12:56:23 -0800 (PST)
From:      "Chris H" <chris#@1command.com>
To:        "Warren Block" <wblock@wonkity.com>
Cc:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: MAC cloning available like Linux has?
Message-ID:  <4c9c9af10a32342c5d10cf130df7439b.authenticated@ultimatedns.net>
In-Reply-To: <alpine.BSF.2.00.1212151330070.93660@wonkity.com>
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> <alpine.BSF.2.00.1212150902190.91735@wonkity.com> <7c1f744c7fe2224cf7cc0f07bc4aee76.authenticated@ultimatedns.net> <alpine.BSF.2.00.1212151330070.93660@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Warren, and thank you for your reply.

> On Sat, 15 Dec 2012, Chris H wrote:
>
>> Greetings Warren, and thank you for your reply.
>>
>>> On Fri, 14 Dec 2012, Chris H wrote:
>>>
>>>> with: ifconfig_ue0="ether ##:##:##:##:##:##; DHCP"
>>>> the ether isn't honored (ignored)
>>>
>>> Remove the semicolon.  I don't know if the order of parameters there
>>> matters, but think that the rc scripts just look for the presence of
>>> DHCP.
>>>
>>> This just worked in a VM here.
>>>
>>
>> I'm afraid I didn't have the same experience trying that. :(
>> Out of curiosity, what version did you use? I used the CD
>> image of 9.0 I downloaded from freebsd.org yesterday.
>
> 9.0-RELEASE.  The string I have in rc.conf:
>
>    ifconfig_le0="ether 80:01:01:01:01:01 DHCP"
>
> dhclient runs, and the MAC address is set to that according to ifconfig
> output.
>
> Is it possible that USB Ethernet adapters (or drivers) don't allow
> changing the MAC address?  Seems silly, but...
>

Well, as I mentioned in my OP; works perfect in Linux, and also if I
apply it manually at a CLI. But was a no-go via RC(8).

However, I stumbled onto something that seems to work consistently
(see my reply to Adrian's post).

Thanks again, for taking the time to respond.

--Chris




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