

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Name_______________________GT#___gt _ _ _ ECE3076 Homework 4 Due: Monday Oct. 20, 2008 (in class) 1. 1. Complete the following table showing the lowest and highest IP addresses in dotted-decimal. "Number of Hosts" should exclude the "network address" and the "network broadcast address" (host addresses with all 0's or all 1's). See slides 4-46 to 4-48 for help. Network Identifier Lowest Address (dotted decimal) Highest Address (dotted decimal) Network Mask (dotted decimal) Number of Hosts 130.207.0.0/17* (^) 130.107.0.0 130.207.127.255 255.255.128.0 32, 130.207.128.0/21 (^) 130.207.128.0 130.207.135.255 255.255.248.0 2046 130.207.128.0/24 (^) 130.207.128.0 130.207.128.255 255.255.255.0 254 (* 2 host addresses are reserved)
Name_______________________GT#___gt _ _ _
5.. A 1500-byte IP datagram arrives at a link with a 660 byte MTU, and must be fragmented into 660-byte (or less) datagrams. Fill in the table below to show the values of the Datagram Length, ID, FragFlag (MF), and Offset in the resulting fragments (see slide 4-35 for help). Remember that each fragment needs its own 20-byte IP header which adds to the datagram length, and "Offset" is in units of 8-bytes (data in a fragmented IP datagram must be a multiple of 8 bytes, except the last datagram). Original Datagram Length ID FragFlag Offset 1500 2356953874 0 0 Fragments Datagram Length ID FragFlag Offset 660 2356953874 1 0 660 2356953874 1 80 220 2356953874 0 160 Hint. To check, add the datagram lengths (660 + 660 + 220). The sum should be the original length plus 20 times the number of additional segments (1500 + 20 * (3 - 1) ). How can a non-fragmented packet be detected? {The bit called "FragFlag" in the text is more often called "MoreFrags (MF)", which is closer to its meaning: "more fragments follow." It alone is not adequate. } _________FragFlag == 0 and Offset == 0____________________________ 6. What would happen in the case above if the DNF bit in the IP header was set (true)? THE PACKET WOULD BE DROPPED BY THE ROUTER, WHICH WOULD ALSO SEND AN ICMP MESSAGE TO THE SOURCE HOST. ECE3076 HW-4 p. 2