Ventoy Forums

Full Version: the `next-server` and `bootfile` options in dnsmasq
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
https://openwrt.org/docs/guide-user/base...#tftp_boot
https://openwrt.org/docs/guide-user/base...ng_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