LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Ping reverses IP address sequence (https://www.linuxquestions.org/questions/linux-networking-3/ping-reverses-ip-address-sequence-394929/)

hussar 12-20-2005 12:27 PM

Ping reverses IP address sequence
 
I am looking for help in figuring out why when I ping a certain domain name, ping tries to ping the IP address of the domain name but in the reversed sequence.

Here's what I mean: I try to ping mydomain.org which has the IP address 192.168.23.66. (Domain name and IP address changed to protect the innocent. :) ) The ping output looks like this:

bash-3.00$ ping -c 1 mydomain.org
PING mydomain.org (66.23.168.192) 56(84) bytes of data.

--- mydomain.org ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

However, when I ping www.mydomain.org, it resolves correctly, and the ping succeeds. This doesn't happen when I ping, for example, google.com, amazon.com, etc. It seems to just happen with mydomain.org.

I have a Win2K machine on this network, and I ran the ping from it using mydomain.org. It succeeds, no problem.

Could it be that the IP address for mydomain.org is cached on my machine somewhere in reversed sequence, and when I try to ping it, my own machine resolves the URL using the cached, incorrect IP address?

Any thoughts on troubleshooting this?

Mishra100 12-20-2005 03:59 PM

Is the IP address for "mydomain.org" an internal or external address? If you can't answer that, is it a 192.168.0.0 address?

hussar 12-20-2005 11:18 PM

The IP address for mydomain.org is an external address. Actually, I'm not sure why I was so secretive about it. The domain name is teamfinders.org and the IP address is 216.147.55.21.


All times are GMT -5. The time now is 03:01 PM.