Question

10. Suppose that host HI sends a frame F1 to host 112. The network topology is illustrated in the following figure. Fl is fragmented into two fragments router R1. F22 at R1, R2, and R3: Routers F1, F21, and F22: Frames H2 H1 Network Network 2 Network 3 Frame F21 and F22 Frame Fl R1 R2 R3 Internetwork N

0 0
Add a comment Improve this question Transcribed image text
Answer #1

When a router receives a packet, it examines the destination address and determines the outgoing interface to use and that interface's MTU(maximum transmission unit ). If the packet size is bigger than the MTU, and the Do not Fragment (DF) bit in the packet's header is set to 0, then the router may fragment the packet.

The router divides the packet into fragments. The max size of each fragment is the MTU minus the IP header size (20 bytes minimum; 60 bytes maximum). The router puts each fragment into its own packet, each fragment packet having following changes:

  • The total length field is the fragment size.
  • The more fragments (MF) flag is set for all fragments except the last one, which is set to 0.
  • The fragment offset field is set, based on the offset of the fragment in the original data payload. This is measured in units of eight-byte blocks.
  • The header checksum field is recomputed.

Reassembly:

A receiver knows that a packet is a fragment if at least one of the following conditions is true:

  • The "more fragments" flag is set. (This is true for all fragments except the last.)
  • The "fragment offset" field is nonzero. (This is true for all fragments except the first.)

The receiver identifies matching fragments using the foreign and local internet address, the protocol ID, and the identification field. The receiver will reassemble the data from fragments with the same ID using both the fragment offset and the more fragments flag. When the receiver receives the last fragment (which has the "more fragments" flag set to 0), it can calculate the length of the original data payload, by multiplying the last fragment's offset by eight, and adding the last fragment's data size.

When the receiver has all the fragments, it can put them in the correct order, by using their offsets. It can then pass their data up the stack for further processing.

Add a comment
Know the answer?
Add Answer to:
10. Suppose that host HI sends a frame F1 to host 112. The network topology is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • CHAPTER 4: CONTINUE ll. Multicast Routing Consider the network topology in Figure-2 below H1 NET-...

    CHAPTER 4: CONTINUE ll. Multicast Routing Consider the network topology in Figure-2 below H1 NET- Router R1 R3 R2 R10 R4 R5 R6 R7 R8 R9 NET-4 NET-3 NET-2 H3 H5 H4 Figure 2: Multicast/Broadcast Topology CHAPTER 4: CONTINUE I. Multicast Routing - Continue Q3. Assume the host H1 is willing to multicast a message to the hosts H3, H4, and H5. Assume a center-based tree approach is used for multicast, R5 is selected as the center, and number-of-hops is...

  • (8 pts) (3.1) The range of IP addresses blocks available for company M are 221.65.192.0/23 and...

    (8 pts) (3.1) The range of IP addresses blocks available for company M are 221.65.192.0/23 and a brief architecture of the network for company M is shown below. There are three Local Area Networks (LAN) (A, B, C), and each LAN need at most 254 IP addresses. As the network administrator of company M, please find an assignment of unique subnet numbers and subnet masks for each LAN segment and unique IP addresses for each host and router interface shown...

  • 10. Suppose there is exactly one packet switch between a sending host and a receiving host....

    10. Suppose there is exactly one packet switch between a sending host and a receiving host. The transmission rates between the sending host and the switch and between the switch and the receiving host are R1 and R2, respectively. Assuming that the switch uses store-and-forward packet switching, what is the total end-to- end delay to send a packet of length L? (Ignore queuing, propagation delay, and processing delay.) 11. Draw a sketch of computers and network routers and links, to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT