[Dnsmasq-discuss] Using Vendor Class to determine range

richardvoigt at gmail.com richardvoigt at gmail.com
Fri Mar 4 16:12:34 GMT 2011


Are you releasing the lease after changing the client configuration, or
renewing an existing lease?

On Thu, Mar 3, 2011 at 11:31 PM, Michael P. McDonnell
<bzaks1424 at gmail.com>wrote:

> So I'd like to use vendor class identifer to create two different ranges in
> dnsmasq, and I'm not entire sure how to go about that.
>
> dhcp-vendorclass=set:custom,"Sample Vendor Class"
> dhcp-range=tag:custom,192.168.0.50,192.168.0.150,12h
> dhcp-range=192.168.0.151,192.168.0.254,12h
>
> However - if I take a single client and flip the vendor-class-identifier on
> or off in the dhclient.conf, I don't get a different IP.
> Am I doing something wrong? Should I be looking to do something differently
> in my config?
>
> Also - would it be possible for me to exactly specify to only run
> dhcp-script for a specific lease? (so only the dhcp leases tagged with
> "custom" ? ) Or do I need to just put that logic in the script that the
> dhcp-script is calling?
>
> Thanks for your help in advance!
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20110304/94010134/attachment.htm 


More information about the Dnsmasq-discuss mailing list