DHCPv4 > Additional Options; only last one applies.

Started by CloudHoppingFlowerChild, June 06, 2020, 06:00:12 AM

Previous topic - Next topic
I'm running OPNsense 20.1.7


01:04:00:00:00:02 tells Windows clients to disable NetBIOS
01:04:31:41:50:43 tells APC devices to take what they're given

Only the bottom line configured here applies to clients. So either I can have the APC line last and use DHCP to configure APC devices or I can put the NetBIOS line last and windows clients will automatically disable NetBIOS. I do not know if the issue is with the router sending out only the last one or if the APC and windows DHCP clients are both flawed coincidentally only recognizing the last option.

There can be just one entry per option. If defining an option (here: 43) multiple times, the last definition overrides the previous ones.

Solution 1:
Just use GPO to disable netbios and use option 43 for your APC

Solution 2:
Create a separate lease pool for your APC devices (mac address match of vendor part) and use APC option 43 and for the default pool (not matching APC vendor mac) assign netbios option.
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR