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

dynamic ip vpn

hai friends,

i want to create site to site vpn between two sites but both the sites having dynamic ip.my question is ,is it possible to create site to site otherwise any other way is there ..if site to site is possible send any documentation

thanks

17 REPLIES

Re: dynamic ip vpn

No you cannot make a site-2-site vpn with dynamic IPs on both sides. Dynamic crypto maps don't allow you to initiate connections, if both sides have dynamic crypto maps, who will initiate the connection?

You can setup a remote-access VPN. Preferably register the VPN server IP with dyn-dns. Then just enter the dyn-dns hostname of the VPN server in the Cisco VPN Client. Just make sure you are running a newer version of the Cisco VPN Client.

Regards

Farrukh

New Member

Re: dynamic ip vpn

by register with ip dyn-dns we cant create site to site vpn .using hostname we can communicate ?...otherwise tell me possible way.

Re: dynamic ip vpn

Yes it should work. Just make sure you use the latest version of the Cisco VPN Client.

Regards

Farrukh

New Member

Re: dynamic ip vpn

thankyou for ur reply

i am not asking about remote vpn client...

it is possible to create site to site vpn using these dynamic dns hostname..

because i am having both sides dynamic ip.

if it is possible give me some example

thanks..

Re: dynamic ip vpn

I already told you that you cannot. From my original response:

"No you cannot make a site-2-site vpn with dynamic IPs on both sides. Dynamic crypto maps don't allow you to initiate connections, if both sides have dynamic crypto maps, who will initiate the connection? "

Please rate if helpful.

Regards

Farrukh

New Member

Re: dynamic ip vpn

thanks for ur reply..

so there is no solution...so only possibility is remote client

Re: dynamic ip vpn

To my knowledge, YES.

Regards

Farrukh

New Member

Re: dynamic ip vpn

hai

i configured remote client in asa 5505 and everything working fine.remotely connecting but the ip address and gateway is same..

for example i assign a pool 192.168.1.10-192.168.1.20

the ipconfig remotely

ip addrss 192.168.1.10

subnet 255.255.255.0

gateway 192.168.1.10...

so i am not able to access anything.

Re: dynamic ip vpn

That default gateway is normal. Don't worry about that.

'acesss anything' what do you mean? Did you check the encr/decr on the ASA and the VPN client?

Regards

Farrukh

New Member

Re: dynamic ip vpn

not able to access means

i am trying to access that asa but itis not communicating and i tried to ping the asa also...request timed out is coming ..i tried telnet also..nothing is happening..i am attaching my config in this...

Re: dynamic ip vpn

What is the point of defining a 'permit any' ACL and then doing a 'tunnelspecified'? Just do a "tunnelall".

Is phase 1 and 2 UP after the client connects? Do you see encap/decap?

show crypto ipsec sa

Regards

Farrukh

New Member

Re: dynamic ip vpn

thanks

ok i ll do it

New Member

Re: dynamic ip vpn

setup a DMVPN using NHRP at the hub site, which will keep track of the current global IP address at the two spokes, and they will be able to dynamically form tunnels between them, and even if the address changes, those updates will re-register with the NHRP server. That's assuming this is IOS-IOS VPN.

New Member

Re: dynamicer ip vpn

Have you tried using a dynamic update client on a computer inside each firewall and then building the VPN using FQDNs instead of the IP address.

Cisco Employee

Re: dynamic ip vpn

What devices are you using ?

You can have One device with dynamic IP using easyVPN Server/client feature for sure, and I think you can have both with dynamic IP by using a DNS name instead of IP to define ezVPN server on client.

New Member

Re: dynamic ip vpn

Thank you for your input but both end points devices are ASA5505 firewalls and I need site to site connectivity.  

Cisco Employee

Re: dynamic ip vpn

So you can configure one asa with remote vpn as described here:

http://www.cisco.com/en/US/tech/tk583/tk372/technologies_configuration_example09186a0080809222.shtml

and enable network extension mode:

      group-policy VPNGP attributes
        nem enable

and on the other side, confiugre your asa as a easy vpn client. Asa server should have a DNS pointing to its IP, you can use dynamic DNS features:

http://www.cisco.com/en/US/docs/security/asa/asa72/configuration/guide/dhcp.html#wp1091527

      vpnclient mode network-extension-mode
      vpnclient nem-st-autoconnect
      vpnclient vpngroup VPN_Tunnel password VPNPSK
      vpnclient username xauthuser password xauthpwd
      vpnclient server asaserver.mycompany.com
      vpnclient enable

Network extension mode permit that user behind the asa acting as client access and be accessed through the VPN Tunnel. Default mode (client mode) will make the client asa NAT/PAT the inside hosts so they appear as being the asa.

If that solves your pb, please mark thread as resolved and/or rate it.

1209
Views
0
Helpful
17
Replies