Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using PPTP connection to connect to my office

And I want to add a static route after connected to PPTP server. My problem is my IP on this connection is automatic

Is there any way to run a script to manually add a route to route table when connected to PPTP server?

I'm using Windows XP SP3

share|improve this question
No one has any clue? – tuananh Apr 6 '10 at 2:18
Still no? :(((( – tuananh Apr 9 '10 at 12:01

If you're still using DHCP to hand out the IP address to the client on the other subnet, you can also pass down non-persistent routes that survives the life of the connection.

Its under 'SCOPE OPTIONS' in the MS world of DHCP, but assume it similar in all implementations.

I've seen this done, and it seems to work fine.

share|improve this answer

Your Answer


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.