# ifconfig eth0 down
Here eth0 denotes the Network Adapter whose MAC address you want to change.
# ifconfig eth0 hw ether 00:80:48:BA:d1:20
Here the serial number after ether is the MAC address you desired.
However, in FreeBSD the proper command should be: (instead of above)
# ifconfig em0 link 00:80:48:BA:d1:20
# ifconfig eth0 up
# ifconfig eth0 |grep HWaddr
# ifconfig eth0 |grep HWaddr
Done! Check the Results!
No comments:
Post a Comment