Solved

Dynamic DNS and Dynamic NAT

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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…
In this article, I'll explain how to setup a Plex Media Server (https://plex.tv/) on a Redhat (Centos) 7 based NAS with screenshots to help those looking for assistance.  What is Plex? If you aren't familiar with Plex, it’s a DLNA media serv…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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