Bug #5893
closeddhcp option can't be send
0%
Description
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;
authoritative;
subnet 192.168.2.0 netmask 255.255.255.0 {
pool {
range 192.168.2.100 192.168.2.200;
}
option routers 192.168.2.1;
option domain-name-servers 192.168.2.1;
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;
}
Updated by Jim Thompson almost 9 years ago
- Description updated (diff)
- Category set to DHCP (IPv4)
- Assignee set to Jim Pingle
assigned to pingle for eval.
Updated by Jim Pingle almost 9 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 https://github.com/CyberShadow/dhcptest 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. d Sending packet: op=BOOTREQUEST chaddr=14:29:9D:1D:4F:35 hops=0 xid=4EB21D8D secs=0 flags=8000 ciaddr=0.0.0.0 yiaddr=0.0.0.0 siaddr=0.0.0.0 giaddr=0.0.0.0 sname= file= 2 options: 53 (DHCP Message Type): discover 55 (Parameter Request List): 125 (Unknown) Received packet from 10.4.0.1:67: op=BOOTREPLY chaddr=14:29:9D:1D:4F:35 hops=0 xid=4EB21D8D secs=0 flags=8000 ciaddr=0.0.0.0 yiaddr=10.4.0.13 siaddr=0.0.0.0 giaddr=0.0.0.0 sname= file= 5 options: 53 (DHCP Message Type): offer 54 (Server Identifier): 10.4.0.1 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): 255.255.255.0