Please Support by checking out some of the sponsors to the right

Thursday, March 19, 2009

Why does ping by name fail when ping by ip succeeds

This is a very common problem and is faced by many people all the time. The real question here is
why does ping by name fail when ping by ip succeeds?

The answer to this question is very simple. It lies within your ISP or routing device. There is a specific service that converts host name to IPs and vice versa. For example if you were to type a specific web address in the browser and the browser searches for the relavent IP address and locates the website for you.

Now the thing is that most of the internet routers didnt not allow inter-network ping command. The situation became critical when they actually needed ping command but did fail to do so. The issue of ping command failing with name but succeeding with ip address is the blockage of ping command parameter to use the dns service to locate the relavent ip address. So on the real problem lies with your routing device or ISP server. They may have blocked your transmission.

Another important issue in this regard is the permission problem. If you are using an access permission bbased operating system most notably Vista. You have an access problem. The easiest solution in Windos vista is to do the following for succeeding with ping command using hostname

Click Start
type cmd
At the top of the menu right click on cmd.exe and click Run as Administrator
In the command prompt, type ping google.com


You will be able to ping it. Pretty simple. If you are running linux, check your administrative privalages to use services and try again.

Pathping command is also helpful in this regard.
Check this
Ping command demystified
Pathping command

No comments:

Post a Comment