-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 12/08/15 12:36, Andreas Misje wrote: > Greetings, > > I have two IPv4 "dhcp-range" options in my configuration file, one > of them matching a tag. DHCP discovers and requests from clients > with the given tag are usually answered with an address from the > correct range. However, if the client requests an IP address from > the other range, dnsmasq will happily give the client that address. > I feel that this is wrong. Should not a tagged request be offered > an address only from the "dhcp-range" with that tag? > An untagged dhcp-range is fair game, if you want to exclude the other range to clients which set the tag do dhcp-range=tag:my-tag,....... dhcp-range=tag:!my-tag,........ ie explicitly exclude the "untagged" range when the tag is set. Cheers, Simon. > I also have two "dhcp-option" options, one tagged and one not. The > behaviour seems to be correct here: The client will always get the > correct (tagged) option. > > I can provide full configuration, detailed log output and network > traffic dumps if needed. I am certain that the client is tagged > (verified from log). > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJV0PsHAAoJEBXN2mrhkTWiPcoP/1tTTULq+rzrzOhbRr55JOOv AnMX/Mu3+T/lHMtsed0CvqTwTJK2ngF/Htr7Pm1oVnNnfCvudBlBAJ3aH0DbzP26 7jGZMsanI3v8lvft5XBBmT1SazJO6BFrDZx4Qe3nx1/ABJEofDpP0CNpDAyBvSxh QIUB+TYSpwD1Fwbwg+2oiUYfPuHBf9fnEQP8ps6zeqgGGDZ0coMvZv9zwHnLxFGc PR0uUfIue5QKq/ZJxvuy9nSoD8c88QJcW2dfYWYqX0GFEqVmMKE6PKwQgdY3m584 fEeMszVrARiDmwfVZQdE7oDIhXrMng+c9m4HBFvxtgfajmrAEglGDXfO2jxMTWZQ zwJEOuvPeZGJ+hIlivbM+xN3sKLHLmPf6grDFa/vfuDgce15ddAKM9r9CdajwN3e 1UveDnLVRqLbkQLn9GoN7FWpHHSD4Np4wyzSZy7bUp4dYAYxPNeZ5ksS4nKIIoM6 cE8sJOLO36PUXU7gPgyvkF+riWBB0/rgeD07CYnjpMy5nND3cvq+O3l4XNgq6vAd DbkItZmHJSmPXwdr2CvpIRwrAvnNrBCAcwaqLP5b3sP1ZSz45zAAVG+YSKpnfjSB vfHu+YbagHKYPtzr+p0Lpvol3WsHvAoibNcQSKou3nG04jN21n8PE/qnSHXN4C4t ONWLP5M1sbRQluI4NoP3 =PHZh -----END PGP SIGNATURE----- _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss