Error changing Mac address: SIOCSIFHWADDR: Cannot assign requested address

0 votes

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 6 in Cyber Security & Ethical Hacking by Roshan
285 views

2 answers to this question.

+1 vote

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 6 by Omkar
• 67,480 points
+1 vote
bro first byte must be even. you can use 22:33:44:55:66:77
answered Jul 18 by code_coder__
Thanks bro. But why can't I use even byte?

Related Questions In Cyber Security & Ethical Hacking

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 in Cyber Security & Ethical Hacking by Priyaj
• 56,520 points
54 views
0 votes
1 answer
0 votes
1 answer

SIOCSIFFLAGS: Operation not permitted

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

answered Feb 6 in Cyber Security & Ethical Hacking by Omkar
• 67,480 points
154 views
0 votes
1 answer
0 votes
1 answer

Automating macchanger with Python

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

answered Jun 24 in Cyber Security & Ethical Hacking by Avantika
• 1,500 points
54 views
0 votes
1 answer
0 votes
1 answer

How to find MAC address using IP address?

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

answered Feb 9 in Cyber Security & Ethical Hacking by Omkar
• 67,480 points
73 views
0 votes
1 answer

How to find IP address of nodes in my network?

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

answered Feb 9 in Cyber Security & Ethical Hacking by Omkar
• 67,480 points
47 views
0 votes
4 answers

How to solve “bind: cannot assign requested address” Error?

You must mention in your host.conf file ...READ MORE

answered Jul 31, 2018 in Blockchain by slayer
• 29,050 points
1,201 views