Pfsense DHCP Webgui niggle with other options enabled that had no value
-
Hi Everyone,
I have been setting up PFsense and I had an issue where a DHCP option was set, that kept being set even with no value. which was giving clients wrong DHCP subnet masks. Hopefully I am posting this in the right place, certainly I would be happy to move it.If you look closely, you can see that the option has been set to 1 however the value is blank.
I originally used an option to add another route in my network that I no longer needed.
I tried to delete it but I must have struggled to remove the option, because It didn't clear once I had emptied the fields and kept being applied. At the time I didn't find a delete button for the option so I must have left it set to a random value thinking it wouldn't apply with no value. Guess I was wrong.
I worked out that if you delete the number in the option field it will clear and stop being applied but that's not exactly user friendly. I spent a good 3 or 4 hours figuring out that it was actually still being applied.For a bit of background and if you want to repeat what I did, my network is 172.19.0.0/16, which should have a subnet mask of 255.255.0.0.
What was happening though was that windows was getting a dhcp lease which allocated 255.0.0.0 instead because of this errant option 1.IPv4 Address. . . . . . . . . . . : 172.19.1.1 Subnet Mask . . . . . . . . . . . : 255.0.0.0 Default Gateway . . . . . . . . . : 172.19.0.1
I was completely puzzled, especially as all the other options had been set correctly within the interface and their was no funky settings on the pcs to explain this. I scoured pfsence for a few hours and only after I cross referenced the dhcp options with another site that I realised this was happening.
I understand this is mostly user error, I'm not the sharpest but I think it would be good to add a delete button.
Thanks for reading my rambling!
David~