[Dnsmasq-discuss] 2 routes

Geert Stappers stappers at stappers.nl
Mon Nov 29 06:52:57 UTC 2021


On Sun, Nov 28, 2021 at 03:44:38PM -0800, Carl Karsten wrote:
> I don't think DHCP supports this, but I'm not sure.
> 
> Can the server send 2 (or more) pairs of netmask/gateway ?

Yes, DHCP option 121,  classless static routing

Described in https://datatracker.ietf.org/doc/html/rfc3442
 
Check dnsmasq man page for dhcp-option and dhcp-option-force


> Otherwise I suspect this can be done if client has 2 virtual
> interfaces, do dh request with different client ids.
} interfaces, do DHCP request with different client ids.
> 
> Trying to keep all the networking config settings on the server, not
> have anything baked into client machines.

Carl, original poster, will learn what the DHCP clients do
with what the DHCP server provides. I mean that having the
best server is meaningless when the clients don't understand it.


Groeten
Geert Stappers
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list