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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Route Add command--Help 1

Status
Not open for further replies.
Jan 10, 2001
2,873
US
How do you set up a route between 2 subnets.
Subnet A---192.168.1.x
Router A---192.168.1.220

Subnet B---192.168.2.x
Router B---192.168.2.220

I want to set up a route from Subnet B to Subnet A on a SCO 5.+

I have been told to use the route add command but I am unfamiliar with it in SCO. James Collins
Systems Support Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
butchrecon

in general
/etc/route command destination gateway [ metric ]

on subnet a

route add network 192.168.2.0 192.168.1.220

on subnet b

route add network 192.168.1.0 192.168.2.220

this assumes that router a and b are either the same machine with ipforwarding turned on or they know how to get to each other in their own routing tables.

hth
stan
 
Thanks stan that was what I was looking for. I used the command a LONG time ago and could not remember it. I appreciate the help. James Collins
Systems Support Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top