06-18-2012 09:11 PM - edited 03-07-2019 07:19 AM
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
06-19-2012 07:13 PM
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.
06-19-2012 08:08 PM
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.
06-20-2012 01:25 AM
Hi Nick,
would you mind to add the network diagram?
cheers,
06-20-2012 04:26 PM
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
06-21-2012 12:15 AM
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,
06-21-2012 05:39 PM
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?
06-21-2012 09:10 PM
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,
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: