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

Help adding static route

Status
Not open for further replies.

eightball

IS-IT--Management
Aug 6, 2001
85
US
I have two networks connencted by t1's and cisco routers. I also have another cisco router with nat enabled acting as my internet gateway.

SiteA cisco IP=192.168.1.90
SiteB Cisco IP=192.168.2.1
Internet Router IP=192.168.1.84



The network is up and running currently and SiteA & B can talk just fine to each other. SiteA also can get on the internet with no issue. SiteB cannot get on the internet.
I want to enable users from SiteB to get on the internet.
What commands do I need to do to acomplish this and save.

en
config t
ip route 0.0.0.0 0.0.0.0 192.168.1.84
ip route 192.168.1.0/24 192.168.10.1 "192.168.10.1 is /S0"
???
???
???
???
Thanks




 
Gateway of last resort is 192.168.10.1 to network 0.0.0.0

c 192,168.10.0/24 is directly connected, serial0
c 192.168.102.0/24 is directly connected, loopback0
r 192.168.1.0/24 [120/1] via 192.168.10.1, 00:00:07, serial0
c 192.168.2.0/24 is directly connected. fastethernet0
s* 0.0.0.0/0 [1/0] via 192.168.10.1
 
Shouldn't your default gateway be 192.168.1.84? This route has learned about the 192.168.1.0/24 network from 192.168.10.1, so go ahead and remove the existing default gateway and replace it with 192.168.1.84.
 
I have it working. I added a route to siteA. The default gateway I had alread set, but even though the Internet router is cisco, I have it between a firewall, which also does routing and does not have RIP. So here is what I did to get it working.

RouterA
ip route 0.0.0.0/0 192.168.1.84

All the other routes for each network were statically set already.

Everything running good thanks for your help Baddos
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top