Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 1 Week Ago
ed.n1n2 ed.n1n2 is offline
Port Guard
Join Date: Mar 2015
Posts: 12
Unhappy dhcpd scope options


Fighting to get dhcpd on 5.7 working. It seems you can *only* specify options by name, and not option number. Which would be okay, if a name actually existed for every number, and that was in the man pages. I've been reviewing http://man.openbsd.org/dhcp-options.5 and it's very inconsistent, or just flat wrong. My goto list for understanding options is https://www.iana.org/assignments/boo....xhtml#options. Fairly complete, but it doesn't list the names that OpenBSD expects.

Not every scope option has a name, at least I've not found the name for option 43 anywhere after searching Google for an hour. Everyone mentions it, but not the name or configuration. I'm used to referencing these by number.

subnet netmask
option routers;
option tftp-server-name "";
option voip-configuration-server;
The preceding configuration will work just fine with my SIP device getting an IP address, but completely ignoring the tftp options. I'm monitoring all traffic to the tftp server and can see the logs piped to stdout. (which as an aside, I'd love to log that better).

Documentation indicates/lies that this works:

option option-133 "my-option-133-text"; 
option option-129 1:54:c9:2b:47;
Under no circumstances does dhcpd understand anything like that, giving me the error "/etc/dhcpd.conf line 23: no option named xxxxxxxxxxxxx"
option option-043
option option-43
option 43
option 043
option option43
Every single permutation I can think of fails, and I cannot find any list of named options for OpenBSD, that also lists the actual number. Why? Why? WHY!? I'm sure the extra text wouldn't hurt...

One of the few times the manpages has completely let me down. I could really use some advice and working configurations for option 43, 66, & 120. What are the proper names that OpenBSD will understand, and their expected data types (double quote encaps required)?
Reply With Quote
  #2   (View Single Post)  
Old 1 Week Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
Join Date: May 2008
Location: USA
Posts: 5,050

  1. The dhcpd(8) daemon in OpenBSD is not the ISC reference implementation. Do not use the ISC reference documentation with this application.
         dhcpd was written by Ted Lemon <email redacted> under a contract with
         Vixie Labs.
         The current implementation was reworked by Henning Brauer
         <email redacted>.
  2. As you require the ISC implementation, install the isc-dhcp package.
Please note: OpenBSD 5.7 is no longer supported. Only the two most recent releases of the OS are supported.
Reply With Quote
  #3   (View Single Post)  
Old 1 Week Ago
ed.n1n2 ed.n1n2 is offline
Port Guard
Join Date: Mar 2015
Posts: 12

Thanks, I will give that a try.
Reply With Quote

openbsd dhcpd options sip

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cp, mv, and chown command options jjstorm OpenBSD General 2 23rd March 2016 10:27 PM
PF and Stateful Tracking Options mfaridi OpenBSD Security 9 15th April 2010 09:05 AM
resetting make options? carpman FreeBSD Ports and Packages 1 27th March 2010 12:54 PM
dhcpd and dns sputnik OpenBSD General 8 8th May 2009 02:50 PM

All times are GMT. The time now is 09:54 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick