On 29/01/18 18:28, Drexl Johannes wrote: > Package: dnsmasq > Version: 2.76-5+deb9u1 > Severity: normal > > Dear Maintainer, > > when using tags for different address ranges (e. g. privilege separation) for > IPv4, option 3 (router) is not forwarded to the client. In its stead the > interface IP of the server is forwarded as router, which in some scenarios is > not the case at all. > >>From the config file: > # Defining subnet > # enp31s0 has 192.168.1.8 > dhcp-range=interface:enp31s0,192.168.1.128,192.168.1.254,255.255.255.0> # > Setting tags > dhcp-range=set:wan,192.168.1.128,192.168.1.254 > # Defining domains > domain=wan.domain.tld,192.168.1.0/24 > # Defining netmask, router, dns server and ntp-server > # WAN > dhcp-option = tag:wan, option:netmask, 255.255.255.0 > dhcp-option = tag:wan, option:router, 192.168.1.1 > dhcp-option = tag:wan, option:dns-server, 192.168.1.8 > dhcp-option = tag:wan, option:ntp-server, 192.168.1.8 > >
This config is wrong, the first dhcp-range makes no sense. You need a single dhcp-range statement dhcp-range=set:wan,192.168.1.128,192.168.1.254,255.255.255.0 Also the netmask option will be ignored and can be removed, Since you have log-dhcp switched on, it useful to check that the "wan" tag is actually set. You have not included that part of the log. Cheers, Simon.