DEV.MD / Developer Network
Search:     Advanced search
Browse by category:
Glossary | Contact Us

How to change a MAC address in FreeBSD

Add comment
Views: 1261
Votes: 0
Comments: 0
Posted: 13 Apr, 2009
by: Zavadschi S.
Updated: 13 Apr, 2009
by: Zavadschi S.
In FreeBSD, you can change your MAC address with the `ifconfig <interface> link <address>` command.

Ex:
ifconfig fxp0 link 00:21:27:c9:cd:30

To make the change permanent, at boot time:
echo "/sbin/ifconfig fxp0 ether 00:21:27:c9:cd:30" >> /etc/start_if.fxp0
Others in this Category
document Mount ISO image in FreeBSD
document Updating the Ports Collection on FreeBSD
document CVsup sources
document IPFW - Configuring Firewalls
document Operating with aliases on Ethernet interfaces
document FreeBSD Apache HTTP Accept Filter Error
document Identify PCI Devices in FreeBSD
document Remove all installed packages and ports on FreeBSD
document Installation and Configuration of Nginx FastCGI PHP
document How can I tell how much RAM is installed on a FreeBSD box?



RSS