[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcpd



martin f krafft, 2001-Nov-30 11:21 +0100:
> so i have a dhcp zone with refresh time 3 hours over here for one of
> the subnets. usually i plug into that subnet once in the evening and
> once in the morning, but every time i get assigned a different ip
> address. there are no other leases being given out the entire time, so
> this is a little weird. my settings for that zone:
> 
> subnet 192.168.20.0 netmask 255.255.255.0 {
>           server-identifier 192.168.20.1;
> 
>           range 192.168.20.64 192.168.20.253;
>           max-lease-time 21600;
>           default-lease-time 3600;
>           get-lease-hostnames true;
>           allow unknown-clients;
> 
> };
> 
> also weird is that arpwatch doesn't report flip-flops when i get a new
> IP, but simply registered me as a new host with the same MAC address.
> 
> thanks for any input.                                                  

Yeah, dhcpd rotates address assignments through the range, from
what I've seen.  If you want to nail up a specific IP every time,
make a special entry in /etc/dhcpd.conf like this:

host myhostname {
  hardware ethernet 00:10:a4:99:99:7b;
  fixed-address 192.168.0.10;
}

I don't know about the arpwatch thing.

jc

-- 
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User



Reply to: