Tcp-ip Furouzan Chapter 09

  • Uploaded by: ATIF KHAN
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Tcp-ip Furouzan Chapter 09 as PDF for free.

More details

  • Words: 542
  • Pages: 6
CHAPTER 9

ICMP

Exercises 1. a. The original message is lost in transit. The sender can re-send the message. b. The reply is lost in transit. The sender can re-send the message. c. The original message was corrupted and discarded. The sender can re-send the message.

3. It could happen that host B is unreachable, for some reason. The error message generated by an intermediate router could then be lost on its way back to host A. Or perhaps the datagram was dropped due to congestion and the error message generated by an intermediate router was lost.

5. The maximum value is 59 because the pointer points to a byte somewhere in the original IP header (a maximum of 60 bytes). An offset of 0 would point to the first byte, so an offset of 59 would point to the 60th byte.

1

SECTION

2

7. See Table 9.1. Table 9.1 Exercise 7 Category

Type

Code

Error

Destination unreachable

0

NonDest. host

Router X

1

X

2

X

3

X

4

X

5

X

6

X

7

X

8

X

9

X

10

X

11

X

12

X

13

X

14

X

15

X

Source quench

0

X

Time exceeded

0

X

1

Query

Destin. host

X X

Parameter problem

0

X

Redirection

0

X

X

Echo request

0

X

X

X

Echo reply

0

X

X

X

Timestamp request

0

X

Timestamp reply

0

Addr. mask request

0

Addr. mask reply

0

Router solicitation

0

Router advertisement

0

X X X X X

9. The one way time is not the round trip divided by 2 because the request packet may have traveled by a different route than the response packet. In this case, the transmission time in one direction may be different than the transmission time in the other direction.

SECTION

3

11. The minimum size of an IP packet that carries an ICMP packet would be 28 bytes (a 20 byte IP header + an 8 byte router solicitation packet). The maximum size would be 2068 bytes (a 20 byte IP header + a 2048 byte router advertisement packet). 13. The value of the protocol field of an IP packet carrying an ICMP packet is 1. 15. See Figure 9.1. Figure 9.1

Exercise 15

3

7

Destination unreachable

0 4

IP header of original packet

130.45.3.3 201.23.4.6 First 8 bytes of payload from original packet

17. The type in this message is 3, which means it is a destination unreachable message. The code in this message is 3, which means that the target port is unreachable. The purpose of this message is to inform the sender that the destination port is not available on the destination host at this time. 19. See Figure 9.2. Figure 9.2 Exercise 19

13

Checksum

0

Identifier

Sequence number 19,230,000 0 0

SECTION

4

21. 2:34:20 PM = 52,460,000 ms 52,460,000 ms - 52,453,000 ms = 7000 ms 7000 ms + 5 ms = 7005 milliseconds

23. Assume that the message travels at 2 × 108 meters/second and that 6.2 miles equals 10 kilometers. (5000) (10)/6.2 = 8064.5 km = 8.06 × 106 meters (8.06 × 106 meters)/ 2 × 108 meters/second = 4.03 × 10-2 s = 40.3 ms

SECTION

5

SECTION

6

Related Documents

Tcp-ip Furouzan Chapter 09
December 2019 16
Tcpip
October 2019 44
Tcpip
April 2020 27
Tcpip
November 2019 40
Tcp-ip Furouzan Chapter 17
December 2019 5
Tcp-ip Furouzan Chapter 20
December 2019 3

More Documents from "ATIF KHAN"

Tcp-ip Furouzan Chapter 19
December 2019 16
Tcp-ip Furouzan Chapter 25
December 2019 12
Tcp-ip Furouzan Chapter 09
December 2019 16
Tcp-ip Furouzan Chapter 22
December 2019 24
Tcp-ip Furouzan Chapter 18
December 2019 8
Tcp-ip Furouzan Chapter 26
December 2019 6