From owner-freebsd-questions@FreeBSD.ORG Sat Aug 23 20:20:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AA7216A4BF for ; Sat, 23 Aug 2003 20:20:33 -0700 (PDT) Received: from pop016.verizon.net (pop016pub.verizon.net [206.46.170.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A16D43FE5 for ; Sat, 23 Aug 2003 20:20:32 -0700 (PDT) (envelope-from leblanc@keyslapper.org) Received: from keyslapper.org ([151.203.42.168]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030824032031.HXRC10125.pop016.verizon.net@keyslapper.org> for ; Sat, 23 Aug 2003 22:20:31 -0500 Received: from keyslapper.org (localhost [127.0.0.1]) by keyslapper.org (8.12.8p1/8.12.8) with ESMTP id h7O3KZDd034548 for ; Sat, 23 Aug 2003 23:20:35 -0400 (EDT) (envelope-from leblanc@keyslapper.org) Received: (from leblanc@localhost) by keyslapper.org (8.12.8p1/8.12.8/Submit) id h7O3KZWI034547 for freebsd-questions@freebsd.org; Sat, 23 Aug 2003 23:20:35 -0400 (EDT) Date: Sat, 23 Aug 2003 23:20:34 -0400 From: Louis LeBlanc To: freebsd-questions@freebsd.org Message-ID: <20030824032034.GA34475@keyslapper.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <3F48297A.7010806@openadventures.org> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3F48297A.7010806@openadventures.org> User-Agent: Mutt/1.5.4i X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.42.168] at Sat, 23 Aug 2003 22:20:31 -0500 Subject: Re: MAC Addr Cloning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 03:20:33 -0000 X-List-Received-Date: Sun, 24 Aug 2003 03:20:33 -0000 On 08/23/03 07:56 PM, Thomas Smith sat at the `puter and typed: > FreeBSD 4.8-RELEASE > > I have a Cox Internet connection that I currently use a Netgear router > with. I'd like to hook my FreeBSD box to that connection and use it > instead. The problem is that Cox provisions accounts and if the MAC > address changes they have to be called to reprovision the account. > > What I'd like to do is configure one of my NICs to clone the MAC of the > router. How is this done in FreeBSD? Finally, a question I know the answer to . . . Create a file called start_if.xl0 (assuming xl0 is the interface you want to reconfigure, change it if yours is different) and put the following line in it: ifconfig xl0 ether 00:00:00:00:00:00 Of course, you want to correct the interface here too, and put the mac address you want to use in place of the one here. Just make sure the interface with the mac address in question isn't being used on a network this machine is directly connected to. I used this when I had a card die, and didn't want to spend two hours trying to get reprovisioned. HTH Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Watson's Law: The reliability of machinery is inversely proportional to the number and significance of any persons watching it.