Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
MAC address is supposed to be unique in the world. So you cannot use a random MAC address.
But if you are sure that it is a stubbed network then you can assign some random one ; if this is not going to clash with any other NIC's MAC in your network.
If you're inside your own network then you can change it to pretty much what ever you like. If you break the uniqueness of it then it's only you that needs to deal with it (and that's not likely)
If you want to be more exact about it Wikipedia has a good explanation of what makes a correct MAC address. See the part on "Address Details" for an information an constructing a custom MAC address.
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,787
Rep:
The IEEE is defining a range of addresses that are designed to be managed locally and so are guaranteed to be unique as long as you don't mess with affecting them.
These are the LAA mac addresses. The seventh bit of the first byte must be set and the eighth must be not. Or expressed differently, the first byte must be non null and even. (eg: 02:xx:xx:...)
I have V490 machine with 2 NIC.
Both NIC has this same mac-address.
Now I am wondering is there any particullar way to call new mac-address or it can be whatever I imagine ?
When your box has more than one Sun Ethernet device, all initially have the same mac address. You can change this behaviour from the OBP prompt.
The OBP variable local-mac-address? controls this. The next commands will help you to see what local-mac-address? is set to:
View local-mac-address? setting from OBP
ok printenv local-mac-address?
local-mac-address? = false
Or like this:
# eeprom local-mac-address?
local-mac-address?=false
When set to to false, all interfaces on a SPARC use the same MAC address. To change this behavior, use either of the following command
ok setenv local-mac-address?=true
local-mac-address? = true
When you adjust the command via eeprom, you may need to reboot to see the changes take affect.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.