Topic: Spoofing MAC address

Hi there, I am afraid of this. NetBSD can't change the MAC address of my LAN adapter??? Can I must make tunnels, virtual LAN adapters and bridge connections, just to change my f*ckin' real mac address??? Or need to patch my ifconfig of netbsd to have made changes of mac?? Can anybody help please?

Re: Spoofing MAC address

batence wrote:

Hi there, I am afraid of this. NetBSD can't change the MAC address of my LAN adapter???

Per the manpage of ifconfig(8):

active          This keyword applies when ifconfig adds or modifies any
                     link-layer address.  It indicates that ifconfig should
                     ``activate'' the address.  Activation makes an address
                     the default source for transmissions on the interface.
                     You may not delete the active address from an interface.
                     You must activate some other address, first.

The traditional name for the MAC address is link-layer address.

Re: Spoofing MAC address

Try this:

ifconfig sip0 link 00:11:22:33:44:55 active

where sip0 is the name of your network interface.

Re: Spoofing MAC address

@Maxlor thanks!
That's ok, but how to use it in rc.conf?