Saturday, 2 June 2012

How to Change MAC address in Solaris


The shell command to change the MAC address in Sun Solaris is as below:
ifconfig <interface> <class> <address>
For example, the command looks like “ifconfig hme0 ether 1A:2B:3C:4D:5E:6F”. Note that the change is temporary that does not persist after a reboot. To make this change permanent, the command can be placed in a runtime control script (/sbin/sh).

No comments:

Post a Comment