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
135 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,140 points
+1 vote
bro first byte must be even. you can use 22:33:44:55:66:77
answered 4 days ago 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,160 points
42 views
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,140 points
94 views
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
43 views
0 votes
1 answer

How to tackle Security Loopholes of IoT Solutions ?

This is pretty off-topic, but I'll supply ...READ MORE

answered Aug 23, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
36 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 in Cyber Security & Ethical Hacking by Omkar
• 67,140 points
56 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,140 points
34 views
+1 vote
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
782 views
0 votes
1 answer

TestNG error:- Cannot find class in classpath

The issue is because the project directory ...READ MORE

answered Mar 23, 2018 in Selenium by nsv999
• 5,050 points
5,558 views
0 votes
1 answer