From owner-freebsd-net@FreeBSD.ORG Sat Dec 15 19:59:12 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 06704562; Sat, 15 Dec 2012 19:59:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 520BC8FC13; Sat, 15 Dec 2012 19:59:10 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id u54so2114541wey.13 for ; Sat, 15 Dec 2012 11:59:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=r43cHpM7sJoTENdPqIi5FVgpC9gK2/ESqTW7ardXSU8=; b=gNI2D1Pb5+Pz+Gps0nCQqhGU2LXCg170LHBuepFdkjb/5QRbgKs/fgqszqMR0ppYB1 y6XKkKFthlCXNqvczZaG1LJqVbbD6nIYRr2bzLKIA20Ih8NepK/bI2AMfaXWu7WGQGRh QlNclKBQcbuHiJirlDduLa2tZ4Idq4Et9fgy77SRbKazw0VOo6QWCTzVjjcaDB9VjXCC e/nzU4iAwvxUn4ol2GqDCVsXho5mdXeGZRu/Iwj4nrVtlBiYYscFx7uo9Q/AouSeAZTn 59ZQr8BV6kqtfxPBKP9BlZcacLHHcWSr8TIUApHkbUW4r5LuMkeKYTzNAoN6W5i8kLdp wvYg== MIME-Version: 1.0 Received: by 10.180.88.71 with SMTP id be7mr8528269wib.17.1355601549882; Sat, 15 Dec 2012 11:59:09 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Sat, 15 Dec 2012 11:59:09 -0800 (PST) In-Reply-To: <4206626b0eb77c1955c546d5cf91b4cc.authenticated@ultimatedns.net> References: <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> Date: Sat, 15 Dec 2012 11:59:09 -0800 X-Google-Sender-Auth: 1wOlbfHRO3MOgCz8_X3bseEX6hw Message-ID: Subject: Re: MAC cloning available like Linux has? From: Adrian Chadd To: Chris H Content-Type: text/plain; charset=ISO-8859-1 Cc: Glen Barber , freebsd-net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2012 19:59:12 -0000 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 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"