Re: [Dnsmasq-discuss] DHCP range for hostnames containing string

2023-01-23 Thread Craig Wright via Dnsmasq-discuss
To Buck - My intention for matching !known devices is that I want them in a separate range. So basically any devices that are not tagged mbdevices, and also not in my dhcp-host list (which go in to the top range) would go in to the 'unknown' range. ___

Re: [Dnsmasq-discuss] DHCP range for hostnames containing string

2023-01-23 Thread Craig Wright via Dnsmasq-discuss
Update on this issue, but still not fully resolved I received the following advice from Simon: "> To set the mbdevices tag, you need to use dhcp-match to look for MB in > the hostname option (which has number 12). >> dhcp-match=set:mbdevices,12,MB >> Almost works, but it will match MB anywher

[Dnsmasq-discuss] DHCP range for hostnames containing string

2023-01-19 Thread Craig Wright via Dnsmasq-discuss
Hi,I am trying to allocate all hosts that join my network with a hostname beginning 'MB' to a specific DHCP range.After much internet research I can't find if there is a solution.So far I have got: dhcp-range=tag:mbdevices,192.168.0.50,192.168.0.60,255.255.255.0,12h and have trieddhcp-host=MB*,se