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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

vpn peer hosstname

Dear All,

I try to set up a crypto map, using a hostname, instead of an ip-address, when setting the peers address. (set peer a.b.c.d). It does not work, whats wrong?

Thanks!

Christian

2 REPLIES
New Member

Re: vpn peer hosstname

You need to change the default behavour of IKE so it will use hostnames.The command syntax for this is "crypto isakmp identity hostname" Then you need either DNS resolution or specify the hostname ie."ip host routera.domain.com 10.0.0.1.

Regards

Mike

New Member

Re: vpn peer hosstname

Thank you for your answer! IKE seems to use hostnames instead of ip-adresses, but "set peers hostname" always resolvs the hostname and writes the ip-address in the config. Somthing must be still wrong....?!

Regards

Christian

107
Views
5
Helpful
2
Replies