Is it possible to set route table priority or metric? On Ubuntu I can run following commands to achieve what I want, but I can't find alternative for OS X
sudo ip rule add from all lookup $ROUTE_TABLE_NAME prio 1000
sudo ip route add default via $ROUTER_IP dev $LOCAL_IFACE metric 0 table $ROUTE_TABLE_NAME
sudo ip route add default via $VPN_IP dev $VPN_IFACE metric 1 table $ROUTE_TABLE_NAME
I would appreciate any guidance.