cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
219
Views
0
Helpful
1
Replies

VPN hostname resolving in config

sprocket10
Level 2
Level 2

 

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>

 

 

1 Accepted Solution

Accepted Solutions

Marvin Rhoads
Hall of Fame
Hall of Fame

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.

View solution in original post

1 Reply 1

Marvin Rhoads
Hall of Fame
Hall of Fame

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.