Skip to content

Instantly share code, notes, and snippets.

@linuxluser
Created April 15, 2015 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linuxluser/cf8f967c9ec8167e6fed to your computer and use it in GitHub Desktop.
Save linuxluser/cf8f967c9ec8167e6fed to your computer and use it in GitHub Desktop.
# Upstream nameservers
server=8.8.8.8
server=8.8.4.4
# Interface to listen on
interface=eth0
# Interface(s) NOT to listen on
except-interface=wlan0
# Set the local network domain
domain=mydomain.com
# Enable DHCP with the given range and lease time
dhcp-range=192.168.0.1,192.168.0.255,4h
# (Optional) Read /etc/ethers file to assign IPs for given MAC address
read-ethers
# Give clients the default gateway/router IP
dhcp-option=option:router,192.168.0.11
# Set the root directory for files available via FTP.
#tftp-root=/tftpboot
# Set the boot filename for netboot/PXE
#dhcp-boot=pxelinux.0
# Enable dnsmasq's built-in TFTP server
#enable-tftp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment