Changing Your MAC Address/OpenBSD

From Wikibooks, open books for an open world
< Changing Your MAC Address
Jump to: navigation, search

As of OpenBSD 3.8, the MAC address can be changed as follows:

ifconfig bge3 lladdr 02:01:02:03:04:05


As of version "I'm not sure" and at least 5.3, it can be done within the hostname file, for example /etc/hostname.bge3:

dhcp lladdr 02:01:02:03:04:05

or static:

inet 1.2.3.4 255.0.0.0 1.255.255.255 lladdr 02:01:02:03:04:05