DHCP

The utility dnsmasq handles both DNS and DHCP. Settings are contained in /etc/dnsmasq.conf

root@voyage:/etc# more dnsmasq.conf

#Use this range for dynamic address assignments
dhcp-range=192.168.11.128,192.168.11.192,12h

#Reserve this range for static assignments
dhcp-range=192.168.11.0,255.255.255.128,static

#Give this machine a particular IP address with an infinite lease
dhcp-host=Lorcan-PC,192.168.11.112,infinite
Advertisements