<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Folks,<br>
<br>
I seem to have a small issue that I hope somebody can help with.<br>
<br>
I am running Internet Systems Consortium DHCP Server 4.1-ESV-R4 on Linux and would like to assign a static IP address by dhcp-client-identifier.<br>
<br>
This should be easy, yeah? It works on a Mikrotik DHCP server just fine.<br>
<br>
Incoming requests have this option 61 present:<br>
<br>
Vendor-rfc1048 Extensions<br>
Magic Cookie 0x63825363<br>
DHCP-Message Option 53, length 1: Request<br>
Client-ID Option 61, length 17: "234514613700286^@"<br>
<br>
The logging options I have enabled log it (using binary-to-ascii so its all in decimal):<br>
<br>
Sep 20 03:50:40 xen-test dhcpd: client id 0:50:51:52:53:49:52:54:49:51:55:48:48:50:56:54:0<br>
<br>
But the DHCP server ignores this option and just assigns a dynamic IP address from the range.<br>
<br>
Requests are unicast relayed from a relay server.<br>
<br>
The config is below, you'll see a whole load of hosts defined in every possible way (and I tried others besides) just out of desperation ;-)<br>
<br>
<br>
Here is the server config:<br>
<br>
ddns-update-style none;<br>
<br>
option domain-name "example.org";<br>
option domain-name-servers ns1.example.org, ns2.example.org;<br>
<br>
default-lease-time 600;<br>
max-lease-time 7200;<br>
<br>
log-facility local7;<br>
subnet 80.90.100.0 netmask 255.255.255.248 {<br>
}<br>
<br>
subnet 82.102.32.0 netmask 255.255.255.0 {<br>
<br>
log (info, concat ( "client id ", binary-to-ascii(10,8,":", option dhcp-client-identifier)));<br>
log (info, concat ( "address request ", binary-to-ascii(10,8,".", option dhcp-requested-address)));<br>
log (info, concat ( "server id ", binary-to-ascii(10,8,".", option dhcp-server-identifier)));<br>
<br>
log (info, option dhcp-client-identifier);<br>
log (info, option domain-name-servers);<br>
log (info, option dhcp-message-type);<br>
<br>
range 82.102.32.2 82.102.32.254;<br>
<br>
option domain-name-servers 81.91.192.253;<br>
<br>
<br>
host leigh {<br>
host-identifier option dhcp-client-identifier 32:33:34:35:31:34:36:31:33:37:30:30:32:38:36:00;<br>
fixed-address 82.102.32.100;<br>
}<br>
<br>
host leigh2 {<br>
host-identifier option dhcp-client-identifier "234514613700286";<br>
fixed-address 82.102.32.101;<br>
}<br>
<br>
host leigh21 {<br>
host-identifier option dhcp-client-identifier "\\0234514613700286\\0";<br>
fixed-address 82.102.32.104;<br>
}<br>
host leigh22 {<br>
host-identifier option dhcp-client-identifier "\\0234514613700286";<br>
fixed-address 82.102.32.105;<br>
}<br>
host leigh23 {<br>
host-identifier option dhcp-client-identifier "234514613700286\\0";<br>
fixed-address 82.102.32.106;<br>
}<br>
<br>
<br>
host leigh3 {<br>
host-identifier option dhcp-client-identifier 0:32:33:34:35:31:34:36:31:33:37:30:30:32:38:36:0;<br>
fixed-address 82.102.32.102;<br>
}<br>
<br>
host leigh8 {<br>
host-identifier option dhcp-client-identifier "0:32:33:34:35:31:34:36:31:33:37:30:30:32:38:36:0";<br>
fixed-address 82.102.32.107;<br>
}<br>
<br>
host leigh4 {<br>
host-identifier option dhcp-client-identifier 0:50:51:52:53:49:52:54:49:51:55:48:48:50:56:54:0;<br>
fixed-address 82.102.32.103;<br>
}<br>
<br>
<br>
host leigh41 {<br>
host-identifier option dhcp-client-identifier 50:51:52:53:49:52:54:49:51:55:48:48:50:56:54:0;<br>
fixed-address 82.102.32.108;<br>
}<br>
host leigh42 {<br>
host-identifier option dhcp-client-identifier 0:50:51:52:53:49:52:54:49:51:55:48:48:50:56:54;<br>
fixed-address 82.102.32.109;<br>
}<br>
<br>
<br>
<br>
<br>
}<br>
<br>
<br>
</div>
<br clear="both">
______________________________________________________________________<BR>
This email has been scanned by the Symantec Email Security.cloud service.<BR>
For more information please visit http://www.symanteccloud.com<BR>
______________________________________________________________________<BR>
</body>
</html>