3

If I have two shells open each pinging the same host, how do the two shells differentiate between the ICMP responses coming back for each shell?

Tom Marthenal
  • 2,116
  • 7
  • 25
  • 37
Peter
  • 275
  • 2
  • 5
  • 15

1 Answers1

12

The request includes a 2-byte Identifier field, which must match in the reply. This is separate from the Sequence field. You can see it described in RFC 792

eey0re
  • 441
  • 4
  • 6