07-31-2012 02:14 AM - edited 03-04-2019 05:07 PM
Hi
I have 2 sites, they are connected via an MPLS service.
I have a statement on both of them that creates a vpn tunnel using cryptomaps, the peer address is the providers MPLS address of the router for each site.
my question is, when I do the match address statement, then put the traffic I want to be encrypted in my access list, does this traffic automatically get routed to the peer address I set using the set peer command?
or do I also need an IP route for this?
please help
Carl
Solved! Go to Solution.
07-31-2012 04:46 AM
Hello Carl,
you may need static routes in order to have traffic to be encrypted to be sent out the interface on which you have applied the crypto map.
Traffic before is encrypted has to be routed from the internal interfaces to the MPLS facing interface.
So the destination IP subnets of the remote end need routing entries in IP routing table with outgoing interface = MPLS interface to work correctly.
The MPLS service provider has to provide IP routing services between the IPSec peer addresses both local and remote.
In some cases a simple default static route pointing to the MPLS interface can be enough and can be already in place.
Hope to help
Giuseppe
07-31-2012 04:46 AM
Hello Carl,
you may need static routes in order to have traffic to be encrypted to be sent out the interface on which you have applied the crypto map.
Traffic before is encrypted has to be routed from the internal interfaces to the MPLS facing interface.
So the destination IP subnets of the remote end need routing entries in IP routing table with outgoing interface = MPLS interface to work correctly.
The MPLS service provider has to provide IP routing services between the IPSec peer addresses both local and remote.
In some cases a simple default static route pointing to the MPLS interface can be enough and can be already in place.
Hope to help
Giuseppe
07-31-2012 08:02 AM
but I thought when doing the match address it would automatically send to the ip where you have done the set peer ?
07-31-2012 08:09 AM
Hello Carl,
routing is needed to reach the interface where the crypto map is applied. The encrypted traffic has destination= peer address so at second iteration traffic is routed to peer address.
If no default route exists on the node, the router simply does not know that the traffic before encryption should exit via that interface.
If a default route exists in the node and uses the same interface where the crypto map is applied, no additional routes are needed.
Hope to help
Giuseppe
07-31-2012 05:21 AM
hi Carl,
do you really require to encrypt traffic? A service provider which offers L3VPN service or any MPLS-based service is already isolating your traffic from the rest of the world by means of VRF and dedicated redistribution over the BGP-MPLS platform up to the egress router...
Alessio
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide