up vote 0 down vote favorite
share [g+] share [fb]

In our VPN setup I have to add a route to my routing table like this:

route add 1.2.3.0 mask 255.255.255.0 172.16.1.1 -p

Our internal addresses 1.2.3.x then use 172.16.1.1 as their gateway and both my local internet and work VPN can work at the same time.

However, when I disconnect from VPN and reconnect again, I can't ping our servers even though the connection status is "Connected". When I do

route print

my previously added route is listed but it doesn't seem to work. So I try to execute that 'route add' command again and as expected, it tells me that

The route addition failed: The object already exists.

But - and that's the point - when I now try to ping our servers again, everything works! So every time, I have to execute this route add command that will fail but fix the issue at the same time.

Any ideas what I might be doing wrong? My PC is Windows 7 x64, I am Administrator, UAC is enabled and the command prompt is run with elevated privileges.

link|improve this question

49% accept rate
feedback

1 Answer

I've seen this on Windows Server 2008 with VPNs there. So far it looks like a Windows bug more than a misconfiguration.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.