Originally posted by: Astaroth33
Originally posted by: watts3000
Guys I plain on running my home website which is asp.net based and hits a sql server 2000 database. Also I will be running my exchange 2003 server and soon I will be putting up a citrix fearure release 2 or 3 test box. I plain on testing the citrix box over the web also. Astaroth33 I'm not a networking guru can you tell me why I might need to use some static routes.
Here's a crudely drawn ascii art example:
Internet------> Router 1 <-----> 192.168.1.0/24 <------> Router 2 <------> 192.168.2.0/24
Machines on the 192.168.1.0/24 network point to Router 1 as their gateway, and Router 1 has a default route pointing out to the internet. Machines on 192.168.2.0/24 point to Router 2 as their gateway, and Router 2 has a default route pointing to Router 1. Now suppose a machine on 192.168.1.0/24 needs to access a resource (say an ftp server or a webpage or something) on one of the machines in 192.168.2.0/24. That resource is not in the local subnet, so the computer sends the request to the default gateway, which attempts to send it out over the internet via the default route. A properly configured static route (or dynamic routing protocol like RIP) will make sure the router sends that request out the correct interface, to Router 2.
cmetz: RIP may not be the best protocol, but it is supported by most home NAT boxes and is incredibly easy to set up. My little example above would not be well served by OSPF (though it would work if the hardware supported it).