DNSMasq - Default Gateway?

,

Hi All,

I am looking for a way to setup the Default Gateway IP under the DNSMasq-Module/App

On the Client it shows the NS8-IP but I need to setup the Router-IP…

How can I do it?

Create a file /var/lib/nethserver/dnsmasq1/state/dnsmasq.d/99custom.conf with following content:

dhcp-option=option:router,192.168.0.1

Restart service:

systemctl restart dnsmasq1

See also DNSMasq — NS8 documentation

2 Likes

Thank you Markus, this works!

1 Like