Subnet issue with IPSec

mahesh.mvk

Junior Member
Sep 6, 2013
4
0
0
Below is an example of the IPSec tunnel i implemeted for a customer from my company.

tunnel-group x.x.x.x type ipsec-l2l
tunnel-group x.x.x.x ipsec-attributes
pre-shared-key XXXXXXXX

access-list Voice extended permit ip host (Company IP Range) y.y.y.y

crypto map vpn 260 match address Voice
crypto map vpn 260 set peer x.x.x.x
crypto map vpn 260 set transform-set 3DES-MD5
crypto map vpn 260 set security-association lifetime seconds 86400

I have seen in everywhere that the Customer Peer x.x.x.x and the customer subnet/host y.y.y.y are always of different sub nets? Is there any reason behind it? would there be a problem if they are of the same subnet?
 

Martin Wilson

Member
Aug 25, 2013
37
0
0
They are two different things.

The peer address is the 'outside' IP address of their gateway. This is you telling your router where to go to to reach the customer.

The customer subnet (also known as 'interesting traffic') is the LAN subnet on the customer side. This is where you specify what part of your LAN side talks to their LAN.
 

mahesh.mvk

Junior Member
Sep 6, 2013
4
0
0
Yes agreed Martin. Thanks for your reply, but my question is what is they are configured to be off the same subnet? How will the tunnel behave? Will it establish the tunnel in the first place? And the reason?
 

lif_andi

Member
Apr 15, 2013
173
0
0
Well, you can have them the same, but the tunnel will only be established if the 'interesting traffic' is destined for that IP. If you point a tunnel towards a subnet behind a routable IP address, the tunnel will have no way of knowing where to go, or rather, it will look for the address it's pointed to which then isn't there, because the routable IP address is not listed anywhere... hope this makes sense.
 

brshoemak

Member
Feb 11, 2005
166
4
81
To simplify what lif_andi said: Two networks with the same IP addressing scheme, say both are 192.168.10.0 /24. A router will believe that it is the end-all-be-all of that particular network. So if you try to ping a host on the other side of your VPN, your router will eventually see the ping and say "Well, it looks like this isn't on my network." That's the end of those packets.

When you have a different subnet, the router goes "I don't have this on my network, but here's a place that does" and sends it on its merry way across the VPN. This is a gross simplification, but gives the general gist of things.

Actually, on Cisco routers/firewalls you usually have to ping a host on the other side for the VPN to even come up - or provide some other kind of interesting traffic.
 

SecurityTheatre

Senior member
Aug 14, 2011
672
0
0
Yes agreed Martin. Thanks for your reply, but my question is what is they are configured to be off the same subnet? How will the tunnel behave? Will it establish the tunnel in the first place? And the reason?

If you connect two networks with duplicate subnets, you will need change the IP range on one of the subnets, or you will need to do static 1-to-1 Network Address Translation on all of the overlapping IPs at the gateway router on both sides.

IP networks DO NOT work with duplicate addresses on them.
 
Last edited:
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |