Review your favorite Linux distribution.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This 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.


  Search this Thread
Old 06-10-2008, 10:43 AM   #1
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 922

Rep: Reputation: 43
Changed MAC - address

I have V490 machine with 2 NIC.
Both NIC has this same mac-address.
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet netmask ffffff00 broadcast
        ether 0:14:4f:b8:5:f4
ce1: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet netmask 0
        ether 0:14:4f:b8:5:f4
Simplly I have changed one of them with:
# ifconfig ce1 ether 0:14:4f:b8:5:f5
Last digit has been changed from 4 to 5.

Now I am wondering is there any particullar way to call new mac-address or it can be whatever I imagine ?
Old 06-10-2008, 11:43 AM   #2
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
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.
Old 06-10-2008, 12:02 PM   #3
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 189

Rep: Reputation: 41
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.
Old 06-10-2008, 12:04 PM   #4
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,787

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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:...)
Old 06-10-2008, 12:30 PM   #5
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Originally Posted by czezz View Post
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?

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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Single DHCP server ,to provide the ip address to a MAC address in two different subne alix123 Linux - Software 5 05-09-2007 12:16 AM
changed mac address + got dhcp add ! but can't ping Mr_C Linux - Networking 3 03-20-2006 12:55 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 05:33 AM
changed mac address, now FC3 can't detect it lumba1 Linux - General 2 03-05-2005 06:14 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 11:33 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration