From owner-freebsd-questions@FreeBSD.ORG Sat Aug 23 22:00:43 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 3B47F16A4BF for ; Sat, 23 Aug 2003 22:00:43 -0700 (PDT) Received: from fed1mtao07.cox.net (fed1mtao07.cox.net [68.6.19.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D97143F75 for ; Sat, 23 Aug 2003 22:00:42 -0700 (PDT) (envelope-from tom@openadventures.org) Received: from openadventures.org ([68.2.175.193]) by fed1mtao07.cox.net (InterMail vM.5.01.06.04 201-253-122-130-104-20030726) with ESMTP id <20030824050035.PTAE4315.fed1mtao07.cox.net@openadventures.org> for ; Sun, 24 Aug 2003 01:00:35 -0400 Message-ID: <3F484667.3000909@openadventures.org> Date: Sat, 23 Aug 2003 22:00:23 -0700 From: Thomas Smith User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <3F48297A.7010806@openadventures.org> <20030824032149.GA91881@dan.emsphone.com> In-Reply-To: <20030824032149.GA91881@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: MAC Addr Cloning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 05:00:43 -0000 Dan Nelson wrote: >In the last episode (Aug 23), Thomas Smith said: > > >>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? >> >> > >ifconfig fxp0 ether 01:02:03:04:05:06 > Excellent! This worked. What I was doing wrong was including the "ether" value as part of a complete string. For example: ifconfig dc0 192.168.1.1 netmask 255.255.255.0 ether 00:00:00:00:00:00 This would return an error. This appearently has to do with the layer the MAC works on versus the IP--since they're on different layers I have to configure them seperately. Thanks for the input. Thanks also to the other poster, Louis LeBlanc. FYI to Louis: If you add a line, as follows, in your /etc/rc.conf you can be ride of the "start_if.x10" file. ifconfig_x10="ether 00:00:00:00:00:00" I thought this may prove useful to you.