<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<br>
On 11/23/2010 10:36 AM, Adam Moffett wrote:
<blockquote cite="mid:4CEBDF8C.5030503@plexicomm.net" type="cite">
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <br>
  <blockquote cite="mid:4CEBDB5B.3000107@umn.edu" type="cite">
    <blockquote
 cite="mid:alpine.BSF.2.00.1011230940430.48806@boston.g4.net"
 type="cite"> This causes us to desire DHCP to issue and track leases
by the remote-id instead of the MAC address. <br>
    </blockquote>
My first reaction is that DHCP uses the MAC address to 'track' leases. 
But you can play around with classes to make it work.<br>
    <br>
    <a moz-do-not-send="true">Miquel van Smoorenburg has a writeup on
his site that refers to several patches.  Ref: <</a><a
 moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.miquels.cistron.nl/isc-dhcpd/">http://www.miquels.cistron.nl/isc-dhcpd/</a>><br>
    <br>
  </blockquote>
  <br>
If he's using option 82 he's probably already using classes.<br>
</blockquote>
<br>
<br>
<br>
Yes, we are using classes. Here is a sample of our configuration:<br>
<br>
<br>
# dhcpd.conf<br>
#Version 3.1.3<br>
#<br>
<br>
option domain-name "g4.net";<br>
option domain-name-servers 66.211.154.2, 216.177.0.33, 216.177.0.34;<br>
default-lease-time 100000;<br>
max-lease-time 200000;<br>
authoritative;<br>
ddns-update-style none;<br>
log-facility local7;<br>
<br>
subnet 1.2.2.0 netmask 255.255.255.224 {<br>
}<br>
<br>
class "adsl-customer1-lease1" {<br>
match if option agent.remote-id =
"05/agent.remote-id/customer1/6035550001";<br>
lease limit 1;<br>
}<br>
<br>
class "adsl-customer2-lease1" {<br>
match if option agent.remote-id =
"23/agent.remote-id/customer2/6035550002";<br>
lease limit 1;<br>
}<br>
<br>
class "adsl-customer3-lease1" {<br>
match if option agent.remote-id =
"47/agent.remote-id/customer3/6035550003";<br>
lease limit 1;<br>
}<br>
<br>
class "adsl-customer4-lease1" {<br>
match if option agent.remote-id =
"06/agent.remote-id/customer4/6035550004";<br>
lease limit 1;<br>
}<br>
<br>
<br>
<br>
##################################### Manchester ADSL Pool<br>
subnet 1.2.3.0 netmask 255.255.255.0 {<br>
<br>
option domain-name-servers 66.211.154.2, 216.177.0.33, 216.177.0.34;<br>
option domain-name "g4.net";<br>
option routers 1.2.3.1;<br>
option broadcast-address 1.2.3.255;<br>
default-lease-time 100000;<br>
max-lease-time 200000;<br>
<br>
pool {<br>
range 1.2.3.9 1.2.3.25;<br>
allow members of "adsl-customer1-lease1";<br>
allow members of "adsl-customer2-lease1";<br>
}<br>
<br>
pool {<br>
range 1.2.5.33 1.2.5.33;<br>
allow members of "adsl-customer3-lease1";<br>
}<br>
<br>
pool {<br>
range 1.2.5.35 1.2.5.35;<br>
allow members of "adsl-customer4-lease1";<br>
}<br>
<br>
}<br>
####################################################<br>
<br>
<br>
</body>
</html>