1 / 12

Final Examination of Internet Communication Protocol

Final Examination of Internet Communication Protocol. Problem one.

Download Presentation

Final Examination of Internet Communication Protocol

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Final Examinationof Internet Communication Protocol

  2. Problem one • Consider a transmission from your computer (140.127.114.103; 00-50-18-0E-7C-84) to a destination host in purdue University (128.10.2.1). A TCP end-to-end connection will be established between these hosts. Assume the ARP cache in your computer is empty, hence an ARP request should be sent. Please describe the frames of the protocol operations for establishing a TCP connection. 35%

  3. Answer for Problem one (1) • your computer (140.127.114.103; 00-50-18-0E-7C-84)destination host in purdue University (128.10.2.1). • DNS (Domain Name Server) request and reply • ARP request and reply (ARP cache in your computer is empty) • TCP three way handshake to establish a TCP connection 140.127.114.103 -> 128.10.2.1

  4. Answer for Problem one (2) ARP Request

  5. Answer for Problem one (3) Broadcast ARP ARP Request

  6. Answer for Problem one (5) HA 6 140.127.114.103 HA 7 128.10.2.1 HA 4 140.127.114.103 HA 5 128.10.2.1 HA 3 140.127.114.103 HA 4 128.10.2.1 HA 2 140.127.114.103 HA 3 128.10.2.1 purdue HA 6 HA 4 HA 3 HA 7 HA 2 Internet HA 5 HA 1 HA 5 140.127.114.103 HA 6 128.10.2.1 HA 1 140.127.114.103 HA 2 128.10.2.1 00-50-18-0E-7C-84 140.127.114.103 HA 1 128.10.2.1 Source and Destination address

  7. Answer for Problem one (5) Three-way handshake to establish a end-to-end TCP connection Send SYN seq = x Receive SYN segment Send SYN seq =y, ACK x+1 Receive SYN+ACK segment Send ACK y+1 Receive ACK segment

  8. Problem two (1) • (a) Consider a fixed subnet partition of a class B network number that will accommodate at least 76 networks. How many hosts can be on each network? How to write its subnet mask? • The number 76 is greater than 64, and smaller than 128. Therefore we should select the number 128 (using 7 bits for subnet mask). Hence, each network can assign 512 – 2 = 510 hosts, and its subnet mask is 255.255.254.0

  9. Problem two (2) • (b) Consider a site that chooses to subnet a class B network address, but decides that some physical nets will use 6 bits of the local portion to identify the physical net while others will use 8. Find an assignment of host addresses that makes destination addresses ambiguous. 35% • Choice more than one subnet length in a network may cause the ambiguous address. It might happen without hierarchical address assignment. • For example, the physical net A using 6 subnet bits can hold 64 subnets, and the physical net B using 8 subnet bits can hold 256 small subnets. They share the same address space, so a address assigned at intersection address space will be ambiguous.

  10. Problem two (3) ambiguous Can not use

  11. Problem three • Define the terms as following: 30% • Fragmentation • The process of dividing an IP datagram into smaller pieces when they must travel across a network that cannot handle the original datagram size. • ICMP • Internet control message protocol; an integral part of the Internet protocol that handles error and control message. Routers and hosts use it to send reports of problems about datagrams back to the original source. • Circuit switching • A method of communicating in which data are sent as a continuous stream of bits. Bandwidth is guaranteed, and delay is limited to propagation time. The telephone system uses circuit switching.

More Related