Per eth Gateway

Hi Guys,

Hoping someone can help me.

I have my Vyos setup with a bunch of Nics.

eth0 - 192.168.1.0/24
eth1 - 192.168.2.0/24
eth3 - 192.168.3.0/24
eth4 - 172.16.16.0/24

I have a static route 0.0.0.0 that sends the traffic to a device on 192.168.1.253 say. This is fine and everything is good

However for eth4 , lets say the default gateway is 172.16.16.254 , for this network i want the traffic to always go to 172.16.16.253 as the next hop.

Any ideas?

Look at this example in our docs: