logo       

host entries via OMAPI in dynamic DHCP-range?: msg#00394

network.dhcp.isc.dhcp-server

Subject: host entries via OMAPI in dynamic DHCP-range?

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


Hi,

we have the situation that we need DHCP many subnets, where there are many
devices with static IP addresses spread over the whole subnet. The other thing
is, that we don't know all MAC addresses. We want to recognize DHCP requests by
the hostname of the clients which will be done by urging the clients to send
their hostnames as client identifiers (OK with OS/2, will be implemented with
MS-Win).

Now we want to set those static ip addresses via OMAPI as host entries within a
range of a range declaration for dynamic ip addresses in dhcpd.conf. This works
fine and the client gets its special IP configuration if it comes via DHCP. But
in the log file there are following messages:

Jan 28 09:56:53 dhcptest dhcpd: Dynamic and static leases present for
10.217.25.198.
Jan 28 09:56:53 dhcptest dhcpd: Remove host declaration XEST202X or remove
10.217.25.198
Jan 28 09:56:53 dhcptest dhcpd: from the dynamic address pool for 10.217.25.0/24

Can I ignore those messages (well, it works, doesn't it) or do we have to change
our concept.


dhcpd.conf:
subnet 10.217.25.0 netmask 255.255.255.0 {
option routers 10.217.25.254;
option static-routes 0.0.0.0 10.217.25.254, 10.0.0.0 10.217.25.254;
pool {
range 10.217.25.1 10.217.25.199;
deny dynamic bootp clients;
allow known clients;
}
}


dhcpd.leases (the client hostname in the uid is represented in hex):
host XEST202X {
dynamic;
uid 00:58:45:53:54:32:30:32:58;
fixed-address 10.217.25.198;
}
no other entries with that name, ip or uid before and after the client gets its
ip address.


registry of Win2000-Client:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{<nic
identifier>}\DHCPClientIdentifier REG_BINARY 58:45:53:54:32:30:32:58

Perhaps all that looks crazy, but we have to intergrate the current
infrastructure and there are many many devices which can't change there static
IP suddenly although we urgently need DHCP. Over the time we try to move all
devices to DHCP smoothly. If you have any idea how we could do that in another
way, just tell me.

Thanks in advance,
Andreas Neukirch



-----------------------------------------------------------------------
List Archives : http://www.isc.org/ml-archives/dhcp-server/
Unsubscribe : http://www.isc.org/dhcp-lists.html
-or- : mailto:dhcp-server-request@xxxxxxx?Subject=unsubscribe
-----------------------------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise