Advertisement

02.19.2008 at 06:52AM PST, ID: 23174437
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

How Does PING work
When you have a host file or DNS, and you use PING command to ping a machine that is onlthe network or off the network, how does the communication circuit work in either case.?
for example when you ping a remote machine which is powerd off , and you have that machine hostname and IP in the DNS or in the host file, would your computer look for the record first or until it receives something from the remote machine then it looks for the record in the DNS or host file?

do you understand what I mean? I need kind of explanation about the whole process of PING command.

Thanks
Start your free trial to view this solution
Question Stats
Zone: Apple
Question Asked By: jskfan
Solution Provided By: strung
Participating Experts: 4
Solution Grade: A
Views: 66
Translate:
Loading Advertisement...
02.19.2008 at 06:58AM PST, ID: 20928880

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 07:13AM PST, ID: 20929036

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 07:31AM PST, ID: 20929270

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 11:47AM PST, ID: 20931851

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 11:51AM PST, ID: 20931890

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 12:11PM PST, ID: 20932072

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 12:19PM PST, ID: 20932163

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 12:22PM PST, ID: 20932196

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 12:26PM PST, ID: 20932229

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 12:28PM PST, ID: 20932241

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 12:33PM PST, ID: 20932300

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 12:39PM PST, ID: 20932350

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 01:10PM PST, ID: 20932619

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.19.2008 at 01:17PM PST, ID: 20932689

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.21.2008 at 06:12AM PST, ID: 20947801

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.01.2008 at 09:48AM PST, ID: 21022683

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.05.2008 at 11:40AM PST, ID: 21053637

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
02.19.2008 at 06:58AM PST, ID: 20928880
 
02.19.2008 at 07:13AM PST, ID: 20929036

Rank: Guru

I am not sure exactly what it is you want to know or what problem you are having. If you ping an other computer, your computer sends a packet to that computer. If that computer is connected to the network and turned on, it will receive the ping packet. If the other computer (or an intervening firewall) is not set to reject pings, the other computer will respond to the ping and let your computer know the ping was received and and your computer will recorde what the round trip time was.
 
02.19.2008 at 07:31AM PST, ID: 20929270
to answer your question it really depends what command you issue when you ping

thus if you trying to ping 'computername' it will first try to resolve that name to an IP using what methods are open to it, IE DNS, WINS, host, broadcast etc it will do this BEFORE it trys to communicate with the device. If however you type ping IPADDRESS with no switches then it will simple attempt to send 4 packets to that IP address.

In reality your question is a combination of how PING works and how name resolution works
 
02.19.2008 at 11:47AM PST, ID: 20931851
if the record is still in DNS or host file and the remote computer is powered off.

then I use:

Ping -a computername
would this give me the IP address of the remoter computer, since it has a DNS record for it ??

Ping Ipaddess
would this give me the remoter computer name , since it has a DNS record for it?

 
02.19.2008 at 11:51AM PST, ID: 20931890

Rank: Guru

Pinging by name should give you the IP address. Pinging by IP address will not give you the name.

If you want the name from the IP address for someplace on the internet, go to http://network-tools.com/ click on the radio button beside LOOKUP and type in the IP address.
 
02.19.2008 at 12:11PM PST, ID: 20932072
you use ping -a to obtain the address when pinging an IP address, you can do this for both remote and local addresses providing you have a DNS server configured on your client machine
 
02.19.2008 at 12:19PM PST, ID: 20932163
strung:
<<<Pinging by name should give you the IP address. Pinging by IP address will not give you the name. >>>

where does it get the Ip address from???? from the DNS??? if so why it doesn't get the name when you ping the IP??
 
02.19.2008 at 12:22PM PST, ID: 20932196

Rank: Guru

If you look at Gevybecca's post above and my reply, you will see that I was wrong and it will work both ways.
 
02.19.2008 at 12:26PM PST, ID: 20932229

Rank: Guru

Gevybecca is right (although ping -a appears to work even if the DNS server is not on your local machine). Learn something new every day!
 
02.19.2008 at 12:28PM PST, ID: 20932241

Rank: Guru

By the way, why don't you just try it yourself and see?
 
02.19.2008 at 12:33PM PST, ID: 20932300
the point of my question is what is involved during the PING operation.
if  the remote computer is powered off, and you ping it , would the PING go the DNS and retrieve any information or it will just send a request to the powered off computer and will receive a time out.
I want sort of  a Road Map of the PING command.
 
02.19.2008 at 12:39PM PST, ID: 20932350

Rank: Guru

I just tried pinging my home computer which is off. Ping IP address did not return a name, but ping -a IP address did return the name. Tracert IP address also returned the name.
Accepted Solution
 
02.19.2008 at 01:10PM PST, ID: 20932619
You are still missing the point of my question:
if  the remote computer is powered off, and you ping it , would the PING go to the DNS and retrieve any information or it will just send a request to the powered off computer and will receive a time out.
I want sort of  a Road Map of the PING command.
 
02.19.2008 at 01:17PM PST, ID: 20932689
I believe I answered this question earlier, to clarify, if you ping a machine that is powered off.

1) ping *.*.*.* (Any ip address) packets would be sent directly to the machine in question and as the machine is switched off no reply would be received

2) Ping -a *.*.*.* (Any Ip address) providing you have a DNS server configured the name would be resolved but no reply would be received if machine is powered off

3) Ping machinename an attempt to resolve this name to an ip address would be made through any means configured be it HOST, WINS, DNS or broardcast (NOTE no requirement for name resolution is needed of the machine you are pinging) again if machine is off then while the name would be resolved to an IP address no reply would be recieved
Assisted Solution
 
02.21.2008 at 06:12AM PST, ID: 20947801
so the PING Tries to communicate with the remote machine then to DNS  or to DNS then to the remote machine?
 
03.01.2008 at 09:48AM PST, ID: 21022683
can anyone  answer this:

the PING Tries to communicate with the remote machine then to DNS  or to DNS then to the remote machine?
 
03.05.2008 at 11:40AM PST, ID: 21053637
any updates ??????
 
 
04.18.2008 at 08:36AM PDT, ID: 21386753
You cannot ping a hostname, they only exist to make life easy for us humans and are useless when generating an ICMP packet. The hostname must be resolved to an IP address through whatever available means before the ICMP echo request is generated and sent off to the target host.
 
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628