Solved

Dynamic DNS and Dynamic NAT

Posted on 2008-06-24
4
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need to create a list of users who are members of Remote Desktop Users 7 44
DNS zone 3 51
802.1x and RDP Issues 6 80
Bringing new domain controller online. Testing part 6 46
Remote Desktop Shadowing often has a lot of benefits. When helping end users determine problems, it is much easier to see what is going on, what is being slecected and what is being clicked on. While the industry has many products to help with this,…
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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 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