More on Network Routing and Internet Protocol

Similar documents
EE 122: Intra-domain routing

Chapter 4: Network Layer

Internet Architecture. Network Layer Overview. Fundamental Network Layer Function. Protocol Layering and Data. Computer Networks 9/23/2009

CS 43: Computer Networks. 23: Routing Algorithms November 14, 2018

Network service model. Network service model. Network Layer (part 1) Virtual circuits. By the end of this lecture, you should be able to.

What is Routing? EE 122: Shortest Path Routing. Example. Internet Routing. Ion Stoica TAs: Junda Liu, DK Moon, David Zats

CSCE 463/612 Networks and Distributed Processing Spring 2018

Initialization: Loop until all nodes in N

IP Forwarding Computer Networking. Graph Model. Routes from Node A. Lecture 11: Intra-Domain Routing

COMP 3331/9331: Computer Networks and Applications

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

WAN Technology and Routing

Routing. 9: Intro to Routing Algorithms. Routing. Roadmap. Routing Algorithm classification: Static or Dynamic?

2/16/2008. Outline Computer Networking Lecture 11 Routing. Sending Link States by Flooding. Link State Protocol Concept

Review: Routing in Packet Networks Shortest Path Algorithms: Dijkstra s & Bellman-Ford. Routing: Issues

IP Forwarding Computer Networking. Routes from Node A. Graph Model. Lecture 10: Intra-Domain Routing

Network layer. Network Layer 4-1. application transport network data link physical. network data link physical. network data link physical

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

COMP/ELEC 429/556 Introduction to Computer Networks

Distance-Vector Routing: Distributed B-F (cont.)

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

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016

Third Generation Routers

06/02/ Local & Metropolitan Area Networks. Overview. Routing algorithm ACOE322. Lecture 6 Routing

DATA COMMUNICATOIN NETWORKING

Announcement. Project 2 extended to 2/20 midnight Project 3 available this weekend Homework 3 available today, will put it online

Addressing: when mobile is moving around. Mobile Registration. Principles of Mobile Routing. Mobility via Indirect Routing

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

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

What s a protocol? CE80N Introduction to Networks & The Internet. Communication Protocol. Protocol Layers. Dr. Chane L. Fullmer UCSC Winter 2002

CSC 401 Data and Computer Communications Networks

internet technologies and standards

COMP 631: NETWORKED & DISTRIBUTED SYSTEMS 9/6/16 COMP 631: NETWORKED & DISTRIBUTED SYSTEMS. Internet Routing. Jasleen Kaur.

Chapter 4 Network Layer

CSC 4900 Computer Networks: Routing Algorithms

TCP/IP Networking. Part 3: Forwarding and Routing

Lecture 4. The Network Layer (cont d)

Transport Layer Overview

Computer Networking Introduction

Chapter 4: Network Layer

Distance Vector: Link Cost Changes. Interdomain Routing. Distance Vector: Count to Infinity Problem. Distance Vector: Poisoned Reverse

Routing Algorithm Classification. A Link-State Routing Algorithm

Discussion 8: Link State Routing. CSE 123: Computer Networks Marti Motoyama & Chris Kanich

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

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

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

Routers & Routing : Computer Networking. Binary Search on Ranges. Speeding up Prefix Match - Alternatives

CS 3516: Advanced Computer Networks

Shortest Paths Algorithms and the Internet: The Distributed Bellman Ford Lecturer: Prof. Chiara Petrioli

The Problem: Finding Paths Spring 2011 Lecture #19. Forwarding. Shortest Path Routing

Chapter 5 Network Layer: The Control Plane

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

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

Chapter 4: Network Layer

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Network Layer: Routing

More on Link Layer. Recap of Last Class. Interconnecting Nodes in LAN (Local-Area Network) Interconnecting with Hubs. Computer Networks 9/21/2009

CSC 401 Data and Computer Communications Networks

C13b: Routing Problem and Algorithms

Announcements. CS 5565 Network Architecture and Protocols. Count-To-Infinity. Poisoned Reverse. Distance Vector: Link Cost Changes.

Chapter 4 Network Layer. Network Layer 4-1

ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE! 1. Link state flooding topology information finding the shortest paths (Dijkstra)

ECE 158A: Lecture 5. Fall 2015

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

Master Course Computer Networks IN2097

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

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

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

Foundations of Telematics

Routing Fundamentals. What Is Routing? Routing Information. Routing Requirements. Most of the necessary information is contained in the routing table

Subnets. IP datagram format. The Internet Network layer. IP Fragmentation and Reassembly. IP Fragmentation & Reassembly. IP Addressing: introduction

CSCD 330 Network Programming Spring 2018

HY 335 Φροντιστήριο 8 ο

Chapter 4 Network Layer

CEN445 Network Protocols and Algorithms. Chapter 2. Routing Algorithms. Dr. Ridha Ouni

CSCD 330 Network Programming Spring 2017

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

DSDV: Proactive. Distance Vector (Basic idea) Distance Vector. Distance Vector Algorithm: Tables 12/13/2016

COMP211 Chapter 4 Network Layer: The Data Plane

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

CSCI Computer Networks Fall 2016

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

LAN Interconnection and Other Link Layer Protocols

Chapter 4: Network Layer, partb

Chapter 4 Network Layer: The Data Plane

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

Routing. Jens A Andersson Communication Systems

UNIT III THE NETWORK LAYER

Destination Sequenced Distance. [Perkins94] CSE 6811 : Lecture 6

CS 457 Networking and the Internet. What is Routing. Forwarding versus Routing 9/27/16. Fall 2016 Indrajit Ray. A famous quotation from RFC 791

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First)

RSC Part II: Network Layer. 3. IP addressing. II.5 Network routing. II. 1 Basic Network layer concepts II.2 Introduction to IP

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Network Layer: Internet Protocol

4/25/12. The Problem: Distributed Methods for Finding Paths in Networks Spring 2012 Lecture #20. Forwarding. Shortest Path Routing

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

Chapter IV: Network Layer

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

Router Architecture Overview

Transcription:

omputer Networks //03 More on Network Routing and Internet Protocol Kai Shen Network Routing Link state routing: ijkstra s algorithm efficient approach to calculate least cost routes all routers need complete topology, link cost info costly (or impossible) to acquire such information in large networks ecentralized routing: router need to knows physically connected neighbors, link costs to neighbors doable by info exchanges between neighbor routers //03 S / - Spring 03 //03 S / - Spring 03 istance Vector Routing istance Vector: n Example 3 routing table (at each host): the next hop for each destination in the network distance vector routing: routing table can be derived from the distance vector at each node distance vectors can be maintained in a decentralized fashion 3 E F //03 S / - Spring 03 3 E 8 (E,,) = c(e,) + shortest(,) = + = (E,,) = c(e,) + shortest(,) = +3 = loop! (E,,) = c(e,) + shortest(,) = 8+6 = istance vector at node E (E,x,y) loop! //03 S / - Spring 03 via first hop x 6 8 9 S / - Spring 03

omputer Networks //03 istance Vector to Routing Table istance Vector Routing: onstructing istance Vector cost to destination via E () Outgoing link to use, cost, istance vector can be built on information about local links and neighbors routing tables! 6 8 9,, t node, each entry (,,) includes: the distance from to neighbor the shortest distance from to, istance vector Routing table //03 S / - Spring 03 //03 S / - Spring 03 6 istance Vector lgorithm: n Example istance Vector lgorithm: n Example (,,) = c(,) + shortest(,) = + = 8 (,,) = c(,) + shortest(,) = + = 3 re we done? //03 S / - Spring 03 //03 S / - Spring 03 8 S / - Spring 03

omputer Networks //03 istance Vector Routing: Maintaining istance Vector istance Vector: Link ost hanges Information: local link cost distance vector rou ng table Recompute caused by: local link cost change message from neighbor: its routing table has changed Notify neighbor: if my own routing table has changed, notify my neighbors Each node: wait for (change in local link cost or msg from neighbor) recompute distance vector if the local routing table has changed, notify neighbors Link cost changes: node detects local link cost change recompute updates local distance vector if cost change in least cost path, notify neighbors 0 algorithm terminates //03 S / - Spring 03 9 //03 S / - Spring 03 0 istance Vector: Link ost hanges istance Vector: Link ost hanges pathological case: recursive distance vector updates applies only to link cost increase bad news settles slowly 60 0 If routes through to get to : tells its ( s) distance to is infinity (so won t route to via ) Will this completely solve the problem of recursive distance vector updates? 60 0 0. U 0. algorithm continues on! algorithm terminates //03 S / - Spring 03 //03 S / - Spring 03 S / - Spring 03 3

omputer Networks //03 Routing Loops omparison of LS and V lgorithms In packet switching networks, each node computes its own routing table independently What if? s next hop to is ; and s next hop to is. Routing loops during recursive distance vector updates unsynchronized information updates in dynamic networks Speed of convergence Link state routing: O(nlogn) algorithm in local computation istance vector routing: convergence time? recursive distance vector updates in a pathological case Robustness: what happens if router malfunctions? Link state routing: node can advertise incorrect link cost istance vector routing: node can advertise incorrect routing table //03 S / - Spring 03 3 //03 S / - Spring 03 The Internet Network Layer IP ddressing: Introduction Network layer Routing protocols RIP, OSPF, GP Transport layer: TP, UP The rest of the IP protocol addressing conventions packet format packet handling conventions Link layer IMP protocol error reporting router signaling physical layer IP address: 3 bit identifier for each host, router interface Interface: connecting point into each data link router typically has multiple interfaces host often has single interface 3... 3... 3... 3... 3...9 3...3 3..3. 3..3. 3... 3..3. 3... = 0 0000000 0000000 0000000 3 //03 S / - Spring 03 //03 S / - Spring 03 6 S / - Spring 03

omputer Networks //03 IP Network and Hierarchical ddressing IP ddresses: Original Standard What s an IP network? can physically reach each other without intervening router (intervening switches?) IP address: network part (high order bits); host part (low order bits) devices with same network part of IP address are in the same IP network 3... 3... 3... 3... 3...9 3... 3...3 3..3. IP network 3..3. 3..3. network consisting of 3 IP networks Given notion of network, let s re examine IP addresses: class -based addressing: class 0network host 0 network host 0 network host 0 multicast address 3 bits.0.0.0 to... 8.0.0.0 to 9... 9.0.0.0 to 3....0.0.0 to 39... //03 S / - Spring 03 //03 S / - Spring 03 8 IP ddressing: IR IP ddress epletion (HP) lass based addressing: inefficient use of address space, address space exhaustion e.g., class network allocated enough addresses for 6K hosts, even if only K hosts in that network IR: classless addressing network portion of address of arbitrary length address format: a.b.c.d/x, where x is # bits in network portion of address network part 00000 0000 0000000 00000000 00.3.6.0/3 host part ddress depletion 3 bit address space soon to be used up. Observation: not every host is online at a given time. HP: allow host to dynamically obtain its IP address from network server when it joins network can renew its lease on address in use allows reuse of addresses (only hold address while connected) //03 S / - Spring 03 9 //03 S / - Spring 03 0 S / - Spring 03

omputer Networks //03 IP ddress epletion (NT) IP ddress epletion (NT) Observations: lot of traffic is local rest of Internet local network (e.g., home network) 0.0.0.0/ 0.0.0. lthough IP addresses are few, possible (IPaddr, port) tuples are more abundant and they can identify communication end point 0.0.0. 0.0.0. 38.6.9. 0.0.0.3 ll IP packets leaving local Packets with source or network have same single source NT IP destination in this network address: 38.6.9., have 0.0.0.0/ addresses for different source port numbers source, destination Problem: inbound connection not allowed! //03 S / - Spring 03 //03 S / - Spring 03 isclaimer Parts of the lecture slides contain original work of James Kurose, Larry Peterson, and Keith Ross. The slides are intended for the sole purpose of instruction of computer networks at the University of Rochester. ll copyrighted materials belong to their original owner(s). //03 S / - Spring 03 3 S / - Spring 03 6