How to Set up DHCP on a Local Area Network

Setup a quick and easy DHCP server on Windows using dhcpd32.

Steps

  1. Decide what range of IP addresses you would like to use. You should use a "Private IP Range", otherwise you may well have problems related to traffic to and from your network being routed incorrectly. For a simple LAN, stick with 192.168.0.100, a subnet mask of 255.255.255.0 and a pool size of 50. This will allow up to 50 machines to be set up on your network without having to change anything.
  2. Set the IP address of your computer to 192.168.0.2 with a subnet mask of 255.255.255.0 (an address in the same subnet as the addresses in the pool, but not an address in the pool itself!)
  3. Download dhcpd32 from http://tftpd32.jounin.net/
  4. Unzip the file to your computer and run dhcpd32.exe
  5. Set the "IP pool starting address" to the address you want the first computer to use DHCP to have. (192.168.0.100 if you're not sure!)
  6. Set the "Size of pool" to a little more than the number of computers and devices you think you'll need on your LAN. (if in doubt, 50 is a nice number)
  7. Leave the "Boot File" field blank
  8. If you have a DNS server on your network, or one accessible to the machines on your network, enter it's IP address in the "WINS/DNS Server" box. If you don't, or don't know what it means, leave it blank.
  9. Set "Mask" to your subnet mask. If you don't know what that is, follow my addressing scheme and set it to 255.255.255.0
  10. Leave the "Domain Name" and "Additional Option" boxes as they are.
  11. Press "Save".
  12. Your DHCP server is now set up!

Tips


Warnings

  • If you don't know about private ranges and subnet masks, either read up on them or use my address scheme. Improper addressing can cause you, and possibly others, a BIG headache.

blog comments powered by Disqus
 
 
 
 
Copyright © PcBerg