Multiple gateways


#1

Hey guys,

I try to replace a small linux router with vyos. and i have a little bit trouble with configuration.
The route have 2 wan (dhcp) interfaces. in my old config i do something like this:

how can I do the same with vyos?


#2

Try something like these:

set protocols static table 2 route 0.0.0.0/0 next-hop 10.50.0.1

set policy route PBR rule 10 source address 10.50.0.150/32
set policy route PBR rule 10 set table 2

set interfaces ethernet eth0 policy route PBR