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

Setting a Static Route

Status
Not open for further replies.

mezanine

IS-IT--Management
Jul 27, 2001
61
US
I have 2 Cisco 1720's running a wan PPP. Each router has a WIC. Router A has an ethernet address of 192.1.1.252 and a WIC address of 192.168.100.1. Router B has and ethernet address of 192.2.200.252 and a WIC address of 192.168.100.2. I would like to route all traffic bound for the i-net from Router B, to be routed through router A, and then Router A passes it out my inet router which has an IP of 192.1.1.254.. I appreciate any help that you may have.

Thanks
 
Try this out. This will do what you want to do if Router A has a default static route.

I.e. ip route 0.0.0.0 0.0.0.0 192.1.1.254

Router A:

configure terminal
router ospf 100
router-id 192.168.100.1
log-adjacency-changes
network 192.1.1.0 255.255.255.0
network 192.168.100.1 255.255.255.0
default-information originate
exit
exit
copy running-config startup-config

Router B:

configure terminal
router ospf 100
router-id 192.168.100.2
log-adjacency-changes
network 192.168.100.0 255.255.255.0
network 192.2.200.1 255.255.255.0
default-information originate
exit
exit
copy running-config startup-config
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top