cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Changing MAC address

 
SOLVED
Go to solution
Arunvijai_4
Honored Contributor

Re: Changing MAC address

Tried with lanadmin, didn't succeed though

# lanadmin -A 0x000000000000 1
Old Station Address = 0x001083f6cd7e
error: expected primitive 0x06, got DL_ERROR_ACK
dl_error_primitive = 0x33
dl_errno = 0x04
dl_unix_errno = 22
change_phys_addr: unable to change physical address
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: Changing MAC address

I am trying to simulate and test a customer issue.
"A ship in the harbor is safe, but that is not what ships are built for"
Roland Piette
Regular Advisor

Re: Changing MAC address

Hi Arunvijai,

Before using lanadmin -A command you need to bring down your interface with ifconfig command. After setting the new address the interface will be bring up.

To get back the factory address you can use -A DEFAULT keywords in lanadmin command.

Regards
rick jones
Honored Contributor

Re: Changing MAC address

I suspect this bringing down the interface would include an "unplumb" ifconfig command.

The only place I would initially see a MAC address of all zeros would be a broken NIC, which would seem to be a HW replacement issue?
there is no rest for the wicked yet the virtuous have no pillows
Arunvijai_4
Honored Contributor

Re: Changing MAC address

Yes, I brought down and unplumb the interface and tried changing using lanadmin -A; still the same error persists.

"A ship in the harbor is safe, but that is not what ships are built for"
rick jones
Honored Contributor

Re: Changing MAC address

It is quite possible that the code in the kernel is making some sanity checks of the MAC address and deciding it does not like the MAC address at all (not surprising since all zeros used to be - long long long ago - a broadcast address). You might try changing just a single bit or two from the existing MAC address and try setting the card to that - I would change a couple bits in the middle somewhere.
there is no rest for the wicked yet the virtuous have no pillows