Using interval timing and response rates, ping estimates the RTT (generally in
milliseconds) and packet-loss rate between hosts. Figure 1-86 shows the ping output from
a windows command line.
Figure 1-86 Ping
OK, I have some data to send to 192.168.3.2
That address isn??™t in my local network table, and I can??™t
ARP because it is on a different network.
Guess I have to send the data to the
default gateway and let the gateway forward it.
Layer 3 = 10.1.1.1
Layer 2 = 0800:0222:2222
Layer 3 = 192.168.3.2
Layer 2 = 0800:0222:1111
Default Gateway
100 Chapter 1: Building a Simple Network
The syntax for a Windows ping is as follows:
ppiinngg [--tt] [--aa] [--nn Count] [--ll Size] [--ff] [--ii TTL] [--vv TOS] [--rr Count] [--ss Count]
[{--jj HostList | --kk HostList}] [--ww Timeout] [ TargetName]
The syntax ?¬‚ags are as follows:
?– -t: Speci?¬?es that ping continue sending echo request messages to the destination until
interrupted. To interrupt and display statistics, press Ctrl-BREAK. To interrupt and
quit ping, press Ctrl-C.
?– -a: Speci?¬?es that reverse name resolution is performed on the destination IP address.
If this is successful, ping displays the corresponding hostname.
?– -n Count: Speci?¬?es the number of echo request messages sent.
Pages:
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161