`
bzhang
  • 浏览: 254932 次
  • 性别: 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 ...

    Ubuntu The Complete Reference

    - **Overview of Ubuntu**: This chapter provides an introduction to Ubuntu Linux, covering its history, philosophy, and the reasons for its popularity among both individuals and organizations....

    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...

    windows实用dos命令大全

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

    结合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 ...

    RNDIS配置主机和从机

    配置时需要确保内核支持USB网络适配器,并且选中Multi-purpose USB Networking Framework 和 Host for RNDIS and ActiveSync devices。 5. 配置开发板作为RNDIS主机 当开发板作为RNDIS主机时,需要支持其他网络设备...

    wsdd-gentoo:用于wsdd的Gentoo ebuild

    `wsdd-gentoo`项目专门提供了用于Gentoo系统的ebuild文件,以支持安装和维护`wsdd`(Windows Subsystem for Discovery and Direction)这一服务。 `wsdd`是一个开源工具,它允许Linux系统通过Windows网络发现协议...

    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" ...

    unix power tools 3ed.pdf

    **2.3 充分利用终端、xterm 和 X Windows (Chapter 5: Getting the Most out of Terminals, xterm, and X Windows)** - **终端模拟器**: xterm 的高级功能介绍。 - **X Window系统**: 基础概念和管理技巧。 - **多...

    VxWorks调试文档.pdf

    **ULIP**(Universal Linux Interface for POSIX)是一种用于模拟网络连接的技术,使得VxWorks可以在宿主机(通常是Linux或Windows系统)上模拟出一个虚拟网络接口,从而实现与真实网络环境的交互。 **vxsim**则是...

    实施面试JavaScript考察题 .docx

    JavaScript知识点: 1. 开启Chrome调试窗口:按F12或者使用`chrome://inspect`页面进行...24. 测试网络:ping命令,查看IP:`ipconfig`(Windows)或`ifconfig`(Linux/Mac)。 25. 数据库术语:A、B、C选项都正确。

Global site tag (gtag.js) - Google Analytics