Today I tried to perform a simple ping to one of test PC's which would not work. I walked over to it and confirmed it was online and noted its ip address. I went back and could successfully ping, map a drive and remote desktop to it using the IP, but not by name.
The lab does not have a WINS, DNS or LDAP server, so I rely on good old NetBios to resolve names since there is a DHCP server and working with names is easier than using static IP addresses.
The bad news is that I haven't worked in the lab in a few weeks, so I'm not sure what I did to my laptop, or if the destination host is the one with the issue. So I tried pinging a machine name from another PC with no issues. Hmm.. Pretty obvious that the problem is on my end.
I checked my Advanced TCP/IP settings->WINS tab and everything looked fine.
Then I proceeded to confirm my suspicions with a quick Wireshark trace.
You can see the name qurey for both my test PC's; ruby and homer, but its not via NetBios.
I manually checked my ip settings (ipconfig /all) and saw that my node type was peer-peer. Odd indeed.
So finally I checked my registry under 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters' and noticed that 'NodeType'was missing. I added it with the decimal value of 1 and rebooted.
First thing I did was to run a new Wireshark trace and ta-da... it worked..
I wonder what I installed or what I did to blow that registry key away. My only consolation is that when I googled "add nodetype windows 7 registry" there were plenty of other people with the same issue.
Author Profile - Tony Fortunato is a Senior Network Specialist with experience in design, implementation, and troubleshooting of LAN/WAN/Wireless networks, desktops and servers since 1989. His background in financial networks includes design and implementation of trading floor networks. Tony has taught at local high schools, Colleges/Universities, Networld/Interop and many onsite private classroom settings to thousands of analysts. Tony is an authorized and certified Fluke Networks and Wireshark Instructor. His Pine Mountain Group CNA Level I and II certification demonstrates his vendor neutral approach to network design, support and implementations. Tony has architected, installed and supported various types of Residential Wireless High Speed as well as hundreds of WIFI hotspots. Tony uses a variety of technologies from Powerline, Wireless and wired technologies to find the most cost-efficient and reliable solution for his customers. Tony combines custom programs, open source and commercial software to ensure a simple support infrastructure.