route add default gateway

Use the route command to set a list all network routes on your machine.

To set a default gateway:

route add default gw 10.0.0.1 eth0