Solved How does Windows respond to a hostname ping?

September 7, 2012 at 06:58:36
Specs: Windows 7
For example;

A simple network [router, and the 2 PCs on ethernet ports]
PC#1 with hostname "John"
PC#2 pings John at the command prompt

How does that network traffic get handled? If I use wireshark, I see that the communication is only between PC#1 and PC#2, and doesn't appear to involve the router.

Do Windows 7 PCs always run a DNS server? Or is there some other, more simple protocol at work?

Could it just be using NetBios(or WINS?) to respond to the hostname? I'm getting confused...

Thanks.


See More: How does Windows respond to a hostname ping?

Report •

#1
September 7, 2012 at 08:37:01
✔ Best Answer
Ping is a very poor way to test networking. It is being blocked by many devices and OS's.

John could be a FQDN if the system appends the name but in normal way's John is a netbios (windows client file shareing) name. It gets resolved by a standard set of ways for workstations. If you have an Active Directory then you could also add that to AD. XP and above resolve over IP on AD not netbios.

http://technet.microsoft.com/en-us/...
http://technet.microsoft.com/en-us/...
http://support.microsoft.com/kb/188997
http://msdn.microsoft.com/en-us/lib...


Report •

#2
September 7, 2012 at 11:35:25
When you are communicating between two computer on the same network you don't go anywhere near a router. All the communication is handled by the switch that is built in to most SOHO routers.

Windows 7 does not have a DNS server. DNS servers are normally olny installed on Domains with a domain server. A a home user your DNS is provided by your ISP

The network protocol you are using is TPC/IP encapsulated within Ethernet.

Stuart


Report •
Related Solutions


Ask Question