Categories
DNS Network 笔记

DNSMASQ Send Different DHCP Options by Hosts

By @sskaje
Link: https://sskaje.me/2016/10/dnsmasq-send-dhcp-options-hosts/

I choose DNSMASQ as DHCP server, and I want to push different ‘router’ setting to clients.

DNSMASQ supports tagging on hosts/ip ranges/subnets, I tag my mac address (with static ip-mac binding) as ‘prx’ and set ‘option:router’ to 192.168.1.20 if tag matches ‘prx’.

Here is my configuration:

DNSMASQ Send Different DHCP Options by Hosts by @sskaje: https://sskaje.me/2016/10/dnsmasq-send-dhcp-options-hosts/