<html><body><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><div style="font-family: Andale Mono; font-size: 10pt; color: #000000;" data-mce-style="font-family: Andale Mono; font-size: 10pt; color: #000000;">If you have foreknowledge of the MAC address, you could assign static IP based on the mac address like so:</div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000;" data-mce-style="font-family: Andale Mono; font-size: 10pt; color: #000000;"><br data-mce-bogus="1"></div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000;" data-mce-style="font-family: Andale Mono; font-size: 10pt; color: #000000;">host SomeHost { hardware ethernet 00:01:02:03:04:05; fixed-address 10.0.10.2; }</div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000;" data-mce-style="font-family: Andale Mono; font-size: 10pt; color: #000000;"><br data-mce-bogus="1"></div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000;" data-mce-style="font-family: Andale Mono; font-size: 10pt; color: #000000;">which would then make it not matter what their dhcp-client-identifier is...<br><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Thomas Zenz" <thomas.zenz@oenb.at><br><b>To: </b>dhcp-users@lists.isc.org<br><b>Sent: </b>Wednesday, November 23, 2016 7:08:55 AM<br><b>Subject: </b>Change dhcp-client-identifier<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">Sorry, I did not get the answer via mail, so I resend the Mail like this:<br><br>Hi Patrick,<br><br>I agree with you, that DHCP is not the cause of the issue. But, as<br>allways, we are the ones who can fix it ;) Can we?<br><br>We do have more VPN clients. That's why we had to look into this problem.<br><br>Regards<br>Thomas<br><br>###################################################<br><br>It sounds like something changed recently - new VPN appliance? More VPN<br>clients?<br><br>It might be useful to include that in the conversation because it<br>doesn't sound like ISC DHCP is the cause of the issue, just where it's<br>become visible.<br><br>Patrick<br><br>###################################################<br><br>Dear all,<br><br>We are running isc dhcp for years now.<br>In the last weeks the count of vpn clients is growing. We only planned a<br>/24 network. That would be ok if there wasn't the cisco logic of<br>creating the dhcp-client-identifier. Cisco takes his own Mac-address,<br>adds the PCName and here comes the problem, a random number...<br>So my Client uses 17 Leases!<br>I reduced the lease-time to 1h but still, if a usere reconnects 3 times<br>in one hour, it uses 3 addreses.<br><br> uid "\000cisco-881d.fc6f.affe-NB326973851-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973852-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973857-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973858-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973861-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973863-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973848-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973850-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973853-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973854-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973873-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973859-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973865-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973866-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973868-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973869-inside\000";<br> uid "\000cisco-881d.fc6f.affe-NB326973870-inside\000";<br><br>I tried to change the uid like this:<br>on commit {<br> set myClientID = pick (option dhcp-client-identifier,0);<br> log (info, concat ("ClientID: ",myClientID));<br>but it looks like the option is no string... (from the log)<br>dhcpd: ClientID: HPs2,<br>dhcpd: ClientID: HPs2,<br>dhcpd: ClientID: fÚAi<br>dhcpd: ClientID: HPsY<br>dhcpd: ClientID: HPsW¬<br>dhcpd: ClientID: lbmw&<br>dhcpd: ClientID: lbmw&<br>dhcpd: ClientID: HPsY<br>dhcpd: ClientID: HPsY<br>dhcpd: ClientID: HPsY<br>dhcpd: ClientID: HPsY<br>dhcpd: ClientID: HPs3T<br>dhcpd: ClientID: HPsW¬<br>dhcpd: ClientID: HPsW¬<br>dhcpd: ClientID: HPs\<br>dhcpd: ClientID: HPs\<br><br>I tried to do it like this:<br> if (binary-to-ascii(10,8,".",packet(24,3)) = "192.168.1" ) {<br> set vpnClientID = concat(substring(myClientID,26,6),"-inside");<br> set dhcp-client-identifier = vpnClientID;<br> log (info, concat ("vpnClientID: ",vpnClientID));<br> }<br>This is also not working. I use a similar option to choose the PXE Bootfile.<br><br>Please help<br>Kind Regards<br>Thomas<br><br><br><br>_______________________________________________<br>dhcp-users mailing list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote></div></div><br></div></body></html>