route add default gateway

Sun. August 21, 2011
Categories: Information, Linux
Tags: , ,

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

Comments