100%(1)1 out of 1 people found this document helpful
This preview shows page 1 - 2 out of 6 pages.
UNIVERSITY OF CALIFORNIA, DAVIS ________________________________________________________________________________________ BERKELEY• DAVIS• IRVINE• LOS ANGELES • RIVERSIDE• SAN DIEGO• SAN FRANCISCO ________________________________________________________________________________________ __________________________________ SANTA BARBARA• SANTA CRUZ __________________________________ EEC 173A/ECS 152A-Computer Networks Spring 2018 HW 2 - Solution 1.(14 points) Review Questions. (a)(2 pts) Two most important network-layer functions in a datagram network: (b)(4 pts) Describe how packet loss can occur at input ports. Describe how packet loss at input ports can be eliminated (without using infinite buffers). (c)(2 pts) Do routers have IP addresses? (d)(2 pts) What is the 32-bit binary equivalent of the IP address 188.8.131.52 (e)(4 pts) For each of the following CIDR formatted addresses what is the address range and how many hosts can you accommodate? 2.(12 points) IP Fragmentation. Consider sending a 2400-byte datagram into a link that has an MTU of 700 bytes. Suppose the original datagram is stamped with the identification number 422. How many fragments are generated? What are the values in the various fields in the IP datagram(s) generated related to fragmentation? 4