Changing a MAC


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Changing a MAC
# 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 or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. SCO

Changing MAC address in SCO 5.0.6

Hi, For som reason i need to change MAC address of SCO Open Server 5.0.6. I have searched foe answer too much but i didn't fin any thing well.:mad: Please help me, Thx:cool::) (4 Replies)
Discussion started by: mammut3d
4 Replies

2. UNIX for Dummies Questions & Answers

changing the DNS on a mac server

can anyone help on this subject, i'm pretty much at a loss any help appreciated thanks in advance hopefully (2 Replies)
Discussion started by: cleansing_flame
2 Replies

3. IP Networking

changing MAC address

hi, i wanted to know how to change the MAC id of the machine i`m using.. I know the MAC is permanent n on the ROM, but i wanted to know if there was any way to change it during tht particular session.. also.. if it was possible.. could it be kept changed for sometime...? (8 Replies)
Discussion started by: caltiger
8 Replies

4. UNIX for Advanced & Expert Users

Changing MAC address of a NIC

All, I have a need to software change the MAC address of a NIC in a Sparc Ultra 10 - I believe there is a command that allows to do this at boot up? Is it a missing (to me) part of ifconfig ? If so, what is the syntax? All replies gratefully received ! Thanks Andrew (3 Replies)
Discussion started by: wretch
3 Replies
Login or Register to Ask a Question