I think if you have dhcp on Your wan connection the default gateway is set to the one provided by the dhcp server. So you do not need to set a default gateway in Your config.
Thanks.
I think,vyos for the fixed address is very effective, but for like DHCP dynamic address is not applicable.
In particular,PolicyBasedRouting and Static Route Table.
I want set some policy route,but the custom route table can not changed.
vtysh -c “conf t” -c “ip route 0.0.0.0/0 x.x.x.x table 10 30”
x.x.x.x get from dhcp gw