Slashdot Mirror


Set up a DHCP server to manage IP addresses

An anonymous reader writes "The second in a three-part series on how to leverage Linux to get the most from your network, this tutorial shows how to set up a Dynamic Host Configuration Protocol (DHCP) server with Internet Systems Consortium (ISC) DHCP. Sample code and configuration files are provided throughout to aid understanding."

3 of 30 comments (clear)

  1. Comp User/pass Link by Anonymous Coward · · Score: 4, Informative

    http://www.bugmenot.com/view.php?url=www.ibm.com

  2. Recommended: dnsmasq by Tux2000 · · Score: 5, Informative

    For small networks, I recommend using dnsmasq. It's a combined DHCP server and DNS server/proxy intended for use on a masquerading gateway that can run nearly without any configuration. Add your mac addresses to /etc/ethers for fixed IP adresses, add your hostnames to /etc/hosts, finito. There is no need to fiddle with to big servers (bind and ISC dhcpd). I use it on my (heavily modified) WRT54G with about 10 to 20 systems without any problems.

    Tux2000

    --
    Denken hilft.
    1. Re:Recommended: dnsmasq by JRIsidore · · Score: 2, Informative

      It's indeed a very helpful tool but it can cause some troubles. I tried it a while ago and got errors with Exim 4, it didn't like the DNS responses that dnsmasq sent out for my local machines and thus started to reject mails. Host queries and pings worked fine though. As I switched back to Bind the problems were gone. Dunno what went wrong, I didn't bother to dig deeper into this.

      --
      :w!q