RE: NetReg: Using 'deny duplicates'

New Message Reply Date view Thread view Subject view Author view Attachment view

From: Michael King (mking@bridgew.edu)
Date: Fri Jan 31 2003 - 00:18:21 CST


I understand the directive correct, the deny duplicates directive simple
releases any existing lease, when a client ID requests another address. So
it will not prevent someone from taking a second address, but it will
automatically return the first address to the pool.

The problem you might be seeing is that they might be dual booting, so that
the Client ID is different, but the MAC is the same. (This does not look to
be the case, since the Hostname appears to be the same)

-----Original Message-----
From: owner-netreg@southwestern.edu
[mailto:owner-netreg@southwestern.edu]On Behalf Of Mike.Lang@uconn.edu
Sent: Thursday, January 30, 2003 7:57 PM
To: netreg@southwestern.edu
Subject: NetReg: Using 'deny duplicates'

Hello all,

I'm trying to configure my dhcp server from allowing multiple leases to
the same mac address on a network. I read in the man page of dhcpd.conf
that I can use the command 'deny duplicates' but so far I can't get it to
work.

I have defined it both as a global, and in a scope such as:

shared-network VLAN156 {
  subnet 137.99.156.0 netmask 255.255.252.0 {
    option routers 137.99.156.1;
    deny duplicates;
    # Known clients get this pool.
    pool {
      option domain-name-servers 137.99.x.x, 137.99.x.x;
      option broadcast-address 137.99.159.255;
      max-lease-time 604800;
      default-lease-time 604800;
      range 137.99.156.2 137.99.156.99;
      range 137.99.156.141 137.99.159.219;
      deny unknown clients;
    }
  }
  subnet 10.8.156.0 netmask 255.255.254.0 {
    option routers 10.8.156.1;
    deny duplicates;
    # Unknown clients get this pool.
    pool {
      option domain-name-servers 137.99.x.x;
      option broadcast-address 10.8.157.255;
      max-lease-time 120;
      default-lease-time 120;
      range 10.8.156.2 10.8.157.254;
      allow unknown clients;
    }
  }
}

In the syslog I constantly see logs such as....

Jan 30 19:47:39 netreg dhcpd: DHCPREQUEST for 137.99.155.72 from
00:08:74:e5:df:13 (D7G84421) via 137.99.152.1
Jan 30 19:47:39 netreg dhcpd: DHCPACK on 137.99.155.72 to
00:08:74:e5:df:13 (D7G84421) via 137.99.152.1
Jan 30 19:47:40 netreg dhcpd: DHCPDISCOVER from 00:08:74:e5:df:13
(D7G84421) via 137.99.152.1
Jan 30 19:47:40 netreg dhcpd: DHCPOFFER on 137.99.155.72 to
00:08:74:e5:df:13 (D7G84421) via 137.99.152.1
Jan 30 19:47:40 netreg dhcpd: DHCPREQUEST for 137.99.155.72 (137.99.25.25)
from 00:08:74:e5:df:13 (D7G84421) via 137.99.152.1
Jan 30 19:47:40 netreg dhcpd: DHCPACK on 137.99.155.72 to
00:08:74:e5:df:13 (D7G84421) via 137.99.152.1
Jan 30 19:47:51 netreg dhcpd: DHCPDISCOVER from 00:08:74:e5:df:13
(D7G84421) via 137.99.152.1
Jan 30 19:47:52 netreg dhcpd: DHCPOFFER on 137.99.154.214 to
00:08:74:e5:df:13 (D7G84421) via 137.99.152.1
Jan 30 19:47:52 netreg dhcpd: DHCPREQUEST for 137.99.154.214
(137.99.25.25) from 00:08:74:e5:df:13 (D7G84421) via 137.99.152.1
Jan 30 19:47:52 netreg dhcpd: DHCPACK on 137.99.154.214 to
00:08:74:e5:df:13 (D7G84421) via 137.99.152.1

The above MAC address got 2 IP Leases, I have 76 users getting either 2 or
3.

Can anyone help me out?

Thanks,

- Mike

Unviersity of Connecticut
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************

**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:38 CDT