CSCI 466 Midterm Networks Fall 2011

Similar documents
CSCI 466 Midterm Networks Fall 2011

CSCI Networking Name:

Networks Fall This exam consists of 10 problems on the following 13 pages.

Housekeeping. Fall /5 CptS/EE 555 1

EECS 122. University of California Berkeley

EECS 122. University of California Berkeley. Network Architecture Network hierarchy Layering Performance. Link Layer Ethernet Wi-Fi

King Fahd University of Petroleum and Minerals College of Computer Sciences and Engineering Department of Computer Engineering

Networks Fall This exam consists of 10 problems on the following 13 pages.

Student ID: CS457: Computer Networking Date: 5/8/2007 Name:

Links. CS125 - mylinks 1 1/22/14

Midterm Review. Topics. Review: Network. Review: Network. Layers & Protocols. Review: Network WAN. Midterm Review EECS 122 EECS 122

Midterm Review EECS 122. University of California Berkeley

CS 640: Introduction to Computer Networks

CSC458 Lecture 6. Administrivia. Inter-domain Routing IP Addressing. Midterm will Cover Following Topics (2) Midterm will Cover Following Topics

Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

Study Guide. Module Two

COMP 361 Computer Communications Networks. Spring Semester Final Examination Solution Key

COMP 361 Computer Communications Networks. Fall Semester Final Examination: Solution key

Switching and Forwarding - continued

Switching and Forwarding - continued

Overview. Performance metrics - Section 1.5 Direct link networks Hardware building blocks - Section 2.1 Encoding - Section 2.2 Framing - Section 2.

Midterm Exam CSCE 232: Computer Networks Fall Instructions:

CS/ECE 438: Communication Networks for Computers Spring 2018 Midterm Examination Online

CSCI Spring Final Exam Solution

CPE 548 Exam #1 (50 pts) February 17, 2016

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network

CPE 448/548 Exam #1 (100 pts) February 14, Name Class: 448

CS 458 Internet Engineering Spring First Exam

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

TERM EXAMS CS610- COMPUTER NETWORKS

Question Points Score total 100

CSCI 1680 Computer Networks Fonseca. Exam - Midterm. Due: 11:50am, 15 Mar Closed Book. Maximum points: 100

INSTITUTE OF AERONAUTICAL ENGINEERING Autonomous Dundigal, Hyderabad

Midterm Review EECS 122. University of California Berkeley

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

EECS 122: Introduction to Communication Networks Final Exam Solutions

Question Score 1 / 19 2 / 19 3 / 16 4 / 29 5 / 17 Total / 100

College of Computer and Information Sciences Department of Computer Engineering CEN444 Computer Networks Midterm 2 Exam Second Semester 1434/1435

Reminder: Datalink Functions Computer Networking. Datalink Architectures

CSCI 466 Midterm Networks Fall 2013

Solution of Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Duke University CompSci 356 Midterm Spring 2016

Expected Time: 90 min PART-A Max Marks: 42

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

UNIVERSITY QUESTIONS

CS 356: Computer Network Architectures. Lecture 14: Switching hardware, IP auxiliary functions, and midterm review. [PD] chapter 3.4.1, 3.2.

The Link Layer and LANs. Chapter 6: Link layer and LANs

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 2.

Chapter 5 Link Layer and LANs

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

CSC 4900 Computer Networks: The Link Layer

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

Computer and Network Security

VU Mobile Powered by S NO Group All Rights Reserved S NO Group 2012

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

CS 349/449 Internet Protocols Midterm Exam Winter /21/2003

Question A B C D E F Points / 28 / 16 / 21 / 15 / 18 / 2

Question 7: What are Asynchronous links?

( A ) 1. WAP is a (A) protocol (B) hardware (C) software (D) network architecture

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Chapter 3. Underlying Technology. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Chapter 4. The Medium Access Control Sublayer

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

LAN Interconnection and Other Link Layer Protocols

CompSci 356: Computer Network Architectures. Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch & 3.2. Xiaowei Yang

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

CS 6543 Computer Networks

Homework #4. Due: December 2, 4PM. CWND (#pkts)

Networks Homework # 2

Review is pretty much complete! Please help formatting review (indenting). - Jorden

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

Chapter 4. The Medium Access Control Sublayer. Points and Questions to Consider. Multiple Access Protocols. The Channel Allocation Problem.

Top-Down Network Design

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Lecture 17: Final Review"

ECE 4450:427/527 - Computer Networks Spring 2017

EEC-684/584 Computer Networks

Ethernet. Network Fundamentals Chapter Cisco Systems, Inc. All rights reserved. Cisco Public 1

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

CSE 123: Computer Networks Fall Quarter, 2013 MIDTERM EXAM

Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,

Medium Access Protocols

Switching and Forwarding Reading: Chapter 3 1/30/14 1

CMPE 150: Introduction to Computer Networks

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

===================================================================== Exercises =====================================================================

CS 455/555 Intro to Networks and Communications. Link Layer

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Why dynamic route? (1)

CSE 123: Computer Networks Fall Quarter, 2017 MIDTERM EXAM

Internet protocol stack

CIS 551 / TCOM 401 Computer and Network Security. Spring 2007 Lecture 7

Transcription:

CSCI 466 Midterm Networks Fall 2011 Name: This exam consists of 7 problems on the following 9 pages. You may use your single- sided hand- written 8 ½ x 11 note sheet and a calculator during the exam. No computers or communication devices of any kind are permitted. If you have a question, raise your hand and I will stop by. Since partial credit is possible, please write legibly and show your work. Problem Points Score 1 22 2 10 3 16 4 10 5 12 6 10 7 12 Total 92 1

1) Multiple choice (22 points total, 2 points each). Circle the best single answer. I. What is the name for the devices in the cloud in the diagram? a) switches b) routers c) hubs d) repeaters II. Which of the following link protocols best describes Ethernet? a) Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) b) Frequency Division Multiple Access (FDMA) c) Carrier Sense Multiple Access with Collision Detection (CSMA/CD) d) Asynchronous Transfer Mode (ATM) III. Which of the following is true about Ethernet networks? a) Switches provide greater scalability and security than hubs. b) Ethernet frames have a minimize size to ensure good utilization of the network (i.e. senders would otherwise have a large overhead to send a small amount of data). c) When an Ethernet sender detects the media is idle it issues a jamming signal to inform other devices not to transmit. It then sends its packet. d) Ethernet frames contain a single 48- bit MAC address. IV. Which of the following is true about 802.11 Wi- Fi networks? a) All wireless networks must use access points. b) Collisions can still happen when Ready to Send- Clear to Send (RTS/CTS) is used. c) 802.11 frames contain a total of two MAC addresses, one for the sender and one the destination. d) Explicit frame acknowledgements are optional and normally not very helpful. V. Which of the following link protocols best describes 802.11 Wi- Fi? a) Time Division Multiple Access (TDMA) b) Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) c) Carrier Sense Multiple Access with Collision Detection (CSMA/CD) d) Pure ALOHA 2

VI. Which of the following is true about the Address Resolution Protocol (ARP)? a) Maps domain names (e.g. youtube.com) to IP addresses b) A new host broadcasts its hardware address and the default gateway responds with an IP address. c) If a host hears a request for its IP address, it responds with its hardware address. d) Hosts send ARP requests using a multicast hardware address. VII. Which of the following statements is true about routers? a) Routers must not change the IP packets they forward b) Routers can arbitrarily drop packets if they want c) Routers must implement either the Border Gateway Protocol (BGP) or the Exterior Gateway Protocol (EGP). d) Routers are required to reassemble fragments if the next router supports the full datagram size. VIII. Which of the following framing protocols uses: an initial two- byte flag value, no bit stuffing, a fixed- sized frame, and scrambles bytes using XOR? a) DDCMP (byte- counting) b) PPP (sentinel- based) c) HDLC (bit- oriented) d) SONET (clock- based framing) IX. If you are transmitting 1 byte packets. What network performance metric is most important? a) Throughput b) Bandwidth c) Latency d) Speed of light in a vacuum X. You need to transmit a video to 10 different hosts on a large network. What type of routing would be the best fit? a) Multicast b) Unicast c) Broadcast d) Anycast XI. Which of the following is NOT a feature/advantage of IPv6? a) Larger address space b) Flexible variable sized headers c) Autoconfiguration of hosts d) Enhanced routing capabilities 3

2) Physical encoding (10 points). a) To transmit a bit, we could simply use a high voltage level for a 1 and a low voltage level for a 0: What are two reasons this simple scheme is problematic? b) 100 Mbps Ethernet uses Non- Return to Zero Inverted (NRZI) and 4B/5B encoding. Briefly describe each encoding scheme and describe why each is helpful. c) 10 Gigabit Ethernet uses 64B/66B, what is its advantage over 4B/5B? 4

3) Network performance (16 points). a) You record a 2 second video on your phone. The video is 320 x 240 resolution, 3 bytes/pixel, 15 frames per second. Assume no data compression. Calculate the file size in bytes. b) Assume you can transmit the video continuously with no connection setup and no other overhead. Your phone's network connection has a bandwidth of 512 Kbps and the Round Trip Time (RTT) to the destination server is 200 ms. How long will it take for the entire video to reach their server? (continued on next page) 5

c) Instead of being able to send packets continuously, assume you use the stop- and- wait protocol with 1KB packets and no packet overhead. Assume no transmission errors occur. How many total packets are required to send the video? Draw a timeline diagram showing the first two packets of the transmission and the last packet. d) Given the setup described in c) and a bandwidth of 512 Kbps with an RTT of 200 ms, how long does it take for your entire video to reach the destination server? 6

4) Switching (10 points). a) In the network below, a bridge B1 received a packet from A to an unknown destination D. If B1 and B2 did NOT use the spanning tree algorithm, describe the problem that would result. b) The power has just been restored to the local area network (LAN) shown below. Hosts (not shown) are directly connected to the bridges (i.e. the network is entirely switched with no shared network segments). Circle the bridge that will (after a period of time) be designated as the root bridge. Fill in solid lines between bridges that are part of the spanning tree. B3 B5 B8 B2 B6 B1 B4 B1 B7 7

5) IP prefixes and forwarding (12 points). Consider the following three routers where router R has outgoing interfaces A, B, and C: A 11.0.0.0/8 R B 11.1.0.0/16 C 11.2.3.0/24 a) How many IP addresses does the prefix 11.2.3.0/24 represent? b) List the forwarding table entries for router R. A new packet has just arrived at R. Describe how R uses its forwarding table to decide what to do with the packet. c) Which outgoing interface does R use for a packet with destination 11.2.3.1? d) Which outgoing interface does R use for a packet with destination 11.1.2.3? e) Which outgoing interface does R use for a packet with destination 11.2.4.5? 8

6) Intradomain routing (10 points). Assume a shortest- path, link- state routing protocol is running on the following network, where the numbers correspond to link weights: i 3 2 r k 1 4 1 2 n 5 5 3 m p 1 j q a) Suppose the link between nodes k and m fails. Before the failure, what is the shortest path from node i to node j? What is the new path after the failure (after the routing protocol converges)? b) A transient forwarding- loop might occur during protocol convergence. Which two nodes are involved in the loop? If convergence takes a long time, what might happen to a packet stuck in the loop? 9

7) Interdomain routing (12 points). a) How does the Border Gateway Protocol (BGP) avoid the count- to- infinity problem that plagues distance- vector protocols? b) Give two reasons why BGP is used for Interdomain routing instead of a link- state protocol such as Open Shortest Path First (OSPF) that calculates optimal least- cost routes. c) A campus network is a multi- homed Autonomous System (AS) with connections to two tier- 3 Internet Service Providers (ISPs). The border routers of the campus run BGP. Does the campus AS advertise routes learned from the first ISP to the second (and vice- versa)? Why or why not? 10