Bug #5893

dhcp option can't be send

Added by leon zhou over 3 years ago. Updated over 3 years ago.

DHCP Server
Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected Version:
Affected Architecture:


I add Additional BOOTP/DHCP Options value 125 as string in dhcp server setting page.
But it does't work.
I use wireshark to view dhcp package,and there is no option 125 in package too.
So i think it does't work.

And i try to send other value it does not work too

this is dhcpd.conf

option ldap-server code 95 = text;
option domain-search-list code 119 = text;
option arch code 93 = unsigned integer 16; # RFC4578
option custom-opt5-0 code 125 = string;
option custom-opt5-1 code 2495 = text;
option custom-opt1-0 code 125 = string;
option custom-opt1-1 code 254 = text;

default-lease-time 7200;
max-lease-time 86400;
log-facility local7;
one-lease-per-client true;
deny duplicates;
ping-check true;
update-conflict-detection false;
subnet netmask {
pool {

option routers;
option domain-name-servers;
option custom-opt1-0 00:00:00:00:14:02:06:48:47:57:2d:43:54:0a:02:20:00:0b:02:00:55:0d:02:00:2e;


#1 Updated by Jim Thompson over 3 years ago

  • Description updated (diff)
  • Category set to DHCP Server
  • Assignee set to Jim Pingle

assigned to pingle for eval.

#2 Updated by Jim Pingle over 3 years ago

  • Status changed from New to Closed

I ran a test with a client that requested 125 using your given text and it worked, the server replied with 125 and the expected text. Might be a client issue. Discuss on the forum for more assistance.

dhcptest --request 125
dhcptest v0.5 - Written by Vladimir Panteleev
Run with --help for a list of command-line options.

Listening for DHCP replies on port 68.
Type "d" to broadcast a DHCP discover packet, or "help" for details.
Sending packet:
  op=BOOTREQUEST chaddr=14:29:9D:1D:4F:35 hops=0 xid=4EB21D8D secs=0 flags=8000
  ciaddr= yiaddr= siaddr= giaddr= sname= file=
  2 options:
     53 (DHCP Message Type): discover
     55 (Parameter Request List): 125 (Unknown)
Received packet from
  op=BOOTREPLY chaddr=14:29:9D:1D:4F:35 hops=0 xid=4EB21D8D secs=0 flags=8000
  ciaddr= yiaddr= siaddr= giaddr= sname= file=
  5 options:
     53 (DHCP Message Type): offer
     54 (Server Identifier):
     51 (IP Address Lease Time): 7200 (2 hours)
    125 (Unknown): 00 00 00 00 14 02 06 48 47 57 2D 43 54 0A 02 20 00 0B 02 00 55 0D 02 00 2E
      1 (Subnet Mask):

Also available in: Atom PDF