1753621 Members
5780 Online
108797 Solutions
New Discussion юеВ

MAC address

 
SOLVED
Go to solution
Marco_163
Advisor

MAC address

Is it possible to change MAC address on Ethernet card?
Marek
15 REPLIES 15
Fred Ruffet
Honored Contributor

Re: MAC address

No. MAC address identifies a network equipement and should not be changed.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Michael_356
Frequent Advisor

Re: MAC address

lanadmin -A 0x will do so
Have a look an man lanadmin

Michael
T G Manikandan
Honored Contributor

Re: MAC address

MAc addresses are unique and fixed during manufacture.

to my knowledge you cannot!
Sridhar Bhaskarla
Honored Contributor

Re: MAC address

Hi,

Yes but it is not something I would like to do.

Run the command

lanadmin -A mac_address

lanadmin -A 0x0011183F876AB 2

will set the above MAC for lan2 card.

man lanadmin for more info. However, it will not survive the reboots. You will need to edit /etc/rc.config.d/hpconf file and add the mac address there. is tyep of the lancard. For BT lancards, it would be hpbtlanconf.

HP_BTLAN_INTERFACE_NAME[0]=lan2
HP_BTLAN_STATION_ADDRESS[0]=0x0011183F876AB
HP_BTLAN_SPEED[0]=100FD

You don't need to specify need if you set it to auto negotiation.

Note that you cannot use lanadmin on all the interfaces.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
G. Vrijhoeven
Honored Contributor

Re: MAC address

Hi,

It is possible, just be sure you know what you are doing...

in /etc/rc.config.d/ you have several lan config files. In those files you are able to set speed/duplex settings and Station address of interfac.
e.g.:

hpbtlanconf
hpbase100conf
etc.

HTH,

Gideon

Slawomir Gora
Honored Contributor

Re: MAC address

Hi,

yes you can do it. If you want set it permanently go to file:
/etc/rc.config.d/hppci100conf for btlat5 card

or read manual to lanadmin command.



Muthukumar_5
Honored Contributor
Solution

Re: MAC address

we can do it with lanadmin / lanconfig files.

Collect the station address as,

lanscan -s

IF you are going to change 2nd interface then,

lanadmin -a 1 or lanscan
-- > MAC address for lan1


You can change it with sam as,

sam --> network and communications --> network interface cards --> select interface and actions-modify --> advanced options --> specify the hardware address

Regards
Muthu
Easy to suggest when don't know about the problem!
Steve Lewis
Honored Contributor

Re: MAC address

Sometimes you have to. I have been to one installation which had switch ports somehow 'locked' to one particular MAC address with auto-lock-out when any other interface was connected.
As part of their on-site contingency procedures, they had to manually unplug the primary server and plug in the standby, which caused big problems. The solution was to change the MAC address of the standby server when it was plugged in. A better solution would have been to keep both machines plugged in permanently.

Note that some earlier cards, such as the built-in interfaces to D and K class servers don't allow you to change it.

Re: MAC address

See the MAC Address is unique for LAN cards which is given by the manufaturer at the time of manufaturing .This address is burned in to the LAN Card and cannot modify it by hardware.But if required u can modify it in the OS to accomapny the change as explained by our Gurus above
regards
SK
Your imagination is the preview of your life's coming attractions