Discussion Locked

Network Places Acting Strang through VPN

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
when you log on to VPN network places are there you just can not reach them. It says places are invalid or unavailable. Also some times on the internal network when someone is logged on to VPN there machine is the only one that appears in the network places for the rest of the Network.

9 replies

by stillatit

When you log on to a vpn, typically your default gateway changes, which can make you lose some connectivity with your local network. If you do this, then look at Network Places you will see the display you last saw (unless you refresh from the menu or with F5), but your computer no longer has a correct route to some of these places. If you refresh, you may very well only see yourself, because you no longer have a route toe the rest of your LAN.

The way to avoid this problem is to edit the properties of the vpn DUN connection (before you connect). Go to its TCP/IP properties, and uncheck the box that says something like "Use default gateway on remote system". After you do this, every time you connect the vpn you need to run a ROUTE command (either manually in a command or run prompt, or using a batch file started by a desktop icon). The command you want has the format
ROUTE ADD MASK

Example: If my vpn server gives out addresses in the subnet 192.168.42.0, and the vpn server is address 192.168.42.1, and my "real" lan network is on 192.168.0.0, mask 255.255.255.0, then the command would be:
ROUTE ADD 192.168.0.0 MASK 255.255.255.0 192.168.42.1

If I have an additional class C at 192.168.1.0, I would add a second command, and so on:
ROUTE ADD 192.168.1.0 MASK 255.255.255.0 192.168.42.1

The vpn server acts as a router between the addresses it gives out and the rest of the lan it is connected to.

Good luck.

by thornley

Ok here is the situation our internat network goes 192.168.1.0. Our vpn machine which is also the router has out side address XXX.YYY.ZZZ.AAA it has an inside address of 192.168.1.200. I tried making the route that went
ROUTE ADD 192.168.1.0 MASK 255.255.255.0 192.168.1.200
and also
ROUTE ADD 192.168.0.0 MASK 255.255.255.0 XXX.YYY.ZZZ.AAA

neither did the trick.

thank you for the help though

by thornley

Also now for some reason the internal network disappears to everyone on the inside when someone connects.

by mckaytech

That last piece of information is very curious because that is definitely not normal for a properly configured VPN router.
It makes me wonder if the inside/outside interfaces on the router have been mixed up. While the outside will change when a connection has been negotiated, the inside should not.

Rather than adding routes in NT, I think I would be looking closely at the router configuration.

regards!

paul

by estebandelatorre

The way to avoid this problem is to edit the properties of the vpn DUN connection (before you connect). Go to its TCP/IP properties, and uncheck the box that says something like "Use default gateway on remote system".
Rather than adding routes in NT, I think I would be looking closely at the router configuration.
After you do this, every time you connect the vpn you need to run a ROUTE command (either manually in a command or run prompt, or using a batch file started by a desktop icon). Thecommand you want has the format
ROUTE ADD MASK

This discussion is closed to new replies.