Tip

Resolving NetBIOS names

There may be instances when you are experience name resolution issues on your TCP/IP network and you need to use Lmhosts files to resolve NetBIOS names.

Add the following entries to the Lmhosts file:

  • 10.0.0.1 PDCName #PRE #DOM:Domain name

  • 10.0.0.1 "Domainname 0x1b" #PRE

NOTE: Spacing of these entries is imperative.

Replace 10.0.0.1 with the IP address of your primary domain controller (PDC), PDCName with the NetBIOS name of your PDC, and Domain with your Windows NT domain name.

There must be a total of 20 characters within the quotations (the domain name plus the appropriate number of spaces to pad up to 15 characters plus the backslash plus the NetBIOS hex representation of the service type).

To help determine where the 16th character is, copy the following line to your LMHOSTS file:

  • # IP Address "123456789012345*7890"

Line up the double quotes (") by adding or removing spaces from the comment line, and place them on the 16th column (the column marked with the asterisk). You must use SPACES after the name and before the , not a tab.


    Requires Free Membership to View

This was first published in June 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.