Error changing Mac address SIOCSIFHWADDR Cannot assign requested address

+1 vote

I am trying to change my Mac Address but I am facing a problem. When I run the command:

ifconfig eth0 hw ether 11:22:33:44:55:66

I am getting the following error:

SIOCSIFHWADDR: Cannot assign requested address
Feb 7, 2019 in Cyber Security & Ethical Hacking by Roshan
21,633 views

2 answers to this question.

+2 votes

I can see that you are trying the set the Mac address to 11:22:33:44:55:66. And that's the problem. You can only set unicast address and unicast address has to have the first octet as an even value. Try changing the value of the first octet to even (ex: 12:22:33:44:55:66) and it should work.

answered Feb 7, 2019 by Omkar
• 69,220 points
thanks for this information

Thanks a Lot......!!!!
It is working WOW!  Thanks
It's really worked.
Thanks a Lot...
thank u bro, you're the best
Thank you so much...useful information
This was helpful 4 years later.  The more you know.. ♥️
+1 vote
bro first byte must be even. you can use 22:33:44:55:66:77
answered Jul 18, 2019 by code_coder__
Thanks bro. But why can't I use even byte?
0 votes

First change the wireless adaptor from monitor mode to auto/managed mode. Then only try to changed the Mac Address.

answered Jul 21, 2021 by Aman Kumar Shah

edited 6 days ago

Related Questions In Cyber Security & Ethical Hacking

0 votes
1 answer

difference between mac address and ip address

MAC Address IP Address MAC Address stands for Media ...READ MORE

answered Feb 8, 2022 in Cyber Security & Ethical Hacking by Edureka
• 13,620 points
1,134 views
0 votes
1 answer

Can I determine the current IP from a known MAC Address?

ARP may be used to retrieve an ...READ MORE

answered Feb 20, 2022 in Cyber Security & Ethical Hacking by Edureka
• 12,690 points
720 views
0 votes
1 answer

How to diagnose a network using loopback address?

C:\Users\priyj_kumar>ping Loopback Pinging DESKTOP-TGAB9Q5 [::1] with 32 bytes ...READ MORE

answered Mar 22, 2019 in Cyber Security & Ethical Hacking by Priyaj
• 58,020 points
1,796 views
0 votes
1 answer

SIOCSIFFLAGS: Operation not permitted

You need sudo permissions to make changes to ...READ MORE

answered Feb 6, 2019 in Cyber Security & Ethical Hacking by Omkar
• 69,220 points
4,579 views
+1 vote
1 answer
0 votes
1 answer

Automating macchanger with Python

You can use the following code: import subprocess import ...READ MORE

answered Jun 24, 2019 in Cyber Security & Ethical Hacking by Avantika
• 1,520 points
849 views
0 votes
1 answer

BurpSuite not capturing packets

Assuming you have made all the proxy ...READ MORE

answered Aug 8, 2019 in Cyber Security & Ethical Hacking by Karan
1,959 views
0 votes
1 answer

How to find MAC address using IP address?

To find the MAC address, run this ...READ MORE

answered Feb 9, 2019 in Cyber Security & Ethical Hacking by Omkar
• 69,220 points
2,474 views
+1 vote
1 answer

How to find IP address of nodes in my network?

The IP address of the nodes connected ...READ MORE

answered Feb 9, 2019 in Cyber Security & Ethical Hacking by Omkar
• 69,220 points
5,143 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP