OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: cloudz on November 23, 2023, 08:06:55 AM

Title: Removing spoofed MAC address requires reboot
Post by: cloudz on November 23, 2023, 08:06:55 AM
I've been using the MAC address from my old Unifi UDM on my OPNsense install and this worked as intended. Yesterday I had to redo my config at the ISP and wanted to switch to the original ether address of the DEC740 I'm using. I could remove the MAC address in the interface but after saving and applying, the spoofed address still showed in the ifconfig. I had to reboot the device to remove the spoofed MAC address. Is this intended behaviour?

I'm on 23.7.8_1

Title: Re: Removing spoofed MAC address requires reboot
Post by: Maurice on November 25, 2023, 12:29:52 AM
"Intended" would be a stretch, but it's by design. ifconfig allows setting a new MAC address, but has no option (that I'm aware of) to explicitly reset it to hardware defaults. If you want to avoid a reboot, you can enter the "real" MAC address.

Cheers
Maurice