sudo route -n add 10.10.10.10/16 192.168.4.11
sudo route -n delete 10.10.10.10/16 192.168.4.11
Viewing route table with:
netstat -nr
ROUTE(8) BSD System Manager’s Manual
NAME
route — manually manipulate the routing tables
SYNOPSIS
route [-dnqtv] command [[modifiers] args]
DESCRIPTION
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).
https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man8/route.8.html