Bluehost.com Web Hosting $6.95

Windows ping and Linux ping command?

This is a discussion on Windows ping and Linux ping command? within the Linux Networking forums, part of the Linux Forums category; OK, there must be some fundumental difference in the ping command that linux uses as opposed to the ping command ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-07-2003
tom
 
Posts: n/a
Default Windows ping and Linux ping command?

OK, there must be some fundumental difference
in the ping command that linux uses as opposed to
the ping command that Windows uses.

Can anyone here elaborate?


Reply With Quote
  #2 (permalink)  
Old 11-07-2003
TCS
 
Posts: n/a
Default Re: Windows ping and Linux ping command?

On Fri, 07 Nov 2003 18:58:19 GMT, tom <wolfemet@ameritech.net> wrote:
> OK, there must be some fundumental difference
> in the ping command that linux uses as opposed to
> the ping command that Windows uses.
>
> Can anyone here elaborate?


The windows ping is a toy version, a subset of the unix/linux version.

Reply With Quote
  #3 (permalink)  
Old 11-07-2003
Uli Wachowitz
 
Posts: n/a
Default Re: Windows ping and Linux ping command?

"tom" <wolfemet@ameritech.net> wrote:

> OK, there must be some fundumental difference in the ping command that
> linux uses as opposed to the ping command that Windows uses.


Though I have no Windows box at my hand to compare, I agree. But what is
it that makes you think so?

Reply With Quote
  #4 (permalink)  
Old 11-08-2003
Jeff Umbach
 
Posts: n/a
Default Re: Windows ping and Linux ping command?

The windows ping has a limited set of command line options compared to the
linux ping. I'm basing this off the ping command in win2k, don't remember
how limited it was in win9x.

--
Jeff Umbach

"tom" <wolfemet@ameritech.net> wrote in message
news:fXRqb.13994$8x2.6751146@newssrv26.news.prodig y.com...
> OK, there must be some fundumental difference
> in the ping command that linux uses as opposed to
> the ping command that Windows uses.
>
> Can anyone here elaborate?
>
>



Reply With Quote
  #5 (permalink)  
Old 11-08-2003
Michael O
 
Posts: n/a
Default Re: Windows ping and Linux ping command?


"tom" <wolfemet@ameritech.net> wrote in message
news:fXRqb.13994$8x2.6751146@newssrv26.news.prodig y.com...
> OK, there must be some fundumental difference
> in the ping command that linux uses as opposed to
> the ping command that Windows uses.
>
> Can anyone here elaborate?
>
>


Options for

Linux

ping -s [-d] [-l] [-L] [-n] [-r] [-R] [-v] [ -i interface_address ] [-I
interval] [-t ttl] host [packetsize] [count]

-d Set the SO_DEBUG socket option.
-l Loose source route. Use this option in the IP header to send the
packet to the given host and back again. Usually specified with the -R
option.
-L Turn off loopback of multicast packets. Normally, if there are
members in the host group on the out- going interface, a copy of the
multicast packets will be delivered to the local machine.
-n Show network addresses as numbers. ping normally displays addresses
as host names.
-r Bypass the normal routing tables and send directly to a host on an
attached network. If the host is not on a directly-attached network, an
error is returned. This option can be used to ping a local host through an
interface that has been dropped by the router daemon.
-R Record route. Sets the IP record route option, which will store the
route of the packet inside the IP header. The contents of the record route
will only be printed if the -v option is given, and only be set on return
packets if the target host preserves the record route option across echos,
or the -l option is given.
-v Verbose output. List any ICMP packets, other than ECHO_RESPONSE,
that are received.
-i interface_address Specify the outgoing interface address to use for
multicast packets. The default interface address for multicast packets is
determined from the (unicast) routing tables.
-I interval Specify the interval between successive transmissions. The
default is one second.
-t ttl Specify the IP time to live for unicast and multicast packets.
The default time to live for unicast packets is set with ndd (using the
icmp_def_ttl variable). The default time to live for multicast is one hop.
host The network host.
packetsize Specified size of packetsize. Default is 64.
count Amount of times to send the ping request.


Windows

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] target_name

Options:
-t Ping the specified host until stopped.
To see statistics and continue - type Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.
-w timeout Timeout in milliseconds to wait for each reply.


Reply With Quote
  #6 (permalink)  
Old 11-10-2003
Charlie Gibbs
 
Posts: n/a
Default Re: Windows ping and Linux ping command?

In article <FEXqb.103826$9E1.499728@attbi_s52> momalle1@hotmail.com
(Michael O) writes:

>"tom" <wolfemet@ameritech.net> wrote in message
>news:fXRqb.13994$8x2.6751146@newssrv26.news.prodi gy.com...
>
>> OK, there must be some fundumental difference
>> in the ping command that linux uses as opposed to
>> the ping command that Windows uses.
>>
>> Can anyone here elaborate?

>
>Options for
>
>Linux
>
>ping -s [-d] [-l] [-L] [-n] [-r] [-R] [-v] [ -i interface_address ] [-I
>interval] [-t ttl] host [packetsize] [count]


<snip>

>Windows
>
>Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
> [-r count] [-s count] [[-j host-list] | [-k host-list]]
> [-w timeout] target_name


Another highly visible difference between Windows and Linux pings
is that the number of pings (-n parameter for Windows) defaults
to 4 pings under the Windows version. Unix/Linux ping defaults
to sending packets continuously until interrupted.

--
/~\ cgibbs@kltpzyxm.invalid (Charlie Gibbs)
\ / I'm really at ac.dekanfrus if you read it the right way.
X Top-posted messages will probably be ignored. See RFC1855.
/ \ HTML will DEFINITELY be ignored. Join the ASCII ribbon campaign!

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0