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.

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? –  hvtuananh Apr 6 '10 at 2:18
    
Still no? :(((( –  hvtuananh Apr 9 '10 at 12:01

1 Answer 1

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

 
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.