On Monday 18 February 2002 07:16 am, Oyku Gencay wrote:
Hi,
I wonder if any of you has faced such a problem. We have deployed a DHCP server and users with their notebooks get their IP from DHCP depending on the MAC address of the ethernets. However, I could not find any way to determine that each users will get their assigned IP if they set up their IP statically for their W2K. T
The dhcp standard requires the server to see if the ip is in use (by pinging it) prior to issuing any given ip. So if they just assign an ip chances are it will be available and not issued by the dhcp server as long as.. 1) the laptops were on first before any dynamic ip stations 2) you give a long lease time (several days). This is so because the same mac address will get the same ip unless the lease has expired and it was handed out to another machine. (At least this is whats supposed to happen according to the rfc). If the lease has not expired - or - the box with the static is already on, there will be no problem. However, if dhcpd gives an ip and THEN another user turns on a laptop that has that IP hardcoded then there is trouble. For this reason, its better to use static ips only for servers (print server boxes, file servers, etc) and have lap tops get dynamic ips. The servers are more likely to be on before the dhcp server starts issuing leases. Hard coded ips are more appropriate for server type machines than laptops. (BTW windows defaults to dunamic ips, you have to go to some trouble to get static ones). Failing that, just reserve an IP range for machines with hard coded ips. Why do the laptops need hard coded IPs? -- _________________________________ John Andersen / Juneau Alaska