Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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