Ventoy Forums
the `next-server` and `bootfile` options in dnsmasq - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: iVentoy General Use —— iVentoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=7)
+--- Forum: iVentoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=8)
+--- Thread: the `next-server` and `bootfile` options in dnsmasq (/showthread.php?tid=2607)



the `next-server` and `bootfile` options in dnsmasq - tcitr-chen - 08-03-2023

When using iVentoy in conjunction with a third-party DHCP server, where the DHCP for my local network is provided by dnsmasq on the OpenWrt software router, and my iVentoy machine is deployed within the local network under OpenWrt, how should I configure the `next-server` and `bootfile` options in dnsmasq?

I find it
https://dnsmasq.org/docs/dnsmasq.conf.example

Is it sufficient to only set the `dhcp-boot` parameter in the `dnsmasq.conf` file?
like dhcp-boot=iventoy_loader_16000_uefi,tftpserver,192.168.1.69(iVentoy ip)

Sorry, I'm new to this.


RE: the `next-server` and `bootfile` options in dnsmasq - longpanda - 08-10-2023

Please refer: https://forums.ventoy.net/showthread.php?tid=2511&pid=7627#pid7627


RE: the `next-server` and `bootfile` options in dnsmasq - BrainStone - 08-10-2023

nextserver is only needed when iVentoy spawns its own DHCP to automatically determine the arch of the host.

If you use ExternalNet, just dhcp-boot is needed.


RE: the `next-server` and `bootfile` options in dnsmasq - kimi - 10-02-2023

https://openwrt.org/docs/guide-user/base-system/dhcp_configuration#tftp_boot
https://openwrt.org/docs/guide-user/base-system/dhcp#booting_options

Code:
uci set dhcp.linux="boot"
uci set dhcp.linux.filename="iventoy_loader_16000_uefi"
uci set dhcp.linux.serveraddress="192.168.1.69"
uci set dhcp.linux.servername="xxxx"
uci commit dhcp
/etc/init.d/dnsmasq restart