Set the ethernet MAC address in Solaris

Contributor Icon Contributed by qmchenry  
Tag Icon Tagged: Solaris system administration  

The ethernet hardware (MAC) address can be configured on Sun systems. Trouble can result from duplicate MAC addresses in a subnet, so use with caution.


To change the MAC address of ethernet interface hme0 to 11:22:33:dd:ee:ff, use the following command as superuser:

ifconfig hme0 ether 11:22:33:dd:ee:ff

This is a temporary change that will not persist after a reboot. To make this change permanent, the command can be placed in a runtime control script.

If you have multiple ethernet interfaces, see Configure unique MAC addresses on multiple interfaces.

 

No Comments -


No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment -