Question Locked

Routing 3 networks together....

0 helpful
21 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Situation:
We have 3 networks: a main office, and 2 branch offices (a&b).
Main office is connected to branch A via dedicated T1 between serial interfaces, and connected to branch B via a VPN link over the internet.

My issue is routing between the branch offices. main office can communicate with both branches and both branches can communicate with the main. The two branches are unable to communicate with each other at all.

Routing seems to be set ok, i am wondering if maybe i need to be looking in the access lists?

What information would you all need to help me get back on the right track?

Thanks for all the help!

BTW main office is running a cisco 1841, office A running a cisco 2811, and office B another 1841.

21 replies

by pshiflet-24

Well, you would need to setup static routes at your branch office routers to force the next hop for the other branch office through the main office (if that makes any sense...).

Essentially, the branch with the VPN knows what addresses are in its own LAN and it knows what addresses are on the other end (destination network) of the VPN. You need to either setup a static route for the other branch on its router or, if the VPN config allows on the router, add an additional destination network to the VPN tunnel. This allows the router to know where to look.

If this isn't quite clear or you have further questions, please let me know. Thanks.

by jason.helm

So if i am following you, the changes need to be made at the branch offices not the main office? Sorry if i come across ignorant on this, my brain is mostly mush at this point from staring at this for a bout a week now.

I greatly appreciate your help!!!

by jason.helm

ok so main office internal ip range is 192.168.2.x, Branch A is 192.168.3.x, and Branch B is 192.168.1.x.
sh ip route from branch A:
x.x.x.0/24 is variably subnetted, 2 subnets, 2 masks
C x.x.x.x/30 is directly connected, Serial0/0/0
C x.x.x.x/32 is directly connected, Serial0/0/0
C 192.168.4.0/24 is directly connected, FastEthernet0/1
S 192.168.1.0/24 is directly connected, Serial0/0/0
S 192.168.2.0/24 is directly connected, Serial0/0/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via x.x.x.x

x.x.x.x representing external internet address'

Branch B sh ip route:

x.x.x.0 subnets, 2 masks
C x.x.x.x/30 is directly connected, Serial0/0/0
C x.x.x.x/32 is directly connected, Serial0/0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
192.168.2.0/24 is variably subnetted, 3 subnets, 3 masks
C 192.168.2.50/32 is directly connected, Serial0/1/0
C 192.168.2.0/30 is directly connected, Loopback0
S 192.168.2.0/24 is directly connected, Serial0/1/0
S 192.168.3.0/24 [5/0] via 192.168.2.50
S* 0.0.0.0/0 [3/0] via x.x.x.x

and finally Main Office sh ip route:

24.0.0.0/26 is subnetted, 1 subnets
C x.x.x.x is directly connected, FastEthernet0/1
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
S 192.168.1.0/24 is directly connected, Serial0/0/0
C 192.168.1.5/32 is directly connected, Serial0/0/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
S 192.168.3.0/24 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [4/0] via x.x.x.x

Have hidden the external addresses just for security.

Is this info helpful?

Thanks again for the assistance!

by pshiflet-24

Yes, your static routes look correct. Can you link through all 3 sites at this time?

by jason.helm

yes i can ping both ways across the vpn from main to branch B but trace dies out across the inet some where

by pshiflet-24

I think your problem, or part of it, is somewhere in your VPN. With all of my branches over VPN using tracert results in a direct location, no hops. It doesn't go out over the Internet. Are you running DNS in one of your locations by chance? And are you using both ping & tracert with IP addresses or host names?

Please let me know. Thanks.

by jason.helm

both branches can reach the main office and the main office can reach both branches, but the branches cannot reach each other

by pshiflet-24

Can you test, even with just tracert, to see where your requests are ending up (as opposed to where they should be going)? Please let me know.

by jason.helm

trace seems to make it across the serial to serial T1 connection to the main office from branch A and dies on the VPN connection to Branch B. Branch B seems trace dies out over that VPN link to, though I can ping devices on the network at the main office.

by jason.helm

thank you very very much for all your assistance in this by the way

by pshiflet-24

Okay, I am hoping somebody with a bit more Cisco experience stops by but I will do my best. I notice that Branch A shows the network for Branch B as directly connected, but Branch B's route to Branch A shows a "next hop" (i.e. via...) which I assume is the VPN endpoint at the main office.

Can you ping both ways between the main office & Branch B? Can you tracert from the main office to a Branch B LAN IP? Please let me know.

by pshiflet-24

Another possibility might be to just create a separate VPN tunnel between the branches. I doubt it would be preferred but it may be an option.

by jason.helm

no not running DNS anywhere, Just a point to point VPN, DNS servers are from the ISP. T1 at Branch, high speed cable at main. Would posting the config help?

by pshiflet-24

Can you successfully tracert between Branch A and the main office both directions? If yes, how many hops does it take to complete?

Posting your config may help or you could send it in a private message, if you would prefer.

by jason.helm

yes can trace between a and main with no problem. 1 hop...this is the connection that is a direct T1 serial to serial. I am fine with sending you the conifgs want them from all three locations? I can email them in txt files if that would be of help..?

by pshiflet-24

In one of your earlier posts you showed the routes you have setup on the routers & the LAN networks. The files you sent seem to be different. Either the configs were labeled opposite or the post was backwards but I am curious to know which way it is. Please look it over and let me know. Thanks.

by jason.helm

yes you are right, got my cart before the horse at the beginning, branches were backwards..Im sorry about that. The conifgs are as labled. Branch A is the direct T1 to the main via the routers serial port. The 2811 router is at A. Branch B is the VPN connection over the internet and is a cisco 1841. Main office has a cisco 1841.

Branch A is the internal addresses of 192.168.1.x, B is 192.168.3.X and main is 192.168.2.x

I am very sorry for the confusion

This discussion is closed to new replies.