Solved

Dynamic DNS and Dynamic NAT

Posted on 2008-06-24
4
206 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

At the beginning of the year, the IT world was taken hostage by the shareholders of LogMeIn. Their free product, which had been free for ten years, all of the sudden became a "pay" product. Now, I am the first person who will say that software maker…
The Samsung SSD 840 EVO and 840 EVO mSATA have a well-known problem with a drop in read performance. I first learned about this in an interesting thread here at Experts Exchange: http://www.experts-exchange.com/Hardware/Storage/Hard_Drives/Q_2852…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 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

18 Experts available now in Live!

Get 1:1 Help Now