Solved

Dynamic DNS and Dynamic NAT

Posted on 2008-06-24
4
205 Views
Last Modified: 2010-04-12
I have a laptop.  When I bring it into our office it dynamically gets an address from our DHCP Server.  I can't set the IP address on the laptop to static, since the laptop goes home onto another network.  I want to get the same IP address every time when I get into the office so that I can have port forwarding to that same IP.  However, my DHCP server does not allow reservations.  Is there any way to make sure I get the same IP address every time?
0
Comment
Question by:al4629740
4 Comments
 
LVL 31

Expert Comment

by:rid
ID: 21863144
It's in the hands of your IT administrator. There are ways to force the DHCP server to associate a MAC address with an IP address, but your IT policy may not allow this. The same goes for port forwarding in the office firewall.
/RID
0
 
LVL 5

Accepted Solution

by:
minvis earned 250 total points
ID: 21863146
On your TCP/IP settings you can use the "Alternate settings tab".

On the "General" tab configure the TCP/IP settings to obtain an IP address and DNS server address automaticly. Only then the second tab (alternate settings) will show up, there should you setup your static ip address.

The following will happen: At first your computer will send a DHCP discover. If there's no reply from a DHCP server your adapter will use the settings on the "alternate settings" tab.

Another option is to use a "userclass" with a infinite lease duration. (http://support.microsoft.com/kb/240247)


Good luck
0
 

Author Comment

by:al4629740
ID: 21887866
However, there is a DHCP server at both locations.  How can I make sure the Alternate Settings IP address is used when I have a DHCP server present?
0
 
LVL 4

Assisted Solution

by:raehrlich
raehrlich earned 250 total points
ID: 21892701
Most DHCP servers lease an IP address for a specific amount of time or allow an the admin to adjusted the lease time. If your computer re-request an IP address within the lease period, say after a reboot or power-on, you will most likely get the same IP address again. If you request it outside the least time, it may get a different one. To see when your lease expires, open a command prompt and type IPCONFIG /ALL. It kinda sounds like your company may lease an address for only 24 hours (or less). What you could do, is just before you shutdown you computer is type IPCONFIG /RENEW. This will reset the lease time and give you another 24 hours ( what ever the amount it is) with the same IP address.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Lithium-ion batteries area cornerstone of today's portable electronic devices, and even though they are relied upon heavily, their chemistry and origin are not of common knowledge. This article is about a device on which every smartphone, laptop, an…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now