dynamic dns? lmhosts?

Posted on 2006-05-01
Last Modified: 2012-06-27

IM connecting  a    *  Prestige  static WAN IP v.s. peer side dynamic IP using IPSEC L2tp

The manual says....

In peer side, Are you using  Win2K built-in IPSec? In this case, W2K won't capture the dynamic IP address automatically for you. You have to obtain your dynamic IP address and then go back to IPSec configuration to setup your current IP address

If a dynamic IP hits VPN server (router) then w2003sbs then how does it convert it into one one the LAN network? Surely i need Dynamic DNS?

Ive tried every conceivable configuration of VPN connection in W XP Pro SP2 Client

Question by:usbcrazy1
    LVL 77

    Accepted Solution

    We didn't discuss name resolution in the previous posts. If still having problems have a look at the following options:

    The primary method for name resolution, broadcasting of NetBIOS names, does not work over most VPN's. You may need to configure an alternate method for name resolution, or connect using the IP address rather than the computer name.;
    1) Use the IP address (of the computer you are connecting to) when connecting to devices such as;   \\\ShareName   or map a drive at a  command prompt or in a batch file using  
     Net  Use  U:  \\\ShareName
    You may want to include authentication:
     Net  Use  U:  \\\ShareName   password  /
    If using as a batch file password will be stored as clear text. If you substitute * for password it will prompt for the password.  
    2) An option is to use the LMHosts file which creates a table of IP's and computer names. LMHosts is located in the Windows directory under c:\Windows (or WINNT)\System32\Drivers\Etc\LMHosts.sam , instructions are included within the file. Any line starting with # is just a comment and is ignored. Open the file with Notepad and add entries for your computers as below;      CompName       #PRE
    Hit enter when each line is complete (important), then save the file without a file extension. To be sure there is no extension ,when saving enclose in quotations like "LMHosts". Now when you try to connect to a computer name it should find it as it will search the LMHosts file for the record before connecting.
    More details regarding LMHosts file:
    The drawback of the LMHosts file is you have to maintain a static list of computernames and IP addresses. Also if the remote end uses DHCP assigned IP's it is not a feasible option. Thus in order to be able to use computer names dynamically try to enable with some of the following options:
    3) if you have a WINS server add that to the network cards configuration
    4) also under the WINS configuration on the network adapter make sure NetBIOS over TCP/IP is selected
    5) try adding the remote DNS server to your local DNS servers in your network card's TCP/IP configuration
    6) verify your router does not have a "block NetBIOS broadcast" option enabled
    7) test if you can connect with the full computer and domain name as  \\ComputerName.domain.local  If so, add the suffix DomainName.local to the DNS configuration of the virtual private adapter/connection [ right click virtual adapter | properties | TCP/IP properties | Advanced | DNS | "Append these DNS suffixes (in order)" | Add ]
    LVL 77

    Expert Comment

    by:Rob Williams
    Thanks usbcrazy1,

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    I've had to do a bit of research to setup my VPN connection so that Clients can access Windows Server 2008 network shares.  I have a Cisco ASA 5510 firewall.  I found an article which was extremely useful: It had a solution if you use ASDM to config…
    Like many others, when I created a Windows 2008 RRAS VPN server, I connected via PPTP, and still do, but there are problems that can arise from solely using PPTP.  One particular problem was that the CFO of the company used a Virgin Broadband Wirele…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    745 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