*** From dhcp-server -- To unsubscribe, see the end of this message. ***

Hi,

I'm sorry if this question has been asked/aswered in the past but I
couldn't find any mailing list archive and I'm fresh out of ideas.

I'm running v3 alpha because I need multiple pools on the same segment
(a pool for known clients and a pool for unknown clients).

I create a new (empty) dhcpd.leases and run the server.  I get a machine
(win98 box :( ) to request a DHCP lease which it does so from the
unknown pool perfectly.  Upon rebooting the client (to hopefully get a
lease from the known client pool this time), the server offers the old
lease it had from the previous session rather than offer one from the
known clients pool:

Listening on LPF/eth0/00:10:5a:04:cb:f5/192.168.1.0
Sending on   LPF/eth0/00:10:5a:04:cb:f5/192.168.1.0
Sending on   Socket/fallback/fallback-net

[The client is unknown at this point]
DHCPDISCOVER from 00:aa:00:b6:46:70 via eth0
DHCPOFFER on 192.168.1.105 to 00:aa:00:b6:46:70 via eth0
DHCPDISCOVER from 00:aa:00:b6:46:70 via eth0
DHCPOFFER on 192.168.1.105 to 00:aa:00:b6:46:70 via eth0
DHCPDISCOVER from 00:aa:00:b6:46:70 via eth0
DHCPOFFER on 192.168.1.105 to 00:aa:00:b6:46:70 via eth0
DHCPREQUEST for 192.168.1.105 from 00:aa:00:b6:46:70 via eth0
DHCPACK on 192.168.1.105 to 00:aa:00:b6:46:70 via eth0
DHCPRELEASE of 192.168.1.105 from 00:aa:00:b6:46:70 via eth0 (found)

[Reboot...the client is known at this point...see dhcpd.leases]
DHCPDISCOVER from 00:aa:00:b6:46:70 via eth0
DHCPOFFER on 192.168.1.105 to 00:aa:00:b6:46:70 via eth0
DHCPREQUEST for 192.168.1.105 from 00:aa:00:b6:46:70 via eth0
DHCPACK on 192.168.1.105 to 00:aa:00:b6:46:70 via eth0

Here's my dhcpd.conf:

subnet 192.168.1.0 netmask 255.255.255.0 {
  option routers 192.168.1.1;

  # Known clients get this pool.
  pool {
    option domain-name-servers 192.168.1.2;
    max-lease-time 86400;
    range 192.168.1.150 192.168.1.200;
    deny unknown clients;
  }

  # Unknown clients get this pool.
  pool {
    option domain-name-servers 192.168.1.1;
    max-lease-time 300;
    range 192.168.1.105 192.168.1.149;
    allow unknown clients;
  }
}


dhcpd.leases:
lease 192.168.1.105 {
        starts 5 1999/05/21 16:50:51;
        ends 6 1999/05/22 04:50:51;
        hardware ethernet 00:aa:00:b6:46:70;
        uid 01:00:aa:00:b6:46:70;
        client-hostname "jarjar";
}
lease 192.168.1.105 {
        starts 5 1999/05/21 16:50:51;
        ends 5 1999/05/21 16:51:06;
        hardware ethernet 00:aa:00:b6:46:70;
        uid 01:00:aa:00:b6:46:70;
        client-hostname "jarjar";
}
lease 192.168.1.105 {
        starts 5 1999/05/21 16:51:12;
        ends 6 1999/05/22 04:51:12;
        hardware ethernet 00:aa:00:b6:46:70;
        uid 01:00:aa:00:b6:46:70;
        client-hostname "jarjar";
}


any help would be appreciated.

-Peter Valian


------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED]   Please try to use the web
page first - it will take a long time for your request to be processed by hand.

Archives for this mailing list are available at 
http://www.webnology.com/list-archives/dhcp/dhcp-server

------------------------------------------------------------------------------

Reply via email to