Subject: Re: Is there any equivalent of sea.c on netbsd?
To: Gary Thorpe <gathorpe79@yahoo.com>
From: Michal Stepien <michal.stepien@bezda.com>
List: tech-kern
Date: 09/18/2006 18:46:31
On Mon, Sep 18, 2006 at 12:33:21PM -0400, Gary Thorpe wrote:
> > I'm looking for anything what can be useful
> > to fake mac address on ethernet card in
> > machine running netbsd.
> > As I've observed, it is quite difficult
> > in netbsd what is quite weird for me.
> > Is there any solution, for example something
> > like sea.c in openbsd?
> 
> Well, it is possible to set up a fake ethernet adaptor using vlan(4)
> that can take any MAC address you like and bridge(4) it to a real
> ethernet adaptor so that ethernet frames to the psuedo-adaptor actually
> get unto a network. So this would allow you to have two MAC addresses
> but for two different "interfaces" still using the same LAN.
> 
> If you want to just change the MAC address for a real ethernet adaptor
> to something arbitrary, I am not sure it can be done. If ifconfig
> doesn't have an option, it probably isn't a standard feature.
>
I would like to change it as I can do it in freebsd,linux
or windows. There are some patches but they are over 2 year old.
Is it possible to merge one of them to current or netbsd4.
I could be very, very useful.