Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

camotwen

macrumors member
Original poster
Jul 10, 2022
85
71
I use macos ventura 13.2 (apple silicon), and use a thunderbold dock to connect to a local network through ethernet. The connection appears as "USB 10/100/1000 LAN", everything works fine, "ifconfig" shows it corresponds to interface en7 let's say.

The issue is that I want to spoof my macadress but a command

sudo ifconfig en7 ether _somenewmacadress_

returns

ifconfig: ioctl (SIOCAIFADDR): Can't assign requested address

All the tools I know to spoof mac addresses like spoof-mac etc use this command to do that. Is there anything I can do to change the mac address I go by in the local ethernet network? Searching the internet it seems this is a common issue with macos since ages but maybe there is something I am not aware of.
 

bogdanw

macrumors 603
Mar 10, 2009
6,118
3,030
Maybe not all Ethernet adapters support the change. It’s working for an old Apple one.
macchanger.jpg
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.