CSc 450/550 Computer Networks Internet Routing

Similar documents
Chapter 4: Network Layer

Chapter 4: outline. Network Layer 4-1

Computer Networking Introduction

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

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

DATA COMMUNICATOIN NETWORKING

Chapter IV: Network Layer

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

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

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

CSC 4900 Computer Networks: Routing Protocols

Routing in the Internet

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

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

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

CSCI Topics: Internet Programming Fall 2008

Chapter 4: Network Layer, partb

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

Topics for This Week

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

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

Routing. Jens A Andersson Communication Systems

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

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

Chapter 4 Network Layer

Routing Unicast routing protocols

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

Chapter 4: Network Layer

Network layer: Overview. Network layer functions Routing IP Forwarding

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

Lecture 19: Network Layer Routing in the Internet

Lecture 4. The Network Layer (cont d)

Inter-Domain Routing: BGP

Network Layer: Routing

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

Chapter 4: Network Layer: Part II

CSC 8560 Computer Networks: Control Plane

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Internet Routing : Fundamentals of Computer Networks Bill Nace

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

COMP211 Chapter 5 Network Layer: The Control Plane

5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet

Course on Computer Communication and Networks. Lecture 7 Network Layer, Chapter 4 (6/e) - Part B (7/e Ch5)

Network layer: Overview. Network layer functions Routing IP Forwarding

Chapter 5 Network Layer: The Control Plane

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

PART III. Implementing Inter-Network Relationships with BGP

Inter-Autonomous-System Routing: Border Gateway Protocol

Department of Computer and IT Engineering University of Kurdistan. Computer Networks II Border Gateway protocol (BGP) By: Dr. Alireza Abdollahpouri

Inter-Autonomous-System Routing: Border Gateway Protocol

Routing. Outline. Algorithms Scalability

Interplay Between Routing, Forwarding

Routing Protocols. Autonomous System (AS)

CS321: Computer Networks Unicast Routing

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

Interplay between routing, forwarding

Basic Idea. Routing. Example. Routing by the Network

Network Layer: Routing

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

Routing by the Network

ETSF10 Internet Protocols Routing on the Internet

Department of Computer Science Southern Illinois University Carbondale

Computer Networks. Instructor: Niklas Carlsson

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

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

CNT Computer and Network Security: BGP Security

ICS 351: Today's plan. OSPF BGP Routing in general

Dynamic Routing. The Protocols

Why dynamic route? (1)

Unit 3: Dynamic Routing

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

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

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

ICS 351: Today's plan. distance-vector routing game link-state routing OSPF

Introduction to Computer Networks

Network Layer: Control Plane 5-2

Introduction to Communication Networks Spring Unit 16 Global Internetworking

Internet Routing Protocols Tuba Saltürk

CSCD 330 Network Programming Spring 2018

Internet inter-as routing: BGP

CSCD 330 Network Programming Spring 2017

COM-208: Computer Networks - Homework 6

EECS 3214: Computer Networks Protocols and Applications

IP Addressing & Interdomain Routing. Next Topic

EC441 Fall 2018 Introduction to Computer Networking Chapter 5: Network Layer Control Plane

Network layer. Key Network-Layer Functions. Network service model. Interplay between routing and forwarding. CSE 4213: Computer Networks II

Chapter 4 Network Layer

Communication Networks

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

DATA COMMUNICATOIN NETWORKING

Routing part 2. Electrical and Information Technology

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

Routing Protocol. Seiya Tsubone. Apr The University of Tokyo. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25.

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

Data Communications & Networks. Session 7 Main Theme Networks: Part II Circuit Switching, Packet Switching, The Network Layer

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

ICS 351: Today's plan. OSPF BGP Routing in general routing protocol comparison encapsulation network dynamics

Chapter 4: Network Layer

Transcription:

CSc 450/550 Computer Networks Internet Routing Jianping Pan Summer 2007 7/12/07 CSc 450/550 1

Review Internet Protocol (IP) IP header addressing class-based, classless, hierarchical, NAT routing algorithms flooding distance vector link state hierarchical Internet Application Transport Network Link HTTP, DNS TCP, UDP 7/12/07 CSc 450/550 2 IP

Distance vector routing Distributed Bellman-Ford algorithm A B X Path new (A, X) = min B {Path old (A,X), Link(A,B) + Path(B,X)} CSc 450/550 3

Link state routing Dijkstra algorithm 7/12/07 CSc 450/550 4 D(v) = min( D(v), D(w) + c(w,v) )

Today's topics Internet routing protocols how does the Internet really route my packets? hierarchical structures Intra-domain routing AS: autonomous systems e.g., RIP, OSPF, ISIS, IGRP Inter-domain routing e.g., BGP 3b 3c 3a AS3 %traceroute google.com 1a 1c 1d 1b AS1

Intra-AS Routing Also known as Interior Gateway Protocols (IGP) Most common Intra-AS routing protocols: RIP: Routing Information Protocol OSPF: Open Shortest Path First algorithm DV LS IGRP: Interior Gateway Routing Protocol (Cisco proprietary)

RIP (Routing Information Protocol) Distance vector algorithm Included in BSD-UNIX Distribution in 1982 Distance metric: # of hops (max = 15 hops) z u A C B D v y w x From router A to subsets: destination hops u 1 v 2 w 2 x 3 y 3 z 2 next-hop - B B C C C Q: why max 15 hops? H: CTI problems in DV

RIP advertisements Distance vectors: exchanged among neighbors every 30 sec via RIP Response Message (also called advertisement) Each advertisement: list of up to 25 destination subnets within AS. UDP port 520 /etc/services newer implementations also use TCP Routing metric: the number of hops

RIP: Example w x y A D B z C Destination Network Next Router Num. of hops to dest. w A 2 y B 2 z B 7 x -- 1..... Routing table in router D

RIP: Route update example Dest Next hops w - 1 x - 1 z C 4.... Advertisement from A to D w x y A D B z C Destination Network Next Router Num. of hops to dest. w A 2 y B 2 z B A 7 5 x -- 1..... 7/12/07 <number> Routing table in D

RIP: Link Failure and Recovery If no RIP advertisement heard after 180 sec --> neighbor/link declared dead (not reachable) routes via neighbor invalidated new advertisements sent to neighbors neighbors in turn send out new advertisements (if tables changed) link failure info quickly propagates to entire net poison reverse used to prevent ping-pong loops (infinite distance = 16 hops)

OSPF (Open Shortest Path First) open : publicly available Uses Link State algorithm LS packet dissemination A router constructs a complete topological map (i.e., a graph) Route computation using Dijkstra s algorithm to determine a shortest path tree to all subnets OSPF advertisement carries one entry per neighbor router Advertisements disseminated to entire AS (via flooding) Carried in OSPF messages directly over IP (rather than TCP or UDP) IP protocol ID: 89 /etc/protocols Multiple routing metrics

OSPF messages Q: flooding LSA?

Hierarchical OSPF

Hierarchical OSPF Two-level hierarchy: local area, backbone. Link-state advertisements only in area each node has detailed area topology; only know direction (shortest path) to subnets in other areas. Area border routers: summarize distances to nets in own area, advertise to other Area Border routers. Backbone routers: run OSPF routing limited to backbone. Boundary routers: connect to other AS s. Q: boundary routers?

Internet inter-as routing: BGP BGP (Border Gateway Protocol): the de facto exterior gateway protocol (version 4) BGP provides each AS a means to: 1. Obtain subnet reachability information from neighboring ASs. 2. Propagate the reachability information to all routers internal to the AS. 3. Determine good routes to subnets based on reachability information and policy. Allows a subnet to advertise its existence to rest of the Internet: I am here

Distributing reachability info With ebgp session between 3a and 1c, AS3 sends a prefix reachability info, reachable from AS3 to the prefix, to AS1. 1c can then use ibgp do distribute this new prefix reach info to all routers in AS1 1b can then re-advertise the new reach info to AS2 over the 1b-to-2a ebgp session When a router learns about a new prefix, it creates an entry for the prefix in its forwarding table. 1.1.1.0/24 3c 3a 3b AS3 1a AS1 1.1.1.0/24: AS 3; 3a 1c 1b 1d ibgp session 2a 2c AS2 2b 1.1.1.0/24: AS 3, AS1; 1b ebgp session Q: why Path Vector?

Path attributes & BGP routes When advertising a prefix, advertisement includes BGP attributes. prefix + attributes = route path vector routing Two important attributes: AS-PATH: contains the ASs through which the advert for the prefix passed: AS3 AS1 NEXT-HOP: Indicates the specific internal-as router to next-hop AS. (There may be multiple links from current AS to next-hop- AS.) When gateway router receives route advert, uses import routing policy to accept/decline.

BGP messages BGP messages exchanged using TCP. BGP messages: OPEN: opens TCP connection to peer and authenticates sender UPDATE: advertises new path (or withdraws old) KEEPALIVE keeps connection alive in absence of UPDATES; also ACKs OPEN request NOTIFICATION: reports errors in previous msg; also used to close connection

BGP route selection Router may learn about more than 1 route to some prefixes. Router must select route. Elimination rules: 1. Local preference value attribute: routing policy decision 2. Shortest AS-PATH 3. Closest NEXT-HOP router: hot potato routing 4. Additional criteria

Comparison: intra/inter-domain routing Policy: Inter-AS: admin wants control over how its traffic routed, who routes through its net. Intra-AS: single admin, so no policy decisions needed Scale: hierarchical routing saves table size, reduced update traffic Performance: Intra-AS: can focus on performance Inter-AS: policy may dominate over performance

This lecture Internet routing RIP: distance vector routing OSPF: hierarchical, link-state routing BGP basics: path vector routing Explore further Advanced Computer Networks (Topics Course) http://www.cs.uvic.ca/~pan/csc485 IGP routing metrics, BGP routing dynamics routing security

Next lectures Internet Application The Link Layer Transport framing control Network flow/error control Link media access control IEEE 802 family IEEE 802.3: Ethernet IEEE 802.11: wireless Ethernet (WiFi) HTTP, DNS TCP, UDP IP IEEE 802