[Dnsmasq-discuss] Using Vendor Class to determine range

richardvoigt at gmail.com richardvoigt at gmail.com
Fri Mar 4 16:19:22 GMT 2011


Does dnsmasq have dhcp logging enabled?  Can you paste the few lines
associated with giving the client an address from the wrong block?

On Fri, Mar 4, 2011 at 10:15 AM, Michael P. McDonnell
<bzaks1424 at gmail.com>wrote:

> I'm was just doing a dhclient eth0 on the client. So I guess that would
> make sense not killing the lease all together...
>
> so I tried doing a dhclient -r eth0, then doing a dhclient eth0. No luck
> :-/
>
>
> On Fri, Mar 4, 2011 at 10:12, richardvoigt at gmail.com <
> richardvoigt at gmail.com> wrote:
>
>> 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/7ce8cc77/attachment.htm 


More information about the Dnsmasq-discuss mailing list