cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
411
Views
5
Helpful
2
Replies

vpn peer hosstname

kiksen1
Level 1
Level 1

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 2

mjbriggs
Level 1
Level 1

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

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