: The Scratchpad :

Adding default route in Linux

route add gw <IP Address of the gateway> <interface name>

eg: “route add gw 192.168.1.1 eth0”

July 26, 2011 Posted by | Linux Tips | Leave a comment