
If you need multiple DNS forwarders with different configurations or DHCP server with different sets of lease files. etc /init.d /dnsmasq reload Multiple DHCP/DNS server/forwarder instances Uci set rvername= " $(uci get commit dhcp Uci set dhcp.filename= 'tag:efi64,efi64/syslinux.efi' Uci set dhcp.filename= 'tag:efi32,efi32/syslinux.efi' Uci set rvername= " $(uci get add dhcp boot Uci set dhcp.filename= 'tag:bios,bios/lpxelinux.0' Uci set dhcp.match= '60,PXEClient:Arch:00009' Uci set dhcp.match= '60,PXEClient:Arch:00007' Uci set dhcp.match= '60,PXEClient:Arch:00006' Uci set dhcp.match= '60,PXEClient:Arch:00000' You can match on the DHCP “Vendor Class Identifier” option (60) specified by the client to send back the right filename.

PC BIOS, UEFI x86 32bit, UEFI x86 64bit, ARM, etc. etc /init.d /dnsmasq restart Use vendor-specific DHCP option to disable NetBios over TCP for Windows Clientsįor PXE boot, each client needs a specific binary for its architecture e.g. Use the mac classifier to create a tagged group.Īssign different DHCP options to hosts with matching MACs.ĭisable default gateway and specify custom DNS. Specify custom DNS and possibly other DHCP options.

Use the tag classifier to create a tagged group.Īssign individual DHCP options to hosts tagged with tag1.

This is an implementation of the -dhcp-host option. Using multiple MACs per host entry is unreliable, add a separate host entry for each MAC if the host has more than one interface connected simultaneously. Reconnect your clients to apply the changes. Uci add_list dhcp.mac= "aa:bb:cc:dd:ee:ff" Add a fixed IPv4 address 192.168.1.22 and name mydesktop for a machine with the MAC address 00:11:22:33:44:55.
