You??™ll use this utility more often than you think. This command line tool helps you test TCP/IP connections
with another computer, so the diagnostic benefits are apparent the first time you use it. The two
command lines you??™ll commonly use for PING in a diagnostic mode are:
PING
PING
Therefore, if you want to contact a machine named AUX, you??™d type PING AUX and press Enter. PING
outputs four messages of 32 bytes and tells you about the response to each one. You can modify the size
of the packet sent to the remote computer using the -l Size command line switch. To test the computer
at 192.168.0.1 with 1,024-byte packets, you can type PING -l 1024 192.168.0.1 and press Enter.
Using a different packet size often reveals problems the standard packet size won??™t show. The maximum
packet size is 65,500 bytes.
You can also use the -n Count switch to change the number of packets sent to the other computer. You
might suspect that an error won??™t occur until you send the fifth or sixth packet, so you can adjust the
count to 5 or 6. If you use a value of ??“1, PING continues sending packets until you press Ctrl+C (using
Ctrl+Break won??™t work).
Pages:
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749