Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

route question

Status
Not open for further replies.

TheDash

MIS
Mar 25, 2004
171
US
Hello,

Can someone tell how to add route?
All I have the ip address of gateway. Is that sufficient to add route to access internet? If so, please tell the command syntax. Thanks.

 
Hi,

Thanks, but there is a default gateway already .... I have to add two more gateways in order to reach internet. I think the command is different in that case.
 
To add other route:
route add dest_net ip_gateway
To reach the net xxx.xxx.xxx.xxx using the yyy.yyy.yyy.yyy gateway

route add xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy

You dont need use the term "default", because you already have a default gateway.

May be you need to use the netmask parametrs, so: man route.

Luis Henrique Pinho
No Orkut - Unix Brasil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top