Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have a remote ubuntu server that connects to our company's VPN. Every time it connects it gets a dynamic IP. I need it to be static. The VPN assigning dynamic IPs is fine for all our road warriors, but not for the remote ubuntu server.

Can anyone point me in the right direction for setting up pptp with static IP?

Thank you!

Or, on the otherside, is there a way to tell "Routing and Remote Access" "Hey, when this user, mac address, or remote IP connects, give it this internal IP"

I found the following post that mentions setting up a remote access policy. I've tried adding the condition "NAS-IP-Address matches" put that as the first rule, but it didn't work. I also tried the "Calling-Station-Id", but that didn't work either. I think here lies the key. My only two other rules are the defualt, "connections to MS RRAS" and "Connections to other access servers". Both of which are set to order 2 & 3 respectively.

share|improve this question
What is the VPN endpoint/server? – wfaulk Oct 1 '09 at 22:42
Windows 2003 server – shaiss Oct 1 '09 at 22:48
Are you using DHCP to issue your IP's for the VPN, or just have a static pool allocated in RRAS? – Mark Henderson Oct 2 '09 at 0:38
As I remember, when I first set it up I used DHCP. – shaiss Oct 2 '09 at 14:58
up vote 1 down vote accepted

Thanks to this post I found the key.
You have to setup a policy for "calling-station-id" and set it to the remote vpn clients IP. then set that up as the first rule.

This may not be ideal, but it does work.

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.