How to quickly add a route in OSX

sudo route -n add
sudo route -n delete

Viewing route table with:

netstat -nr

ROUTE(8) BSD System Manager’s Manual

route — manually manipulate the routing tables

route [-dnqtv] command [[modifiers] args]

Route is a utility used to manually manipulate the network routing tables. It normally is not needed,
as a system routing table management daemon such as routed(8), should tend to this task.

The route utility supports a limited number of general options, but a rich command language, enabling
the user to specify any arbitrary request that could be delivered via the programmatic interface dis-cussed discussed
cussed in route(4).

How to quickly add a route in OSX