Home Man
Search
Today's Posts
Register

If you're not sure where to post a Unix or Linux question, post it here. All unix and Linux beginners welcome in this forum!

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

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 12: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

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Changing PS1 kristinu Shell Programming and Scripting 3 11-20-2012 03:36 PM
Changing uid value sridhardwh Solaris 2 04-24-2012 12:44 AM
Changing type name kristinu Programming 5 01-28-2012 12:37 PM
changing uid,gid manoj.solaris Shell Programming and Scripting 3 05-05-2011 07:02 AM
Changing Text with sed or awk hal8000 UNIX for Dummies Questions & Answers 2 03-15-2011 05:15 PM
Changing / to - with vi SoVi3t UNIX for Dummies Questions & Answers 2 03-08-2010 12:15 AM
Changing txt Monkey Dean Shell Programming and Scripting 4 05-06-2009 05:26 PM
awk is changing my FS !! jolecanard Shell Programming and Scripting 4 10-04-2008 06:09 AM
Changing userID and Changing group and GID deal732 Shell Programming and Scripting 2 04-18-2007 10:09 AM
Changing IP's Hordak UNIX for Dummies Questions & Answers 2 08-03-2002 12:42 AM


All times are GMT -4. The time now is 05:17 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password