[Dnsmasq-discuss] 2 routes
Gerrit Kuehn
gerrit.kuehn at aei.mpg.de
Mon Nov 29 07:18:24 UTC 2021
On Sun, 28 Nov 2021 15:44:38 -0800
Carl Karsten <carl at nextdayvideo.com> wrote:
> Can the server send 2 (or more) pairs of netmask/gateway ?
Depends. Do you need this for a single interface or for separate ones?
> Otherwise I suspect this can be done if client has 2 virtual
> interfaces, do dh request with different client ids.
Ig you have seprate interfaces, the obvious solution is to ask for a
dhcp lease and setup for each one. On a single interface, you can,
e.g., add static routes
---
# Send RFC-3442 classless static routes (note the netmask encoding)
#dhcp-option=121,192.168.1.0/24,1.2.3.4,10.0.0.0/8,5.6.7.8
---
HTH
cu
Gerrit
More information about the Dnsmasq-discuss
mailing list