Hot Downloads

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: VPN with the same IP range

VPN with the same IP range 10 years 1 month ago #25990

  • netbaba
  • netbaba's Avatar Topic Author
  • Offline
  • Frequent Member
  • Frequent Member
  • Posts: 29
  • Thank you received: 0
This is my situation:
office network: 192.168.1.0/24
VPN network: 192.168.3.0/24
remote network: 192.168.0.0/16

If i'm in the remote network i cannot access to resource in office network because the packet are routed throw 192.168.0.0/16
How can i solve this problem?
Thanks

Please Log in to join the conversation.

Admin of Wellage Community
www.wellage.net

Re: VPN with the same IP range 10 years 1 month ago #25995

i'm still new in this area, but you may need to add a routing table entry that tells the router what gateway to send information out of to reach a non built-in route. Basically, you'd need to add the routing table entry on the remote network's router to the office's router

Please Log in to join the conversation.

Re: VPN with the same IP range 10 years 1 month ago #26043

  • ikon
  • ikon's Avatar
  • Offline
  • Frequent Member
  • Frequent Member
  • Posts: 48
  • Thank you received: 0
192.168.0.0/16 will be a Connected route, so all traffic will be sent out of your Ethernet card at the remote office.

you only need to specify routes for traffic destined for another networks that you do not want sent to your default gateway.

i dont believe you can get round this without changing your Office Networks IP range or your remote office.

I could be wrong, await more replies.

Hang in there.

:p

Please Log in to join the conversation.

Re: VPN with the same IP range 10 years 1 month ago #26052

  • Chris
  • Chris's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1447
  • Karma: 8
  • Thank you received: 13
netbaba,

The correct way to handle this problem would be to change the subnet mask of the remote office from /16 to /24.

However, if this is not a viable solution for now and you need to access specific resources located at the office network, a simple static route on the workstations located at the remote office, will do the trick.

For example, let's say you need to access a file server at the office network with ip address 192.168.0.10. If you enter the following dos-based command at a workstation, you should be able to see the file server:

[code:1]route add 192.168.0.10 192.168.0.1 [/code:1]

The above assumes 192.168.0.1 is your network gateway/router.

In addition, you'll most probably need to place a static route on your gateway/router as well.

Cheers,

Please Log in to join the conversation.

Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx

Re: VPN with the same IP range 10 years 1 month ago #26075

  • netbaba
  • netbaba's Avatar Topic Author
  • Offline
  • Frequent Member
  • Frequent Member
  • Posts: 29
  • Thank you received: 0
I try to add a static route on the pc in the remote office, but i recieve an error:
[code:1]route add 192.168.1.0 mask 255.255.255.0 192.168.3.3 metric 1
The route addition failed: The parameter is incorrect[/code:1]

Please Log in to join the conversation.

Admin of Wellage Community
www.wellage.net

Re: VPN with the same IP range 10 years 1 month ago #26076

  • SteveP
  • SteveP's Avatar
  • Offline
  • Distinguished Member
  • Distinguished Member
  • Posts: 161
  • Thank you received: 0
Here's the example from my help file:

route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2

Where:
157.0.0.0 is the destination
255.0.0.0 is the mask
157.55.80.1 is the gateway
3 is the metric
2 is the interface

You haven't specified the interface and I see that it tries to find the best interface for a given gateway. Try adding <IF 1> or <IF 2> at the end of the command.

Another thing which struck me - is the Default Gateway address correct?

Please Log in to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.165 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup