Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ping through Host-name

Status
Not open for further replies.

gergerdotcom

Technical User
Feb 22, 2019
12
0
0
PH
hi all :)

i've been trying to search online but i'm now more confuse that before of so many answers lol

hoping you can help me of my 2 question:

1. is Host name and Computer name in Windows the same?

hostname_dngfyp.png



hostname_ii_znaadb.png




2. how can i Ping using a Host-name and not through IP address (is it possible)?


[bigglasses]
 
Yes - computer name will show up as host name in ipconfig /all

On the SAME network, you can ping via name if your DNS is working properly. If you go through a VPN or a WAN, the NETBIOS name will not be resolved so you can't ping via name, only IP address.

At CMD prompt: ping <host name> is all you have to do
ping -a <ipaddress> will try to return a name if possible
ping -t <host name> or <ipaddress> will do a continuous ping
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top