reply frame 2 to A with [source MAC K, destination MAC A]. Explain how it may cause system error?
5.
MTU
. Link layer is limited by its max transmission unit (MTU). A large IP datagram may be
fragmented into smaller ones. Suppose we have a 6000-byte IP datagram (including 20-byte IP header).
MTU is 1500 bytes. How many fragmented datagrams do we generate? Calculate the length and offset
fields of these datagrams. For each datagram, it is encapsulated into a link-layer frame with 22-byte
header and 4-byte trailer. What are the sizes of frames carrying the fragmented datagrams in the link
layer?
6.
NAT.
In the figure below, assume the addresses 134.89.31.4 is public IP and 192.168.240.240 with
subnet mask 255.255.255.248 are local IPs. Assume application 1 is running on port 5500 on all hosts
A, B, C, D, and E. Each application 1 in each host generates a packet to Server 1 (140.21.77.5, 80). In
addition, application 2 is running on port 5505 on A, C, and E. Each application 2 sends a packet to
Server 2 (128.119.40.153, 443).
(1) Assign local IP addresses to the five hosts.
(2) Following (1), generate the NAT translation table for all traffic in the network by considering that
port numbers in the range of [7700, 7710] are available to be assigned in the NAT.
(3) Following (2), when Server 1 sends a reply to node C, what are (IP address, port) fields in the packet header for source and destination? When Server 2 sends a reply to node C, what are (IP address, port)
fields in the packet header for source and destination?
(4) Following (3), when C receives the replies from Server 1 and Server 2, how does C know that the packets should be delivered to application 1 and application 2 respectively?
Correct answer is not unique in this question.