cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2358
Views
0
Helpful
7
Replies
Highlighted
Beginner

Add route to gateway from remote (Site-to-Site) network

Hi guys,

Could you advice is it possible (how if yes) to route to specific site through gateway which is belong to remote network (via Site-to-Site)?

In my case: there are 2 networks (192.168.10.0 and 192.168.70.0) connected via site-to-site. My question is how to get from 192.168.10.0 to, for example, 198.133.219.25 via gateway for 192.168.70.0?

Thanks

7 REPLIES 7
Highlighted
Beginner

you mean (site to site Ipsec VPN )  ???

By the way, if you are using a Cisco IOS, Cisco IOS routers are doing Recursive lookup by default, so as long as you can reach the gateway 192.168.70.0, you can just install the route to 198.133.219.25 via 192.168.70.X for example and the router will do two lokups in its routing table to reach the destination.

aslo you need to adjust the proper routing configuration on 198.133.219.25 to be able to reach 192.168.10.0 through 192.168.70.xx

Regards.

Highlighted

Yes, I mean IPsec VPN. How can I install the route to 198.133.219.25 (cisco site) via 192.168.70.x?

Because it's cisco site, so I have no access to it routing config.

Highlighted

Hi Nick,

would you mind to add the network diagram?

cheers,

Highlighted

Hi Handoko,

Sorry, I'm very bad painter. So in few words I need to get to cisco site with public IP of remote gateway. For all other internet with public IP of local gateway. I'm not sure how to setup it.

Thanks

Highlighted

hi Nick,

from your network, how many gateway are there to the internet?

normal routing decision based on cost/path. if you want to have diffrent route than the normal routing decision, perhaps you need to use route map to alter the normal routing decision.

regards,

Highlighted

There is 1 router\gateway in my network. As I understood it's impossible to use gateway from remote network even if remote network connected via VPN. Am I right?

Highlighted

hi Nick,

routing is done hop per hop basis.

for example,

- your site to site vpn peer is x.x.x.x

- the gateway for network 192.168.70.0 is 192.168.70.1

on your router you can add ip route 198.133.219.25 255.255.255.255 192.168.70.1

but then, your router gonna try to find what is the next hop ip for 192.168.70.1, which is x.x.x.x

then the packet is on x.x.x.x router, trying to find how to get to 198.133.219.25. at this point the routing decision is totaly based on the routing table of this router. if there is no entry in the routing table on how to reach 198.133.219.25, then the packet is dropped. if there is an entry for 198.133.219.25, the router will pass the ip packet to the next hop ip.

regards,

Content for Community-Ad