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

dwd4243Asked:
Who is Participating?
 
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
 
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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

no "ip"
0
 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.