[Dnsmasq-discuss] Relay agent + PXE boot on diskless nfsroot environment

Taner taner76 at gmail.com
Wed Jan 15 16:23:02 GMT 2020


Hi,
We have different branch locations based on thin-client and terminal server
topology. Our terminal servers provide dns,dhcp and tftp services via
dnsmasq. With regular configuration which dhcp leases stored locally,
everything is fine. Clients get ip address, load kernel and initramfs,
mount nfs based root file system and then load the Linux operation system
(Debian 10).

We recently decided to keep our lease information at central dhcp servers.
Thus, locally running dnsmasq dhcp services have to be in as dhcp relay
mode. Unfortunately I stuck on come up with a proper configuration in order
to accomplish this.

We want to accomplish our regular operation with just changing dnsmasq
configuration on terminal servers. We tried such configurations below but
we couldn't make it work.

dhcp-range=10.2.5.11,proxy
dhcp-relay=10.2.5.11,10.2.1.19
dhcp-relay=10.2.5.11,10.2.1.20
enable-tftp
tftp-root=/srv/tftp
log-dhcp
dhcp-boot=pxelinux.0

Can we accomplish this with a single dnsmasq configuration on branch
locations? Is it mandatory to deploy another dhcp server if we use proxy
configuration?

If you provide a useful configuration snippet, I will be appreciated.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20200115/d4430328/attachment.html>


More information about the Dnsmasq-discuss mailing list