BTW, the NT dhcp server is compliant with M$ ( what else ) clients. There
are options
on the NT dhcp server which allow it to be compatible with "other" clients
(like Linux maybe ?)

The dhcp server will in fact mark IP addresses as BAD, and will not issue
that address if it is already being used
by a static client. If your servers don't do this, you may have not enabled
the option.

The correct details ( RFC 1533,1534,1541,1542, etc) are :

- dhcp client IP set to 0.0.0.0, discover packet sent ( to locate dhcp
server).
- any dhcp server receiving the discover packet, and having an avilable IP
sends offer ( includes
IP, subnet and lease time)
- client selects an offer packet ( usual 1st offer). client broadcast a
request packet with server IP address.
Any dhcp server whose offer not accepted, will return the offered address
to the available pool.
- offering dhcp server receives request, rsponds with ACK ( included IP,
subnet, lease time, T1 and T2,
dns, wins, router, etc.)
- client will be in bound state when it received ACK ( will use until
released or lease expires).

T1 = 50 % of lease time. Client begin attepmts to renew lease from issuing
server.
T2 = 87.5 % of lease time. After this time, client attempts renewal from
any dhcp server.
note: Lease period may also be set to unlimited

Also, it is possible to reserve an address for a specific client ( based on
MAC address).




Sam Bayne <[EMAIL PROTECTED]>@nsccux.sccd.ctc.edu on 01/07/2000
01:24:06 PM

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:
Subject:  Re: DHCP IP Assignments, Linux vs Win98



[EMAIL PROTECTED] wrote:
>
> the dhcp server will check assigned IP's over the network based on the
> global period assigned on the server ( e.g. 3 days). If the IP ( client )
> is still there, it will renew the lease ( for another 3 days, etc.). If
> the client IP is not connected, it will mark that IP address as
available,
> and will assign it to another machine as needed. It can also ping an IP
> address BEFORE assigning it. So if you have static IP addresses on the
> net being used by a client, the dhcp server will mark that IP address as
> unusable, and will not assign it to any other machine, to avoid a
conflict.

Actually, the CLIENT is entirely responsible for "flapping"(Gulliver's
Travels
reference) the server. At time = lease/2 the client requests a lease
renewal.
If the IP address is available the server will issue a new lease.

Now, with respect to the pinging of ip addresses before issue, the RFC's
(and
possibly MS docs) say that this pinging is supposed to happen (IIRC the
client
is supposed to do the pinging). I have never seen any evidence of this
pinging
happening on our network of win/mac clients and linux/ISC or NT servers.
The
servers will merrily issue in-use IP addresses unless they are
"reserved" in the
dhcpd.conf, and the clients will happily accept them, then turn around
and bitch
about address conflicts.

Now, we mostly use reservations (essentially static, served ip
addresses) so
my experience with dynamically assigned ip is limited to smaller
environments
with 30-160 machines getting dynamic ip addresses. We do run 800-1200
machines
off of static entries in dhcpd.conf in our main production environment.

One thing that would be kind of interesting would be to monitor the dhcp
conversation with tcpdump to see what the difference is between the
linux
and windows requests. Can you even run tcpdump BEFORE you initialize a
NIC?


--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.





-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to