LAN_Bridge set MACC address doesn't stick on reboot
-
Not sure if this belongs here or in the General Question section, but here goes…
I just recently upgraded to version 2.4.3_1 from version 2.2.6
I did a configuration backup of 2.2.6 and used that to restore setting, rules, etc on 2.4.3_1
Interface Config:
WAN - re0 (No MAC specified)
LAN - Bridge0 (LAN_Bridge - re1, re2, ath0 - MAC address specified, but doesnt stick)
OPT1 - re1 (LAN Port 1 - No MAC specified)
OPT2 - re2 (LAN Port 2 - No MAC specified)
OPT3 - ath0 (Wifi - No MAC specified)When I go to interface assignment and click the LAN_Bridge, I have a MAC address specified. I have saved and applied changed. But when I reboot pfSense, the specified MAC address for LAN_Bridge is changed. After boot complete, I can go into LAN_Bridge interface settings and my specified MAC is still there; however when I got to Status>Interfaces ...the MAC address listed does not match what I have set. Seems that no matter how many times I click save and apply, the change does not get applied and revery to a random MAC on every reboot...
While this is not a HUGE problem, all my computers recognize the New MAC address after every pfSense reboot as a New Network and so the computers default to it being a public network until I specify to the PC's that it is a private network...This also is going to eventually make my registry contain a lot of unnecessary Network identification info...
Any way to fix this issue? Any help will be greatly appreciated!
-
-
There is an open bug for that:
https://redmine.pfsense.org/issues/8138Feel free to add anything there that isn't covered.
Steve
-
Okay, thank you for your reply and the info
Any way to edit a config file manually to force the change and bypass the gui?
-
Not easily. It's not a config file issue but part of the script that applies the config.
You could use a shellcmd to spoof it manually.
Steve
-
@stephenw10 said in LAN_Bridge set MACC address doesn't stick on reboot:
Not easily. It's not a config file issue but part of the script that applies the config.
You could use a shellcmd to spoof it manually.
Steve
Is this something that sticks through a reboot, or is this shell command required to force change after every boot sequence?
-
Shellcmds get run at boot so this would be applied every time.
https://www.netgate.com/docs/pfsense/development/executing-commands-at-boot-time.html#shellcmd-option
You can enter it in the config or use the shellcmd package to give you gui access as I am in the screenshot.
Steve
-
@stephenw10
Awesome! Thank you! I will give this a try!
If results are undesirable, can this change be reverted? -
You can just delete the shellcmd and reboot. I tested it here though and it seemed to work fine.
Steve
-
@stephenw10 Just what I wanted to hear!! Excellent! Thank you very much...I will test and report back
-
This worked perfectly!!!