CSE 461 Midterm Winter 2018

Similar documents
cs144 Midterm Review Fall 2010

SJTU 2018 Fall Computer Networking. Wireless Communication

FINAL EXAM - SLOT 2 TCP/IP NETWORKING Duration: 90 min. With Solutions

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Homework 3 Discussion

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

internet technologies and standards

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 12

CSC 4900 Computer Networks: Network Layer

Internet Security: Firewall

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

CIS 632 / EEC 687 Mobile Computing

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

Routing Overview. Information About Routing CHAPTER

Network layer overview

Chapter 4 Network Layer: The Data Plane

Lecture 8. Network Layer (cont d) Network Layer 1-1

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11

Internet Architecture and Experimentation

Examination 2D1392 Protocols and Principles of the Internet 2G1305 Internetworking 2G1507 Kommunikationssystem, fk SOLUTIONS

Chapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview

ITEC 3210 M - Applied Data Communications and Networks. Professor: Younes Benslimane, Ph.D.

EEC-684/584 Computer Networks

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30

Lecture 16: Network Layer Overview, Internet Protocol

Internet Applications and the Application Layer Material from Kurose and Ross, Chapter 2: The Application Layer

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

CSC 4900 Computer Networks: Security Protocols (2)

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

CS 640: Introduction to Computer Networks

Information About Routing

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

Internetworking Over SpaceWire: A Link-Layer Layer Broadcast Service for Network Stack Support

CSC 401 Data and Computer Communications Networks

Network layer: Overview. Network Layer Functions

EXAM TCP/IP NETWORKING Duration: 3 hours

Networking and Internetworking 1

ETSF10 Internet Protocols Routing on the Internet

Chapter 12 Network Protocols

Chapter 4: outline. Network Layer 4-1

EXAM - HP0-Y52. Applying HP FlexNetwork Fundamentals. Buy Full Product.

Chapter 4: network layer

W is a Firewall. Internet Security: Firewall. W a Firewall can Do. firewall = wall to protect against fire propagation

LOGICAL ADDRESSING. Faisal Karim Shaikh.

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

KillTest ᦝ䬺 䬽䭶䭱䮱䮍䭪䎃䎃䎃ᦝ䬺 䬽䭼䯃䮚䮀 㗴 㓸 NZZV ]]] QORRZKYZ PV ٶ瀂䐘މ悹伥濴瀦濮瀃瀆ݕ 濴瀦

Faculty of Science and IT Course title. Pre-requisite/corequisite

Lecture 3. The Network Layer (cont d) Network Layer 1-1

EXAM TCP/IP NETWORKING Duration: 3 hours

Chapter 4: Network Layer

CS519: Computer Networks. Lecture 1 (part 2): Jan 28, 2004 Intro to Computer Networking

Lecture 17: Network Layer Addressing, Control Plane, and Routing

Introduction to Computer Networks. CS 166: Introduction to Computer Systems Security

Networking and Internetworking 1

Chapter 4 Network Layer: The Data Plane

Computer Networking Introduction

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

Acknowledgments. Part One - Introduction to the TCP/IP Protocol

COMP211 Chapter 4 Network Layer: The Data Plane

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

CSc 450/550 Computer Networks Internet Routing

CS 3516: Advanced Computer Networks

Computer Networking Introduction

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

Networking: Network layer

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 13

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Lecture 20: Link Layer

CS164 Final Exam Winter 2013

Computer Networks Prof. S. Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture 28 IP Version 4

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

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

ExamTorrent. Best exam torrent, excellent test torrent, valid exam dumps are here waiting for you

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Chapter 09 Network Protocols

The Interconnection Structure of. The Internet. EECC694 - Shaaban

CSE3214 Computer Network Protocols and Applications

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

Chapter 4 Network Layer. Network Layer 4-1

Routing Basics. SANOG July, 2017 Gurgaon, INDIA

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

DATA COMMUNICATOIN NETWORKING

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

4. The transport layer

CSCI Topics: Internet Programming Fall 2008

CCNA Exploration Network Fundamentals

Internet Routing Basics

CSE 473 Introduction to Computer Networks. Final Exam. Your Name: 12/17/2014 PLEASE WRITE LEGIBLY NO POINTS FOR ILLEGIBLE ANSWERS

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

TDTS06 Computer Networks Final Exam: 14:00-18:00, Friday, November 1, 2013

Novell TCP IP for Networking Professionals.

CSCI Computer Networks Fall 2016

TCP/IP THE TCP/IP ARCHITECTURE

Introduction to routing in the Internet

Network Layer: Control/data plane, addressing, routers

Transcription:

CSE 461 Midterm Winter 2018 Your Name: UW Net ID: General Information This is a closed book/laptop examination. You have 50 minutes to answer as many questions as possible. The number in parentheses at the end of each question indicates the number of points given to the question. There are 5 questions on this exam (check to make sure you have all of them), and there are a total of 50 points. Write all of your answers directly on this paper. Make your answers as concise as possible. If there is something in the question that you believe is open to interpretation, then please go ahead and interpret, but state your assumptions in your answer. Remember to READ THE ENTIRE QUESTION before answering, as later questions will build on earlier answers.

Problem 1: Basics (10 points) a) How are hosts with two different link layers (e.g., WiFi and Ethernet) able to communicate? (3 points) Layering, de-layering and layering through different network. Alternative: The network layer (IP) does that. It decapsulates the data from one link layer and encapsulates in another. b) What is a simplex link? (1 point) One way channel: one is the sender, one is the receiver c) What is a half-duplex link? (1 point) Two way channel: can both send to each other but not at the same time d) What is the primary approach used to divide network functionality in the Internet? (2 points) Layering (yes) e) Consider a protocol stack composed of WiFi, IP, TCP, and HTTP. Illustrate what the packet on the wire look like for this stack? (3 points) WIFI - IP - TCP - HTTP. a drawing of HTTP encapsulated by TCP then by IP then by WIFI

Problem 2: Modern transport protocols (10 points) a) Describe MPTCP (multipath TCP) and how it differs from TCP. (5 points) MPTCP uses multiple paths simultaneously when they are available. A common use case is when the host has two network interfaces. TCP will only use one. b) Describe QUIC and how it differs from TCP. (5 points) QUIC is Google s implementation of TCP + TLS based on UDP https://blog.cloudflare.com/the-road-to-quic/ QUIC is implemented on top of UDP. It combines the functionality of a transport protocol and TLS. It caches keys such that connection establishment is fast. Problem 3: IP primitives (10 points) a) What is ICMP used for? (2 points) Sending back error messages (reports) b) Describe two advantages and two disadvantages of NAT (4 points)

Advantages: 1. Counter the shortage of IP address 2. We can add firewall and filter malicious packets or... (security) Disadvantages: 1. Cannot let outside connect to inside host if the inside host is not showing in the table(did not connect to outside) 2. can only send incoming packets after an outgoing connection is set up 3. Cannot do peer-to-peer app easily 4. Breaks some protocols that embed IP address information in payload (e.g., FTP) c) What was the primary motivation for developing IPv6? (1 point) Shortage of IPv4 addresses (we got larger population) d) How can IPv6 traffic be carried over a network that does not support IPv6? (3 points) 1. Tunneling

Problem 4: Routing and forwarding (10 points) a) What is difference between routing and forwarding (3 points) 1. Routing: needs to figure out where to send the packets 2. Forwarding: knows where to go, just needs to send it b) What is longest matching prefix? (1 point) 1. A forwarding strategy where the router uses the longest prefix that matches the packet s destination IP address. c) Consider a host with IP address 10.10.10.10, prefix 10.10.10.0/24, and gateway 10.10.10.1. How will this host forward packet to following destinations? (3 points) i) 10.10.10.11 Send on the local network. ii) 10.10.11.10 Send to gateway iii) 10.11.10.10 Send to gateway d) Describe three ideas that help routing in the Internet scale? (3 points) Subnetting Hierarchical routing Aggregation

Problem 5: Distance vector and link state (10 points) a) Describe how distance vector and link state routing algorithms differ? (6 points) Distance vector exchanges shortest path information with neighbors. Link state exchanges topology information. Distance vector converges slower. Distance vector is computationally simpler. b) Which of the two algorithms converges faster? (1 point) Link state routing What is converging faster? -- Computes new shortest paths after changes faster. c) Which of the two algorithms requires more computation (1 point) Link State Algorithm d) Give an example of a routing protocol that uses distance vector algorithm (1 point) RIP e) Given an example of a routing protocol that uses link state algorithm. (1 points) OSPF, IS-IS