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 hostname resolving in config

 

I am trying to create my vpn tunnel to use host names rather than ip, so in the event we change ip addresses I don't need to modify a load of routers.

However when I enter my commands as below, the hostname automatically resolves and when I do a show run, it displays the ip address again. How do I get the config to save with the hostnames?

 

edited config, selected commands used:

 

crypto isakmp peer hostname <dns name>

&

set peer <dns name>

 

 

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

You cannot use FQDN peer

You cannot use FQDN peer hostnames with an IPsec LAN-LAN VPN that uses pre-shared keys for authentication.

To do that, you would need to deploy certificate-based authentication.

1 REPLY
Hall of Fame Super Silver

You cannot use FQDN peer

You cannot use FQDN peer hostnames with an IPsec LAN-LAN VPN that uses pre-shared keys for authentication.

To do that, you would need to deploy certificate-based authentication.

41
Views
0
Helpful
1
Replies