• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1443
  • Last Modified:

How to write a route statement

I have two offices joined by a permanent point-to-point T1.  The IP addresses of the vendors routers at either side of the T1 are 192.168.1.7 (Office1) and 192.168.2.7 (Office2).  I have just installed a Cisco ASA 5505 at Office1 (IP 192.168.1.1) and I need to figure out what route statement to enter into the configuration of my Cisco, so that any requests which need to go from Office1to Office2 are directed to 192.168.1.7.  Any help would be greatly appreciated as I am NOT a Cisco guy.  Thanks

0
dwd4243
Asked:
dwd4243
  • 2
  • 2
  • 2
  • +1
1 Solution
 
cipher007Commented:
Here's connection configuration of T1 back-to-back..
http://www.cisco.com/warp/public/116/t1_back_to_back.html

hope this helps,
0
 
SaineolaiCommented:
What default gateway do the PCs in Office 1 have as their default gateway 192.168.1.1 or 192.168.1.7?
To create a static route on the ASA device to route trafffic for 192.168.2.0/24 to 192.168.1.7 enter the following comand in config mode.

ip route inside 192.168.2.0 255.255.255.0 192.168.1.7 1
0
 
SaineolaiCommented:
Sorry it's just
route inside 192.168.2.0 255.255.255.0 192.168.1.7 1

no "ip"
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
lrmooreCommented:
On your point-point routers:

Remote site:
 ip route 0.0.0.0 0.0.0.0 serial 0/0

Main site P2P router
  ip route 192.168.2.0 255.255.255.0 serial 0/0
  ip route 0.0.0.0 0.0.0.0 192.168.1.1

ASA:
 route outside 0.0.0.0 0.0.0.0 1.2.3.1
 route inside 1921.68.2.0 255.255.255.0 192.168.1.7

There shoud not be any other route statements on any of the 3 devices.

Here's the rub - your main site LAN must use 192.168.1.7 - the P2P router - as the local lan default gateway and NOT THE ASA 192.168.1.1
0
 
dwd4243Author Commented:
I'm not sure if I explained our network setup correctly.  If I use the 192.168.1.7 as the default gateway, we would not be able to get onto the internet.  The 192.168.1.7 router was provided by our telecom vendor, and is used only to connect to the remote office.  In the remote office is the same router, but the IP on that router is  192.168.2.7.  
We use our Cisco ASA 5505 (192.168.1.1)  as our default gateway to get to the internet.  
0
 
lrmooreCommented:
You did explain your network correctly, and I understood it.
The problem is that you cannot use the ASA as thedefault gateway because you will not be able to reach anything on the remote network.
As long as the T1 router has its default route pointing to the ASA then yes, you certainly will be able to get onto the internet when you use it as your default gateway.
The ASA is not a router and will not 'bounce' packets destined for another inside network (your remote) back to another inside host (the router). On the other hand, the router certainly will. That's one if its functions.
0
 
dwd4243Author Commented:
Yes, you are correct sir.  I changed our default gateway and it fixed it.  We just had to tell the vendor's router to look back to the ASA.  Thanks!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now