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

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

Chapter 4: Network Layer

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

Network Layer: Routing

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

Routing Algorithm Classification. A Link-State Routing Algorithm

Chapter 4 Network Layer

Computer Networks. Instructor: Niklas Carlsson

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

Computer Networking. Rou1ng Algorithms. Rou1ng Algorithms. Interplay between rou1ng, forwarding. routing algorithm

Chapter 4: Network Layer: Part II

Chapter 4 Network Layer. Network Layer 4-1

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

Network Layer: Control Plane 5-2

Interplay between routing, forwarding

Chapter IV: Network Layer

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

CSCI Computer Networks Fall 2016

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

Network Layer PREPARED BY AHMED ABDEL-RAOUF

1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24

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

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

11/13/2017 Network Layer (SSL) Network-layer functions. Recall the two network-layer functions:

Chapter 4: Network Layer, partb

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

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

CMPE 80N: Introduction to Networking and the Internet

Chapter 4: Network Layer. Chapter 4 Network Layer. Chapter 4: Network Layer. Network Layer. Chapter goals:

Master Course Computer Networks IN2097

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

Network Layer: Internet Protocol

Network layer: Overview. Network Layer Functions

Chapter IV: Network Layer

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

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

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

CSC 401 Data and Computer Communications Networks

DATA COMMUNICATOIN NETWORKING

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

Computer Networking Introduction

CS 3516: Advanced Computer Networks

Network layer: Overview. Network layer functions Routing IP Forwarding

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

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

Chapter 4: Network Layer

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

CS 3516: Computer Networks

CSCE 463/612 Networks and Distributed Processing Spring 2018

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

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

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

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

UNIT III THE NETWORK LAYER

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

CSC 4900 Computer Networks: Routing Algorithms

Chapter 4: Network Layer

Router Architecture Overview

Δίκτυα Υπολογιστών ΙΙ. Κώστας Μαγκούτης Επίκουρος Καθηγητής Τμήμα Μηχανικών Η/Υ και Πληροφορικής Πανεπιστήμιο Ιωαννίνων

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

CSC 4900 Computer Networks: Routing Protocols

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018

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

Network Layer: Control/data plane, addressing, routers

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

CSc 450/550 Computer Networks Internet Routing

Graph abstraction: costs. Graph abstraction 10/26/2018. Interplay between routing and forwarding

Chapter 4: outline. Network Layer 4-1

Chapter 4: Network Layer

Lecture 16: Network Layer Overview, Internet Protocol

Chapter 4: network layer

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

COMP211 Chapter 4 Network Layer: The Data Plane

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

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

Chapter 5: Network Layer Control Plane. understand principles behind network control plane : traditional routing algorithms

Topics for This Week

Chapter 4: Network Layer

Network Layer. CMPS 4750/6750: Computer Networks

Lecture 19: Network Layer Routing in the Internet

CS4/MSc Computer Networking. Lecture 4 The network layer: Forwarding, Routing, IP and Internet routing protocols

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

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

internet technologies and standards

Chapter 4 Network Layer

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

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

Network layer functions. Chapter 4 Network Layer. Network layer functions. Network layer functions

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

DATA COMMUNICATOIN NETWORKING

IPv4. Christian Grothoff.

Routing Unicast routing protocols

Routing. Jens A Andersson Communication Systems

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

EE 122: Intra-domain routing

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

CS4/MSc Computer Networking. Lectures 6-8 The network layer: Forwarding, Routing, IP and Internet routing protocols

Chapter 4: Network Layer

Network layer. Two Key Network-Layer Functions. Datagram Forwarding table. IP datagram format. IP Addressing: introduction

Transcription:

Announcements CS 6 Network Architecture and Protocols Lecture 20 Project 2B Part/ due Wed Apr 27 :9pm Part/2 due Wed Ma :9pm Current reading assignment: Chapter.6.7, Chapter Final Ma 0, 3:2pm, MCB 26 Godmar Back 2 CountToInfinit Before change: 6 to via 7 to via 8 to via Distance Vector: Link Cost Changes Link cost changes: good news travels fast bad news travels slow count to infinit problem! iterations before algorithm stabilies Poisoned reverse: If Z routes through Y to get to X : Z tells Y its (Z s) distance to X is infinite (so Y won t route to X via Z) will this completel solve count to infinit problem? 3 Poisoned Reverse After change: 6 to via Don t tell dist to to via Comparison of LS and DV algorithms Message compleit LS: with n nodes, E links, O(nE) msgs sent DV: echange between neighbors onl convergence time varies Speed of Convergence LS: O(n 2 ) algorithm requires O(nE) msgs ma have oscillations DV: convergence time varies ma be routing loops counttoinfinit problem Robustness: what happens if router malfunctions? LS: node can advertise incorrect link cost each node computes onl its own table DV: DV node can advertise incorrect path cost each node s table used b others error propagate thru network 6

Hierarchical Routing Hierarchical Routing Our routing stud thus far idealiation all routers identical network flat not true in practice scale: with 200 million destinations: can t store all dest s in routing tables! routing table echange would swamp links! administrative autonom internet = network of networks each network admin ma want to control routing in its own network aggregate routers into regions, autonomous sstems (AS) routers in same AS run same routing protocol intraas routing protocol routers in different AS ma run different intra AS routing protocols Gatewa router Direct link to router in another AS Eample: [2] 7 8 a Interconnected ASes c d b IntraAS Routing algorithm AS Forwarding table InterAS Routing algorithm Forwarding table is configured b both intra and interas routing algorithm IntraAS sets entries for internal dests InterAS & IntraAS sets entries for eternal dests 9 Suppose router in AS AS the gatewa routers, but a InterAS tasks c d b AS needs:. to learn which dests are reachable through and which through 2. to propagate this reachabilit info to all routers in AS Job of interas routing! AS 0 a InterAS tasks (cont d) Suppose router in AS AS the gatewa routers, but route to c d Scenario Destination is reachable through single AS InterAS must propagate this Least cost path to information inside AS c is interface l, add (, l) to routing table does not advertise route to Spread in AS: b AS use gatewa c to get to Suppose router in AS AS the gatewa routers, but a Hot Potato Routing c d b Scenario 2: Destination is reachable through multiple AS: Hot potato routing: send packet towards closest of two routers AS 2 2

Suppose router in AS AS the gatewa routers, but a Hot Potato Routing route to c d b Scenario 2: Destination is reachable through multiple AS: Hot potato routing: send packet b is closer than c, towards closest of two interface k leads to routers b, so add (, k) to routing table AS Spread in AS: c and b lead to route to 3 Summar Routing algorithms: Link State Distance Vector Hierarchical Routing AS: autonomous sstems Net: application to Internet/IP The Internet Network Laer Host, router network laer functions: Network laer Routing protocols path selection RIP, OSPF, BGP Transport laer: TCP, UDP forwarding table Link laer Phsical laer IP protocol addressing conventions datagram format packet handling conventions ICMP protocol error reporting router signaling IP protocol version number header (btes) tpe of data ma number remaining hops (decremented at each router) upper laer protocol to deliver paload to IP Datagram Format 32 bits ver head. tpe of len service 6bit identifier flgs fragment time to upper Internet live laer checksum 32 bit source IP address 32 bit destination IP address Options (if an) data (variable, tpicall a TCP or UDP segment) total datagram (btes) for fragmentation/ reassembl E.g. timestamp, record route taken, specif list of routers to visit. 6 IP Fragmentation & Reassembl network links have MTU (ma.transfer sie) largest possible linklevel frame. different link tpes, different MTUs large IP datagram divided ( fragmented ) within net one datagram becomes several datagrams reassembled onl at final destination IP header bits used to identif, order related fragments reassembl fragmentation: in: one large datagram out: 3 smaller datagrams 7 IP Fragmentation and Reassembl Eample 000 bte datagram MTU = 0 btes 80 btes in data field = 80/8 00 = = One large datagram becomes several smaller datagrams 0 = = = = =8 =370 8 3

IP Addressing: Introduction IP address: 3it identifier for host, router interface interface: connection between host/router and phsical link router s tpicall have multiple interfaces host ma have multiple interfaces IP addresses associated with each interface 223... 223..2. 223...2 223... 223..2.9 223...3 223..3. 223..3.27 223..2.2 223..3.2 223... = 0 0000000 0000000 0000000 223 9 IP address: subnet part (high order bits) host part (low order bits) What s a subnet? device interfaces with same subnet part of IP address can phsicall reach each other without intervening router 223... 223..2. 223...2 223... 223..2.9 223...3 223..3. 223..2.2 223..3.27 LAN 223..3.2 network consisting of 3 subnets 20 Recipe To determine the subnets, detach each interface from its host or router, creating islands of isolated networks. Each isolated network is called a subnet. 223...0/2 223..2.0/2 223..3.0/2 Subnet mask: /2 2.2.2.0 How man? 223... 223...2 223... 223...3 223..9.2 223..7.0 223..9. 223..7. 223..8. 223..8.0 223..2.6 223..3.27 223..2. 223..2.2 223..3. 223..3.2 2 22 IP Addressing: CR CR: Classless InterDomain Routing subnet portion of address of arbitrar address format: a.b.c.d/, where is # bits in subnet portion of address Classfull Routing subnet host part part 00000 0000 0000000 00000000 200.23.6.0/23 23 A, B, C: Prett much onl of historical interest toda 2

Special IP Addresses Summar IP Addressing, fragmentation, subnets 2 26