This problem is that apparently dnsmasq is adding its own default gateway and it appears higher up in the configuration file so it overrides the one you set via the UI.
Not really sure how to fix this though.
Here's what my /tmp/dnsmasq.conf file looks like:
Quote:
interface=br0
resolv-file=/tmp/resolv.dnsmasq
all-servers
strict-order
cache-size=2000
dhcp-leasefile=/tmp/dnsmasq.leases
dhcp-lease-max=58
dhcp-option=br0,3,192.168.1.5 <-- default
dhcp-option=6,192.168.1.1
dhcp-authoritative
dhcp-range=br0,192.168.1.100,192.168.1.149,255.255.255.0,1440m
dhcp-host=A0:36:9F:1F:B2:F6,DaFurnace2017,192.168.1.4,9999999m
dhcp-host=00:0c:29:db:58:1c,DaFurnace2017-Ubuntu-VM,192.168.1.9,9999999m
dhcp-host=A0:36:9F:1F:B0:30,T5500,192.168.1.7,9999999m
dhcp-host=98:FC:11:93:40:52,E3000,192.168.1.3,9999999m
dhcp-host=00:1D:7E:F0:B1:AC,54GL,192.168.1.2,9999999m
dhcp-host=00:0C:29:E8:37:67,FileServer,192.168.1.6,9999999m
dhcp-host=00:26:18:24:A6:0E,Ubuntu-ZCash,192.168.1.8,9999999m
dhcp-host=40:6c:8f:36:b4:49,MBP-2014,192.168.1.10,9999999m
stop-dns-rebind
dhcp-option=3,192.168.1.1 <-- the one I want to add
This problem is that apparently dnsmasq is adding its own default gateway and it appears higher up in the configuration file so it overrides the one you set via the UI.
Not really sure how to fix this though.
Here's what my /tmp/dnsmasq.conf file looks like:
Quote:
interface=br0
resolv-file=/tmp/resolv.dnsmasq
all-servers
strict-order
cache-size=2000
dhcp-leasefile=/tmp/dnsmasq.leases
dhcp-lease-max=58
dhcp-option=br0,3,192.168.1.5 <-- default
dhcp-option=6,192.168.1.1
dhcp-authoritative
dhcp-range=br0,192.168.1.100,192.168.1.149,255.255.255.0,1440m
dhcp-host=A0:36:9F:1F:B2:F6,DaFurnace2017,192.168.1.4,9999999m
dhcp-host=00:0c:29:db:58:1c,DaFurnace2017-Ubuntu-VM,192.168.1.9,9999999m
dhcp-host=A0:36:9F:1F:B0:30,T5500,192.168.1.7,9999999m
dhcp-host=98:FC:11:93:40:52,E3000,192.168.1.3,9999999m
dhcp-host=00:1D:7E:F0:B1:AC,54GL,192.168.1.2,9999999m
dhcp-host=00:0C:29:E8:37:67,FileServer,192.168.1.6,9999999m
dhcp-host=00:26:18:24:A6:0E,Ubuntu-ZCash,192.168.1.8,9999999m
dhcp-host=40:6c:8f:36:b4:49,MBP-2014,192.168.1.10,9999999m
stop-dns-rebind
dhcp-option=3,192.168.1.1 <-- the one I want to add
Old post, sorry, but I had the same problem and thanks to your post had the same line in my dnsmasq.conf file.
I added this line to my dnsmasq options:
dhcp-option=br0,3,192.168.2.1
and this appears to fix things. I speculate that adding my new line in later overwrites the value that was already earlier in the file.