CS 3516: Computer Networks

Similar documents
CS 3516: Advanced Computer Networks

CS 3516: Advanced Computer Networks

CS 3516: Computer Networks

CS 3516: Advanced Computer Networks

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

CS 3516: Computer Networks

Chapter IV: Network Layer

CSCI Topics: Internet Programming Fall 2008

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

Inter-AS routing and BGP. Network Layer 4-1

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

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

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

COMP211 Chapter 5 Network Layer: The Control Plane

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

Computer Networking Introduction

Chapter 4: Network Layer

DATA COMMUNICATOIN NETWORKING

Chapter 4: outline. Network Layer 4-1

RSC Part II: Network Layer 3. IP addressing (2nd part)

CSCE 463/612 Networks and Distributed Processing Spring 2018

internet technologies and standards

CS 3516: Computer Networks

Lecture 19: Network Layer Routing in the Internet

Chapter 4 Network Layer

Chapter 5 Link Layer. Down Approach. Computer Networking: A Top. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Chapter 4: Network Layer

CS 204: BGP. Jiasi Chen Lectures: MWF 12:10-1pm Humanities and Social Sciences

CSC 4900 Computer Networks: Routing Protocols

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Question Points Score total 100

CSc 450/550 Computer Networks Internet Routing

Problem Set 8 Due: Start of Class, November 16

Chapter 4: Network Layer, partb

COMP211 Chapter 4 Network Layer: The Data Plane

Internet Routing : Fundamentals of Computer Networks Bill Nace

Chapter 5 Link Layer and LANs

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

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

Inter-Domain Routing: BGP

Inter-Autonomous-System Routing: Border Gateway Protocol

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

Chapter 5 Data Link Layer

Chapter 6 The Link Layer and LANs

Interplay Between Routing, Forwarding

Network Layer: Routing

CSC 401 Data and Computer Communications Networks

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

CSEN 503 Introduction to Communication Networks. Mervat AbuElkheir Hana Medhat Ayman Dayf. **Slides are attributed to J. F. Kurose

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms

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

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

Lecture 9 Ethernet and other Link Layer protocols

EPL606. Internetworking. Part 2a. 1Network Layer

Module 10 Data Link Layer CS655! 10-1!

internet technologies and standards

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

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

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

Inter-Autonomous-System Routing: Border Gateway Protocol

Module 3 Network Layer CS755! 3-1!

Internet protocol stack

CMPE 80N: Introduction to Networking and the Internet. Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 20

DATA COMMUNICATOIN NETWORKING

Network Layer: Routing. Routing. Routing protocol. Graph abstraction for routing algorithms: graph nodes are routers graph edges are physical links

Internet rou)ng. V. Arun CS491G: Computer Networking Lab University of MassachuseFs Amherst

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

Chapter 5 Network Layer: The Control Plane

Computer Networking: Test 3

CSCD 330 Network Programming Spring 2017

Chapter 4. DataLink Layer. Reference: Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.

Introduction to Computer Networks

Computer Networking Introduction

Chapter 4: Network Layer. TDTS06 Computer networks. Subnets. Subnets. Subnets. IP Addressing: introduction

CS 3516: Advanced Computer Networks

Midterm Exam II CMPSCI 453: Computer Networks Fall 2010 Prof. Jim Kurose

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

Computer Networks. Instructor: Niklas Carlsson

Network layer: Overview. Network layer functions Routing IP Forwarding

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer: The Data Plane

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

cs144 Midterm Review Fall 2010

CS 3516: Advanced Computer Networks

Chapter 6 The Link Layer and LANs

Chapter 4 Network Layer

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

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

Chapter 4: Network Layer

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

Telecomunicazioni. Docente: Andrea Baiocchi DIET - Stanza 107, 1 piano palazzina P. Piga Via Eudossiana 18

Agenda. distance-vector (what you invented last Friday) hierarchical routing routing in the Internet. v DNS assignment Q&A v Routing Algorithms

ECE 544 Computer Networks II Mid-Term Exam March 29, 2002 Profs. D. Raychaudhuri & M. Ott

COM-208: Computer Networks - Homework 6

Module 4 Data Link Layer CS655! 4-1!

CS 421: COMPUTER NETWORKS SPRING FINAL May 16, minutes

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

Transcription:

Welcome to CS 3516: Computer Networks Prof. Yanhua Li Time: 9:00am 9:50am M, T, R, and F Location: AK219 Fall 2018 A-term 1 Some slides are originally from the course materials of the textbook Computer Networking: A Top Down Approach, 7th edition, by Jim Kurose, Keith Ross, Addison-Wesley March 2016. Copyright 1996-2017 J.F Kurose and K.W. Ross, All Rights Reserved.

Overview v Final Exam Review v Class Review Link Layer 5-2

Addressing: routing to another LAN walkthrough: send datagram from A to B via R focus on addressing at IP (datagram) and MAC layer (frame) assume A knows B s IP address (how?) assume A knows IP address of first hop router, R (how?) assume A knows R s MAC address (how?) A 111.111.111.111 74-29-9C-E8-FF-55 111.111.111.112 CC-49-DE-D0-AB-7D R 111.111.111.110 E6-E9-00-17-BB-4B 222.222.222.220 1A-23-F9-CD-06-9B B 222.222.222.222 49-BD-D2-C7-56-2A 222.222.222.221 88-B2-2F-54-1A-0F Link Layer 5-3

Overview v Final Exam Review v Class Review Link Layer 5-4

Final Review v (1) DHCP v (2) CSMA/CD v (3) LS and DV routing v (4) LS and DV routing v (5) IPv4 classful addressing v (6) LS and DV routing v (7) Inter-AS routing and BGP v (1) 7 questions v (2) 32 points + 2 bonus points v (3) Q1-4: Small v (4) Q5-7: bigger questions Link Layer 5-5

DHCP client-server scenario 223.1.1.0/24 223.1.1.1 DHCP server 223.1.2.1 223.1.1.2 223.1.1.4 223.1.2.9 223.1.2.2 223.1.1.3 223.1.3.27 arriving DHCP client needs address in this network 223.1.2.0/24 223.1.3.1 223.1.3.2 223.1.3.0/24 Network Layer 4-6

DHCP client-server scenario DHCP server: 223.1.2.5 DHCP discover src : 0.0.0.0, 68 dest.: 255.255.255.255,67 yiaddr: 0.0.0.0 transaction ID: 654 Broadcast: is there a DHCP server out there? arriving client DHCP request DHCP offer src: 0.0.0.0, 68 dest:: 255.255.255.255, 67 yiaddrr: 223.1.2.4 transaction that IP address! ID: 655 lifetime: 3600 secs Broadcast: OK. I ll take src: 223.1.2.5, 67 dest: 255.255.255.255, 68 yiaddrr: 223.1.2.4 transaction ID: 654 lifetime: 3600 secs Broadcast: I m a DHCP server! Here s an IP address you can use DHCP ACK src: 223.1.2.5, 67 dest: 255.255.255.255, 68 yiaddrr: 223.1.2.4 transaction ID: 655 lifetime: 3600 secs Broadcast: OK. You ve got that IP address! Network Layer 4-7

CSMA/CD (collision detection) spatial layout of nodes B D Link Layer 5-8

Ethernet CSMA/CD algorithm 1. NIC receives datagram from network layer, creates frame 2. If NIC senses channel idle, starts frame transmission. If NIC senses channel busy, waits until channel idle, then transmits. 3. If NIC transmits entire frame without detecting another transmission, NIC is done with frame! 4. If NIC detects another transmission while transmitting, aborts and sends jam signal 5. After aborting, NIC enters binary (exponential) backoff: after mth collision, NIC chooses K at random from {0,1,2,, 2 m -1}. NIC waits K 512 bit times, returns to Step 2 longer backoff interval with more collisions Link Layer 5-9

Interconnected ASes 3c 3a 3b AS3 1a 1c 1d 1b Intra-AS Routing algorithm AS1 Forwarding table Inter-AS Routing algorithm 2a DV: Routing Information Protocol (RIP), BGP LS: OSPF (Open Shortest Path First routing) 2c AS2 v 2b forwarding table configured by both intraand inter-as routing algorithm intra-as sets entries for internal dests inter-as & intra-as sets entries for external dests Network Layer 4-10

Inter-AS tasks v other networks suppose router in AS1 receives datagram destined outside of AS1: router should forward packet to gateway router, but which one? 3b 3c AS3 3a 1a AS1 1c 1d x 1b AS1 must: 1. learn which dests are reachable through AS2, which through AS3 2. propagate this reachability info to all routers in AS1 job of inter-as routing! 2a AS2 2c 2b other networks Network Layer 4-11

BGP basics: distributing path information v v other networks using ebgp session between 3a and 1c, AS3 sends prefix reachability info to AS1. 1c can then use ibgp do distribute new prefix info to all routers in AS1 1b can then re-advertise new reachability info to AS2 over 1b-to- 2a ebgp session when router learns of new prefix, it creates entry for prefix in its forwarding table. 3b AS3 3a 1a AS1 1c x 1d ebgp session ibgp session 1b 2a AS2 2c 2b other networks Network Layer 4-12

Example: setting forwarding table in router 1d v v suppose AS1 learns (via inter-as protocol) that subnet x reachable via AS3 (gateway 1c), but not via AS2 inter-as protocol propagates reachability info to all internal routers router 1d determines from intra-as routing info that its interface e is on the least cost path to 1c installs forwarding table entry (x,e) 3c x other networks 3b 3a AS3 1a AS1 1c 1d 1b 2a AS2 2c 2b other networks Network Layer 4-13

Example: choosing among multiple ASes v v other networks now suppose AS1 learns from inter-as protocol that subnet x is reachable from AS3 and from AS2. to configure forwarding table, router 1d must determine which gateway it should forward packets towards for dest x this is also job of inter-as routing protocol! hot potato routing: send packet towards closest of two routers. 3b 3c AS3 3a 1a AS1 1c 1d x? 1b 2a AS2 2c 2b other networks Network Layer 4-14

Final Grade: 4 components Labs: 10% 3 labs, Lab1-5points; Lab2-25+2pts; Lab3-25 + 1 bonus pt Quizzes: 30% 9 Quizzes the one with lowest percentage is not counted Projects: 30% 3 project, each worth of 15% Exams: 30% Mid-term exam: (32 + 2 pts) Final Exam: (32 + 2 pts) Link Layer 5-15

Questions? Network Layer 4-16