route add default gateway
Sun. August 21, 2011Categories: Information, Linux
Tags: gateway, network, route
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
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