\$30.00

Category:

## Description

Suppose an application generates chunks of 60 bytes of data, each chunk gets encapsulated in a TCP segment, and then an IP datagram.

1. What percentage of each datagram will be overhead, and what percentage will be application data?

1. What would be the overhead if each TCP segment include 100 of application chunks (i.e., 100 60 bytes), assuming the maximum size of an IP packet is 500 bytes and sending such big TCP payload would require fragmentation.

Page 1 of 5

CS 118 Winter 2019 : Homework 6

Problem 2

Consider the router trying to send the following IP packet:

 4 5 TOS 6123 25 123098 6 0 0 0 0 checksum 10.1.1.1 80.233.250.61 data (6103 bytes)

Figure 1: An IP packet.

Assuming that the maximum transmission unit that can be transferred over the link is 1400 bytes. For each of the fragment show the header length, total length, identi cation, ags, fragment o set, TTL, protocol elds, and IP payload size.

Header length Total length Identi cation Flags Fragment o set TTL Protocol Data size

Page 2 of 5

CS 118 Winter 2019 : Homework 6

Problem 3

Calculate the network mask, the number of bits of the network, the number of endpoint addresses in the network (excluding special addresses), the network address, and the broadcast address of the network for the following:

1. 131.179.196.0/24

1. 169.232.34.48/30

1. 196.22.136.0/21

Problem 4

Why is the IP header checksum recalculated at every router?