On Tue, Jan 1, 2013 at 7:59 AM, MERIGHI Marcus <mcmer-open...@tor.at> wrote: > I could not figure out which dhcp option(s) you are referring to. Please > specify option number and RFC number. > > For options with names see: > dhcp-options(5) (beeing reworked currently) > /usr/src/usr.sbin/dhcpd/tables.c > > For options without names use e.g. ``option-252'' > >> thereby keeping the created *_ip_tables more > > Do you mean pf.conf(5) tables here? Or dhcp leases table > (/var/db/dhcpd.leases)? > >> up-to-date. Option space is also good for preventing some of the WPAD >> nonsense and assisting in NetBIOS configurations. > > Could you be more specific, please?
Hopefully this commented section of dhcpd.conf I normally use will help: ============================= #windoze option space windoze; option windoze.nbt code 1 = unsigned integer 32; option windoze.release code 2 = unsigned integer 32; option windoze.metric code 3 = unsigned integer 32; # 1 = enable NetBIOS over TCP # 2 = disable NetBIOS over TCP option windoze.nbt 1; # 1 = send DHCPRELEASE on shutdown option windoze.release 1; # default route cost metric option windoze.metric 1; #/windoze option wpad-url code 252 = text; option wpad-url "\n\000"; #option wpad-url "http://192.168.99.123/proxy.pac\n"; if substring (option vendor-class-identifier, 0, 8) = "MSFT 5.0" { vendor-option-space windoze; option netbios-node-type 8; } ============================= Is any of this available in base dhcpd? Maybe I'm just missing it. Thanks, Chris