`
bzhang
  • 浏览: 250599 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

ping for windows and linux

阅读更多

On Thursday 01 December 2005 3:06 pm, David McMillan wrote:
> No route. Just a crossover Cat5.
>
> > Here are some steps you should look at:
> > 1. Make sure your cables are correct.
>
> Used the same cable for the Windows and SuSE boxes.

ok, cable, windows box, industrial box are "known good"

> > 2. run netstat -nr on your system. You should have a route to the subnet
> > and a default route. Are you using DHCP or a static IP address? netstat
> > should look sim,ilar to this.
>
> Static IP. No routes, but I'll try netstat on it anyway next chance
> I get.
>
> > 3. Are you using a name or an IP address to ping the equipment?
>
> IP. The industrial box doesn't support named access, as far as I know.

No computers support names on tcp/ip. DNS servers (software), convert names
(for humans) to IP addresses (for computers). What the reply was getting at
is that if you were pinging a name, first, ping would have to as DNS for IP,
then uses IP to do actual ping.

e.g.

brad@linux64:~/supers/mozilla> ping wtp.net
PING wtp.net (216.187.141.20) 56(84) bytes of data.
64 bytes from 180com.net (216.187.141.20): icmp_seq=1 ttl=251 time=14.7 ms
64 bytes from 180com.net (216.187.141.20): icmp_seq=2 ttl=251 time=14.7 ms

You can see the name getting converted before the ping, and used for the ping.

Anyway, that is now also known good. (We don't need DNS, you know the IP).


The only question we have then is, "Is the SuSE box known good?"

So, I'll ask. Can you / Have you been able to ping anything with that box?

Does it have internet access? (to test a ping like microsoft.com or your isp
or gateway or something)

Can you Windows box ping the SuSE box? (does it answer?)

Does the ping comand even work on the SuSE box? Can it ping itself?

e.g.

rad@linux64:~/supers/mozilla> ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.041 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.043 ms



This should narrow down the possibilities anyway.

Like someone else pointed out. Ping is a TCP/IP protocal / networking thing.

It would be like saying Windows HTML is different than Linux's HTML, or
Windows Font is different that Linux's font.

See what I mean? PING, HTML, FONTS are their own independant things, not tied
to any one OS. The software that reads, write, implements uses these
standards are tied to their OS though. But, both softwares work right, You
shouldn't be able to tell the difference between a ping from a windows box
from a ping from a linux box, from a ping from a Mac or a ping from any
othere piece of hardware (routers, etc.) Just like a person looking at html
code can't tell if the original author wrote the html on a wintel, lintel, or
mac box. You should be able to tell what printed a document with fonts on
it.... etc.


Hope this clears things up and make it easier for you.

分享到:
评论

相关推荐

    voreen 3.0.1

    It is implemented as a multi-platform (Windows and Linux) C++ library using OpenGL and GLSL for GPU-based rendering, licensed under the terms of the GNU General Public License. The Voreen project ...

    一个开源的类itk vtk 源码

    It is implemented as a multi-platform (Windows and Linux) C++ library using OpenGL and GLSL for GPU-based rendering, licensed under the terms of the GNU General Public License. The Voreen project ...

    voreen 4.1含vc工程文件

    It is implemented as a multi-platform (Windows and Linux) C++ library using OpenGL and GLSL for GPU-based rendering, licensed under the terms of the GNU General Public License. The Voreen project ...

    YUMI – Multiboot USB Creator (Windows)

    Linux Live Tools for OCZ HP SmartStart 8.60 x32 HP SmartStart 8.70 x32 HP SmartStart 8.60 x64 HP SmartStart 8.70 x64 HP Firmware Maintenance 8.70 (CD) HP Automatic Firmware Update 9.30 (DVD) HP ...

    ICS delphixe10源码版

    With Delphi XE2 and later, VCL 64-bit Windows targets are supported for Delphi only. Currently FireMonkey is partly supported for Delphi only (there are still a few non-ported components). ICS for Mac...

    计算机网络--ICMP

    You may recall that the Ping program is simple tool that allows anyone (for example, a network administrator) to verify if a host is live or not. The Ping program in the source host sends a packet to ...

    windows实用dos命令大全

    (2)若是对软盘进行格式化,则会如下提示:Insert mew diskette for drive A;  and press ENTER when ready…  (在A驱中插入新盘,准备好后按回车键)。  (3)选用[/S]参数,将把DOS系统文件IO.SYS 、MSDOS....

    入门学习Linux常用必会60个命令实例详解doc/txt

    因为Linux与Windows不同,其后台运行着许多进程,所以强制关机可能会导致进程的数据丢失,使系统处于不稳定的状态,甚至在有的系统中会损坏硬件设备(硬盘)。在系统关机前使用 shutdown命令,系统管理员会通知所有...

    结合telnet与ftp 功能服务器wasd第三版源码

    2) all make server and client for both platform (arm and x86 linux) 3) host server (server_h) and client (client_h) for x86 linux 4) arm server (server_a) and client (client_a) for arm linux ...

    局域网管理器 Fing-Network Tools

    局域网管理器 Fing-Network Tools 版本:2.5 大小:651 KB 适用固件:Android 2.1.X及以上 分享日期:2013-08-13 ...适用于:在Linux,Mac OS,Windows中的Android,iPhone/ iPod / iPad的,点燃火,思科Cius。

    icmp4j-project.zip

    ICMP4j is an ICMP ping implementation for Java with a simple and clean API. Linux/Mac/Solaris/Windows are supported natively. If you can provide other native implementations, please contact the author...

    UniDAC 7.1.4

    Bug with the Locate method for non-Windows platforms in Lazarus is fixed Bug with the FindFirst, FindLast, FindNext, FindPrior methods in Lazarus is fixed Bug with accessing a product help from the ...

    linux.chm文档

    iconv -f fromEncoding -t toEncoding inputFile > outputFile creates a new from the given input file by assuming it is encoded in fromEncoding and converting it to toEncoding. find . -maxdepth 1 -name ...

    drupal 6.12

    For more information on setting file permissions, see "Modifying Linux, Unix, and Mac file permissions" (http://drupal.org/node/202483) or "Modifying Windows file permissions" ...

    Loadrunner报错日志

    这个问题不多遇见,一般出现在压力机器上发生ping值为负数(AMD双核CPU),可以重新启动pc机或者打补丁,附图。 九、问题描述HTTP Status-Code=500 (Internal Server Error) for 1、应用服务当掉,重新启动应用...

Global site tag (gtag.js) - Google Analytics