Changing a MAC

Tags
mac addres, solaris 9, sunblade

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 12-29-2017
Changing a MAC

Good Morning,

I'm cloning a Sunblade with Solaris 9. I need to make the Nic MACs match. I find two general answers 1. It can't be done, or 2. something like this work:

Code:
ifconfig le0 ether aa:1:2:3:4:5

It that all that is required to change a MAC?
# 2  
Old 12-29-2017
Well firstly I would caution you to ensure that they are kept very separate. A common switch or VLAN could panic if it seems to see the same MAC on two ports.

It's been a while since I have done this sort of thing (Solaris 2.6!) where we labelled the NIC with a MAC based on the sub-area-node definition for a VTAM connection to an IBM mainframe. I think we actually set the Token Ring NIC with that and the Ethernet NIC with something else. I think the licence was based on it, so you might need to be careful for that too. I regret that I don't have any Solaris left Smilie

The 'It cannot be done!' is a lie, for some architectures at least. Some lesser Operating Systems can't cope though. I think you have it about right though.



Robin
# 3  
Old 12-29-2017
Why do you find it necessary to spoof a MAC address?

What are you trying to achieve? To clone a Solaris system for production you generally don't need to alter the hardware MAC address because it has no bearing on anything. You might need to change the hostid of the system but not the MAC address.

Last edited by hicksd8; 12-29-2017 at 01:22 PM..
# 4  
Old 12-29-2017
It has to do with one of the applications. The MAC must match.
# 5  
Old 12-29-2017
You should check whether that is correct. I've heard of licence managers requiring a specific hostid but not a specific MAC.

I think changing the MAC may prove difficult. Who's telling you that the MAC must match???
# 6  
Old 12-29-2017
NOTE: The hostid of a SPARC Solaris system is computed from the MAC address so that might be confusing things. However, if the ISV says the MAC must match then, I guess, it must be so.
# 7  
Old 12-29-2017
Hmm good chance that's why then. I'm just accepting this requirement with the same reasoning.. "It must be so"

So its not as easy as
Code:
ifconfig le0 ether aa:1:2:3:4:5

???
Login to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Similar Threads More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Changing MAC address in SCO 5.0.6 mammut3d SCO 4 05-14-2013 01:11 AM
changing the DNS on a mac server cleansing_flame UNIX for Dummies Questions & Answers 2 02-18-2008 11:40 AM
Changing userID and Changing group and GID deal732 Shell Programming and Scripting 2 04-18-2007 11:09 AM
changing MAC address caltiger IP Networking 8 09-07-2006 07:22 AM
Changing MAC address of a NIC wretch UNIX for Advanced & Expert Users 3 09-09-2002 10:22 AM
All times are GMT -4. The time now is 04:40 PM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.