Gateway for any lan


#1

In the router mode ,i need add a dedicated gateway for any Lan interface.
I see that we can just raise a system gateway in the VyOs.
How can i do that?


#2

Maybe You try use static route for each Lan interface, example:

Lan 192.168.0.0/24 - set protocols static route 192.168.0.0/24 next-hop x.x.x.x
Lan 192.168.1.0/24 - set protocols static route 192.168.1.0/24 next-hop x.x.x.x

Regards