The Web This Blog

Tuesday, October 9, 2007

Changing MAC addresses

Please note that physical MAC addresses are permanent, but several mechanisms allow modification (read as spoofing) of the MAC address that is reported by the operating system.

Under Linux you can type the command to setup a new MAC address:
# ifconfig eth0 down

# ifconfig eth0 hw ether
01:02:03:04:05:06

Under FreeBSD type the command:
# ifconfig nc0 ether 01:02:03:04:05:06

Under OpenBSD or Mac OS X type the command:
# ifconfig nc0 lladdr 01:02:03:04:05:06

Under Windows 2003/XP:
Under Windows XP or 2003 server the MAC address can be changed in the Ethernet adapter’s Properties Menu > Advanced Tab > Look for MAC Address > Locally Administered Address > Ethernet Address > Physical Address option.

No comments:

Post a Comment