07-18-2011 01:49 PM - edited 03-04-2019 01:01 PM
I have a question about a tunnel interface is that the sources and destination IP address or the global private IP address?
07-18-2011 01:58 PM
Perhaps you can clarify what you are trying to find out. The title of the question seems to imply that the question is about whether the tunnel addresses are global or private. But when I read the text of the question that does not seem to be what you are asking.
There is one thing to remember about tunnel addresses, and perhaps this will help to answer your question, there must be functioning IP connectivity between the source and destination addresses of the tunnel. When a router tries to bring up a tunnel interface the packets with its source address of the tunnel must be able to be delivered to the destination address of the other router. Sometimes that connectivity requires public addresses and sometimes it can be done with private addresses.
HTH
Rick
07-18-2011 02:14 PM
Okay I want site to site ipsec tunnels with multiple router as you can on the interfaces, but when a crypto map set so I used a tunnel interface is now my question about the sources and destination IP addresses are public or private IP addresses that for that purpose?
07-18-2011 02:25 PM
As I tried to explain in my previous post, sometimes it works ok to use private addresses as the source and destination address for the tunnel and sometimes it requires public addresses. You can not say that it is always one or always the other. You must consider the particular situation to figure this out.
The basic principle is that there must be IP connectivity between the source and the destination addresses.
Perhaps some examples might help. I have a customer that has a requirement that certain sensitive information will be transmitted from from one office to another office and must be encrypted by a site to site VPN with IPSec and GRE. Since the source and destination are both within their Enterprise network it works quite well to use private addressing for the source and destination addresses. I have another customer who uses site to site VPN with IPSec and GRE to go from one site to HQ over the Internet. For this it is a requirement that they use Public addresses for source and destination.
So the important thing is to consider whether the originating router can send a packet to the destination using private addressing and the other router can respond using private addressing and it gets to the originating router. In this case it is fine to use private addresses. Otherwise it is necessary to use Public addresses.
HTH
Rick
07-18-2011 02:38 PM
Okay I'm starting to understand as a public IP address that you may use themselves as the wan interface?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide