Q & A on Dyanmic Assignment of IP Addresses

Q: How to get an IP address automatically in a network without DHCP server? Should I write a DHCP server code in the server side? If so, where could I get the source code for reference? Or you might have a better answer.

A: If you are writing a server merely to hand out an IP address, building a RARP server will be much easier than a DHCP server. However, if you also want to provide other information (e.g., a default router address), BOOT/DHCP would be a better choice. In any case, I'll bet Ralph Droms knows the location of DHCP source code. Ralph?

A: Check out the Internet Software Consortium (ISC) DHCP server at http://www.isc.org