Vpn between same ip-range

Posted on 2009-04-16
Last Modified: 2012-05-06
I have to set up a vpn connection to a server with the same ip-range as my own network.(192.168.1.X)
After the vpn connection is made i have to point to a internal website by ipaddress.
At this moment this is not possible. What is the best solution to get this work. It is no option to change one of the two ip-ranges. So i have to work with routes (if that is possible at all) or connecting the vpn through another device.
Can anyone give me advice in this matter
Question by:Remij
    LVL 89

    Expert Comment

    by:John Hurst
    Why is it not possible to change your home IP range? Very easy to do in any home system I have ever seen. I do understand the issue at the server end. VPN's do not like the same subnet, so by a wide margin, the simplest answer is to change the home IP range.
    ... Thinkpads_User
    LVL 1

    Author Comment

    Both ranges are in server environments so changing them is not an option
    LVL 77

    Accepted Solution

    You cannot have the same subnets at either end of the tunnel. This is a basic VPN/routing rule. Packets are forwarded based on the subnet to which they belong. If they are the same at either end of the tunnel, the routing devices will keep the packets within the local network segment and not forward them. You must make changes. You could split the local subnets to something like (subnet mask 255.255.128) which would allow at one site and at the other, but this is as much work as changing the local subnet to something completely different.  This is why when setting up a network it is a good idea to avoid the common/default subnets like 192.168.0-2.0,,,, and

    Having said all of that I have seen it done with high end Cisco routers.

    If it is a single IP you could also try adding a route. Assume for example the remote server IP is and the VPN gateway IP is
    route add -p mask
    You would also have to add a matching return route to the remote device ( pointing to the device on which you applied the route.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
    Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now