CSCI Topics: Internet Programming Fall 2008

Similar documents
Chapter 4: Network Layer

Chapter 4: outline. Network Layer 4-1

DATA COMMUNICATOIN NETWORKING

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

Chapter IV: Network Layer

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

Computer Networking Introduction

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

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

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

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

CSC 4900 Computer Networks: Routing Protocols

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

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

Chapter 4: Network Layer, partb

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

Routing in the Internet

CSc 450/550 Computer Networks Internet Routing

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

Network layer: Overview. Network layer functions Routing IP Forwarding

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

Chapter 4 Network Layer

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

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

PART III. Implementing Inter-Network Relationships with BGP

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

Lecture 19: Network Layer Routing in the Internet

Chapter 4: Network Layer

Inter-Domain Routing: BGP

Introduction to Communication Networks Spring Unit 16 Global Internetworking

COMP211 Chapter 5 Network Layer: The Control Plane

Internet inter-as routing: BGP

CNT Computer and Network Security: BGP Security

Topics for This Week

Internet Routing : Fundamentals of Computer Networks Bill Nace

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

Master Course Computer Networks IN2097

Network layer: Overview. Network layer functions Routing IP Forwarding

Routing on the Internet! Hierarchical Routing! The NSFNet 1989! Aggregate routers into regions of autonomous systems (AS)!

CS 457 Networking and the Internet. The Global Internet (Then) The Global Internet (And Now) 10/4/16. Fall 2016

Chapter 4: Network Layer: Part II

Network Layer: Routing

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

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

Network Layer: Control Plane 5-2

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

Chapter 5 Network Layer: The Control Plane

Inter-Autonomous-System Routing: Border Gateway Protocol

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

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

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

Inter-Autonomous-System Routing: Border Gateway Protocol

CSC 8560 Computer Networks: Control Plane

Master Course Computer Networks IN2097

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

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

Routing. Jens A Andersson Communication Systems

CS 3516: Computer Networks

Routing Unicast routing protocols

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

ETSF10 Internet Protocols Routing on the Internet

EECS 3214: Computer Networks Protocols and Applications

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

ETSF10 Internet Protocols Routing on the Internet

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

Lecture 4. The Network Layer (cont d)

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

Computer Networks. Instructor: Niklas Carlsson

Module 3 Network Layer CS755! 3-1!

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

Interplay Between Routing, Forwarding

Network Layer: Routing

Routing. Outline. Algorithms Scalability

Routing Protocols. Autonomous System (AS)

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

Border Gateway Protocol - BGP

Chapter 5 Network Layer: The Control Plane

Master Course Computer Networks IN2097

IP Addressing & Interdomain Routing. Next Topic

Inter-domain Routing. Outline. Border Gateway Protocol

CS321: Computer Networks Unicast Routing

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

Department of Computer Science Southern Illinois University Carbondale

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

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

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

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

Chapter 4 Network Layer

Routing part 2. Electrical and Information Technology

Symbols. Numerics I N D E X

UNIT III THE NETWORK LAYER

ETSF10 Internet Protocols Routing on the Internet

Network Protocols. Routing. TDC375 Autumn 03/04 John Kristoff - DePaul University 1

BGP Configuration. BGP Overview. Introduction to BGP. Formats of BGP Messages. Header

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

Why dynamic route? (1)

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

Transcription:

CSCI 491-01 Topics: Internet Programming Fall 2008 Network Layer Derek Leonard Hendrix College November 17, 2008 Original slides copyright 1996-2007 J.F Kurose and K.W. Ross 1

Chapter 4: Roadmap 4.1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What s inside a router 4.4 IP: Internet Protocol 4.5 Routing algorithms 4.6 Routing in the Internet RIP OSPF BGP 4.7 Broadcast and multicast routing 2

OSPF (Open Shortest Path First) Open : publicly available Uses Link State algorithm LS packet dissemination Topology map at each node Route computation using Dijkstra s algorithm Advertisements disseminated to entire AS (via flooding) Carried in OSPF messages directly over IP (rather than TCP or UDP) 3

OSPF Advanced Features (Not in RIP) Security: all OSPF messages authenticated (to prevent malicious intrusion) Multiple same-cost paths allowed (only one path in RIP) Integrated uni- and multicast support: Multicast OSPF (MOSPF) uses same topology database as OSPF Hierarchical OSPF in large domains 4

Hierarchical OSPF 5

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

Chapter 4: Roadmap 4.1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What s inside a router 4.4 IP: Internet Protocol 4.5 Routing algorithms 4.6 Routing in the Internet RIP OSPF BGP 4.7 Broadcast and multicast routing 7

Internet Inter-AS Routing: BGP BGP (Border Gateway Protocol): de facto standard for inter-as (exterior) routing BGP provides each AS a means to: 1. Obtain subnet reachability information from neighboring ASes 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 the rest of the Internet: I am here IGRP BGP OSPF BGP IS-IS 8

BGP Basics Pairs of routers (BGP peers) exchange routing info over semi-permanent TCP connections: BGP sessions Note that BGP sessions do not correspond to physical links When AS2 advertises a prefix x to AS1, AS2 is promising it will forward any datagrams destined to that prefix towards the prefix AS2 can aggregate prefixes in its advertisement 3c 3a 3b AS3 1a AS1 1c 1d ebgp session ibgp session 1b 2a AS2 2c 2b x 9

Distributing Reachability Info With ebgp session between 2a and 1b, AS2 sends prefix reachability info to AS1 1b can then use ibgp to distribute this new prefix reachability info to all routers in AS1 1c may (if beneficial to AS1) re-advertise the new reachability info to AS2 over the 1c-3a ebgp session When a router learns about a new prefix, it creates an entry for the prefix in its forwarding table 3c 3a 3b AS3 1a AS1 1c 1d ebgp session ibgp session 1b 2a AS2 2c 2b 10

Path Attributes & BGP Routes When advertising an IP prefix (i.e., subnet), message includes BGP attributes Combination prefix + attributes = route Two important attributes: AS-PATH: contains ASes through which the advert for the prefix passed (latest AS first) 7.2.3.0/24 AS3, AS2, AS1 loop detected NEXT-HOP: indicates the router that leads to this prefix (usually border router of the AS that advertised prefix; multiple values possible) AS1 AS2 7.2.3.0/24 AS1 7.2.3.0/24 AS2, AS1 AS3 11

BGP Route Selection When gateway router receives route advert, it uses an import policy to accept/decline Filters and rules decide allowed/prohibited routes Router may learn about more than 1 route to some prefix, how do they decide which one is better? Local preference attribute: policy decision of this AS that assigns different weight to various exit points Multi-exit discriminator (MED) attribute: policy of foreign AS that assigns different weight to different incoming points Shortest AS-PATH Closest NEXT-HOP router: hot potato routing 12

BGP Examples 7.2.3.0/24 AS1, MED = 50 192.10.3/22 AS1, MED = 10 AS1 Example 1: different MED (lower # means higher priority) for paths into AS1 7.2.3.0/24 AS1, MED = 10 192.10.3/22 AS1, MED = 50 AS2 AS1 AS2 Example 2: hot-potato routing in AS2 (red routers exit on the right, yellow on the left) 13

BGP Messages BGP messages exchanged using TCP on port 179 Application-layer protocol BGP messages (binary header): 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 14

BGP Routing Policy B legend: provider network W A C X customer network Y A,B,C are provider networks X,W,Y are customer networks X is dual-homed: attached to two networks X does not want to route from B via X to C.. so X will not advertise to B a route to C 15

BGP Routing Policy (2) B legend: provider network W A C X customer network Y A advertises to B and C the path AW B advertises to X the path BAW Should B advertise to C the path BAW? Not unless B has agreed to route C s traffic! B gets no revenue for routing CBAW since neither W nor C are B s customers B wants to force C to route to W via A ISPs want to route only to/from their customers! 16