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!

Reply via email to