The syntax is as follows:
route add default gw {IP-ADDRESS} {INTERFACE-NAME}
Where,
* IP-ADDRESS: Specify router IP address
* INTERFACE-NAME: Specify interface name such as eth0
For example if your router IP address is 192.168.1.254 type the following command as the root user:
# route add default gw 192.168.1.254 eth0
Dec 12, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment