Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2003 11:04:22 -0400
From:      Louis LeBlanc <leblanc+freebsd@keyslapper.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: MAC Addr Cloning
Message-ID:  <20030824150422.GA43396@keyslapper.org>
In-Reply-To: <3F484667.3000909@openadventures.org>
References:  <3F48297A.7010806@openadventures.org> <20030824032149.GA91881@dan.emsphone.com> <3F484667.3000909@openadventures.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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