dnsmasq
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dnsmasq [2026/09/07 13:47] – created reddy | dnsmasq [2026/09/07 14:21] (current) – [For PXE boot] reddy | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| # | # | ||
| # | # | ||
| + | |||
| + | # | ||
| + | # | ||
| </ | </ | ||
| + | |||
| + | ==== For DHCP ==== | ||
| + | |||
| + | < | ||
| + | dhcp-range=192.168.0.1, | ||
| + | dhcp-option=3, | ||
| + | dhcp-host=the-mac-address, | ||
| + | # See / | ||
| + | </ | ||
| + | |||
| + | ==== For tftp ==== | ||
| + | < | ||
| + | enable-tftp | ||
| + | tftp-root=/ | ||
| + | # | ||
| + | # | ||
| + | </ | ||
| + | |||
| + | # tftp commands | ||
| + | # connect 127.0.0.1 | ||
| + | # get filename | ||
| + | # quit | ||
| + | # put filename | ||
| + | |||
| + | ==== For PXE boot ==== | ||
| + | |||
| + | < | ||
| + | interface=_ | ||
| + | dhcp-range=_ | ||
| + | dhcp-boot=pxelinux.0 | ||
| + | enable-tftp | ||
| + | tftp-root=_ | ||
| + | |||
| + | bogus-priv | ||
| + | expand-hosts | ||
| + | no-resol | ||
| + | server=8.8.8.8 | ||
| + | </ | ||
| + | |||
| + | In the TFTP root directory, download the TGZ (netboot.tar.gz for Debian) and extract. | ||
| + | |||
| + | Use a bridged adapter, if dnsmasq is running on a VM. | ||
dnsmasq.1788781676.txt.gz · Last modified: by reddy
