On 12/12/05, Peter Hessler <[EMAIL PROTECTED]> wrote:
>
> This is with -current dhcpd within the last month.
>
> On Mon, 12 Dec 2005 12:15:37 -0800
> Peter Hessler <[EMAIL PROTECTED]> wrote:
>
> : I have a dhcp'd network, with static entries for a ton of machines.
> : The problem is that the range is for .10 - .254, and the static
> : entries are scattered throughout.  When a random client requests an
> : address, dhcpd will give out a staticly defined entry.  So when the
> : static entry machine comes back, the two machines fight each other
> : for the address.
> :
> : Moving the static entries to outside the range is unfeasable right
> : now.  And it doesn't address the issue of 'machine was on a different
> : dhcp network with an address that happens to be staticly defined on
> : ours'.
> :
> : Why does dhcpd give out addresses that are currently in use, and why
> : does it give out staticly defined addresses?  Shouldn't it remove the
> : static entries from the dynamic pool?


Because you're static ips  are within your dynamic pool, just setup the
static addresses so they're outside the dynamic range. Your server is
misconfigured otherwise.

:
> : Sanitized portions of config:
> :
> : shared-network LOCAL-NET {
> :         option  domain-name "example.com";
> :         option  domain-name-servers 10.0.0.1;
> :
> :         option  nis-domain "example.nis";
> :         option  nis-servers nis.example.com;
> :         option  ntp-servers ntp.example.com;
> :         option  time-offset -28800;     # PST
> :
> :         subnet 10.0.0.0 netmask 255.255.255.0 {
> :                 option routers 10.0.0.1;
> :
> :                 range 10.0.0.10 10.0.0.254;
> :         }
> :
> :         group {
> :           use-host-decl-names on;
> :          # host1.example.com 10.0.0.15
> :            host host1.example.com { hardware ethernet \
> :              00:0f:1f:f7:7d:64; fixed-address host1.example.com; }
> :          # host2.example.com 10.0.0.20
> :           host host2.example.com { hardware ethernet \
> :              02:A0:98:01:F5:B4; fixed-address host2.example.com; }
> :          # host3.example.com 10.0.0.29
> :           host host3.example.com { hardware ethernet \
> :              00:0F:1F:F7:78:B6; fixed- address host3.example.com; }
> :        }
> : }
> :
> :
> :
> : --
> : Workers of the world, arise!  You have nothing to lose but your
> : chairs.
> :
>
>
> --
> Sex without love is an empty experience, but, as empty experiences go,
> it's one of the best.
>                 -- Woody Allen
>
>


--
Abe Al-Saleh

I love deadlines. I like the whooshing
sound they make as they fly by.
--Douglas Adams

Reply via email to