List current routing table
netstat -nr
List current ip address
ifconfig
Add a new route
sudo route add -net 11.11.11.11/32 192.168.0.1
192.168.0.1
is your default gateway.
Delete a route
sudo route delete -net 11.11.11.11/32 192.168.0.1
List current routing table
netstat -nr
List current ip address
ifconfig
Add a new route
sudo route add -net 11.11.11.11/32 192.168.0.1
192.168.0.1
is your default gateway.
Delete a route
sudo route delete -net 11.11.11.11/32 192.168.0.1