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 Donald Muller
Sorry. Misread and thought they were being assigned to the first range. From: Craig Wright Sent: Monday, January 23, 2023 9:15:39 AM To: Donald Muller Subject: Re: [Dnsmasq-discuss] DHCP range for hostnames containing string Can you explain how this would help

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

2023-01-23 Thread Buck Horn
On 23.01.2023 10:28:50, Craig Wright wrote: I have currently: dhcp-range=192.168.0.2,192.168.0.10,255.255.255.0,12h dhcp-range=tag:mbdevices,192.168.0.50,192.168.0.60,255.255.255.0,12h dhcp-range=tag:!known,192.168.0.11,192.168.0.20,255.255.255.0,12h and have tried each of the lines:

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

2023-01-23 Thread Donald Muller
Subject: Re: [Dnsmasq-discuss] DHCP range for hostnames containing string 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 ha

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

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

2023-01-19 Thread Geert Stappers
On Thu, Jan 19, 2023 at 02:03:18PM +, Craig Wright via Dnsmasq-discuss wrote: > Hi,I am trying to allocate all hosts that join my network with a > hostname beginning 'MB' to a specific DHCP range. How did the does devices a hostname beginnen with 'MB'? Could those devices get a "VendorID" in

[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