Removing spoofed MAC address requires reboot

Started by cloudz, November 23, 2023, 08:06:55 AM

Previous topic - Next topic
November 23, 2023, 08:06:55 AM Last Edit: November 23, 2023, 08:37:22 AM by cloudz
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


"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
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).