From owner-freebsd-questions@FreeBSD.ORG Sun Aug 24 08:04:24 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 8D77016A4BF for ; Sun, 24 Aug 2003 08:04:24 -0700 (PDT) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B9C943F93 for ; Sun, 24 Aug 2003 08:04:23 -0700 (PDT) (envelope-from leblanc@keyslapper.org) Received: from keyslapper.org ([151.203.42.168]) by out003.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030824150422.GIVF29617.out003.verizon.net@keyslapper.org> for ; Sun, 24 Aug 2003 10:04:22 -0500 Received: from keyslapper.org (localhost [127.0.0.1]) by keyslapper.org (8.12.8p1/8.12.8) with ESMTP id h7OF4NDd043517 for ; Sun, 24 Aug 2003 11:04:23 -0400 (EDT) (envelope-from leblanc@keyslapper.org) Received: (from leblanc@localhost) by keyslapper.org (8.12.8p1/8.12.8/Submit) id h7OF4Mu2043516 for freebsd-questions@freebsd.org; Sun, 24 Aug 2003 11:04:22 -0400 (EDT) Date: Sun, 24 Aug 2003 11:04:22 -0400 From: Louis LeBlanc To: freebsd-questions@freebsd.org Message-ID: <20030824150422.GA43396@keyslapper.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <3F48297A.7010806@openadventures.org> <20030824032149.GA91881@dan.emsphone.com> <3F484667.3000909@openadventures.org> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3F484667.3000909@openadventures.org> User-Agent: Mutt/1.5.4i X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [151.203.42.168] at Sun, 24 Aug 2003 10:04:22 -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 15:04:24 -0000 On 08/23/03 10:00 PM, Thomas Smith sat at the `puter and typed: > 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. Cool. You learn something new every day . . . Thanks! -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Thyme's Law: Everything goes wrong at once.