Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

IPSec with secondary IP on interface

I have an IOS router with two IPs on one interface. I need to use this interface to establish an IPSec tunnel. I would like to use the primary IP as the crypto endpoint when the router uses its primary IP and the second IP as the endpoint when the router uses the secondary IP to establish a tunnel. Right now the router always uses the primary IP as the endpoint. How can I get the router to automatically use the second IP as endpoint without having to manually change the config?

Thanks,

Diego

1 REPLY
Cisco Employee

Re: IPSec with secondary IP on interface

You can't do this. The router will always use the primary IP on the outgoing interface as the IPSec source, unless you use the "cry map local-address ..." command. Even using this command though, you can only define an interface for it to use, and it'll still always use the primary IP address on that interface.

200
Views
0
Helpful
1
Replies
CreatePlease to create content