On Mon, Jul 9, 2012 at 10:18 AM, Helmut Hullen <hul...@t-online.de> wrote: > Hallo, richardvo...@gmail.com, > > Du meintest am 09.07.12: > >>> We wanted >>> >>> dhcp-range=192.168.0.10,static,infinite >>> # (192.168.0.0/24) for the school computers >>> dhcp-range=192.168.18.10,192.168.31.250,30d >>> # (192.168.16.0/20) for the private machines >>> >>> and defined all school computers via "dhcp-host=...". >>> >>> Sometimes/often they got IP adresses from the "private" net. > >> Assign the #known (or newer, !known) tag to the private dhcp-range, >> this way it won't ever be used for hosts which have static addresses. > > Just for clarity: you mean something like > > dhcp-host=11:22:33:44:55:66,192.168.0.41,pc41 > > with "static address"? And not "user defined IP address"?
Yes, the "known" tag matches all dhcp-host entries, including those converted from /etc/ethers. Quote from the man page: "When a host matches any dhcp-host directive (or one implied by /etc/ethers) then the special tag "known" is set." _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss