DATA COMMUNICATOIN NETWORKING

Similar documents
Chapter 4: outline. Network Layer 4-1

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

Chapter 4: Network Layer

Chapter IV: Network Layer

Computer Networking Introduction

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

CSCI Topics: Internet Programming Fall 2008

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

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

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

Routing in the Internet

CSC 4900 Computer Networks: Routing Protocols

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

CSc 450/550 Computer Networks Internet Routing

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

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

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

Chapter 4: Network Layer, partb

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

Chapter 4 Network Layer

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

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

Topics for This Week

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

Network layer: Overview. Network layer functions Routing IP Forwarding

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

PART III. Implementing Inter-Network Relationships with BGP

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

Chapter 4: Network Layer

Lecture 19: Network Layer Routing in the Internet

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

Routing. Jens A Andersson Communication Systems

Chapter 4: Network Layer: Part II

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

Introduction to Communication Networks Spring Unit 16 Global Internetworking

Routing Unicast routing protocols

Network layer: Overview. Network layer functions Routing IP Forwarding

Internet inter-as routing: BGP

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

CSC 8560 Computer Networks: Control Plane

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

Network Layer: Routing

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

Inter-Domain Routing: BGP

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

Master Course Computer Networks IN2097

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

Chapter 5 Network Layer: The Control Plane

DATA COMMUNICATOIN NETWORKING

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

CNT Computer and Network Security: BGP Security

Network Layer: Control Plane 5-2

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

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

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

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

Chapter 5 Network Layer: The Control Plane

Routing. Outline. Algorithms Scalability

Inter-Autonomous-System Routing: Border Gateway Protocol

Master Course Computer Networks IN2097

Lecture 4. The Network Layer (cont d)

EECS 3214: Computer Networks Protocols and Applications

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

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

Internet Routing : Fundamentals of Computer Networks Bill Nace

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

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

Inter-Autonomous-System Routing: Border Gateway Protocol

ETSF10 Internet Protocols Routing on the Internet

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

Computer Networks. Instructor: Niklas Carlsson

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

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

Routing part 2. Electrical and Information Technology

ETSF10 Internet Protocols Routing on the Internet

Department of Computer Science Southern Illinois University Carbondale

Module 3 Network Layer CS755! 3-1!

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

Interplay Between Routing, Forwarding

Network Layer: Routing

ETSF10 Internet Protocols Routing on the Internet

Chapter 4 Network Layer

The Internet network layer

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

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

CS321: Computer Networks Unicast Routing

Chapter 4 Network Layer

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

Why dynamic route? (1)

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

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

CS 3516: Computer Networks

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

UNIT III THE NETWORK LAYER

Interplay between routing, forwarding

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

Transcription:

DATA COMMUNICATOIN NETWORKING Instructor: Ouldooz Baghban Karimi Course Book & Slides: Computer Networking, A Top-Down Approach By: Kurose, Ross Introduction

Course Overview Basics of Computer Networks Internet & Protocol Stack Application Layer Transport Layer Network Layer Data Link Layer Advanced Topics Case Studies of Computer Networks Internet Applications Network Management Network Security Introduction 2

Routing in the Internet Intra-AS Routing Also known as Interior Gateway Protocols RIP: Routing Information Protocol OSPF: Open Shortest Path First IGRP: Interior Gateway Routing Protocol (Cisco proprietary) Inter-AS Routing BGP: Border Gateway Protocol Introduction 3

Routing Information Protocol Distance Vector Algorithm Distance Vector Distance metric: Hope Count Max: 15 hops Each link costs 1 DVs exchanged with neighbors every 30/sec in advertisement Each advertisement lists of up to 25 destination subnets z u A C B D v y w x from router A to destination subnets: subnet hops u 1 v 2 w 2 x 3 y 3 z 2 Introduction 4

Routing Information Protocol w x y A D B z C routing table in router D destination subnet next router # hops to dest w A 2 y B 2 z B 7 x -- 1..... Introduction 5

Routing Information Protocol dest next hops w - 1 x - 1 z C 4.... A-to-D advertisement w x y A D B z destination subnet next router C routing table in router D # hops to dest w A 2 y B 2 z B A 7 x -- 1 5..... Introduction 6

RIP Link Failure & Recovery If no advertisement heard after 180 Sec Neighbor/link declared dead New advertisement sent to neighbors Neighbors in turn send out new advertisements if their tables changed Link Failure information propagates to entire net Poison reverse is used to prevent Ping-Pong loops Introduction 7

RIP Table Processing RIP routing tables managed by application-level process called route-d (daemon) Advertisements sent in UDP packets, periodically repeated routed routed transport (UDP) transprt (UDP) network (IP) forwarding table forwarding table network (IP) link link physical physical Introduction 8

Open Shortest Path First Open: publicly available Link State Algorithm LS packet dissemination Topology map at each node Route computation using Dijekstra s algorithm OSPF advertisement carries one entry per neighbor Advertisements flooded to entire AS Carried in OSPF messages directly over IP ISIS routing protocol: Nearly identical to OSPF Introduction 9

OSPF Advanced Features Security All OSPF messages authenticated (to prevent malicious intrusion) Multi-path Multiple same-cost paths allowed (only one path in RIP) TOD For each link, multiple cost metrics for different TOS (e.g., satellite link cost set low for best effort ToS; high for real time ToS) Integrated uni- and multicast support: Integrated Unicast and Multicast Support Multicast OSPF (MOSPF) uses same topology data base as OSPF Hierarchical OSPF in large domains Introduction 10

Hierarchical OSPF boundary router backbone router backbone area border routers area 3 area 1 area 2 internal routers Introduction 11

Hierarchical OSPF Two-level hierarchy: local area, backbone. Link-state advertisements only in area Each nodes has detailed area topology; only know direction (shortest path) to nets 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. Introduction 12

Internet Inter-AS Routing: BGP Border Gateway Protocol: the de facto inter-domain routing protocol Glue that holds the Internet together BGP provides each AS a means to ebgp: Obtain subnet reachability information from neighboring Ass. ibgp: Propagate reachability information to all AS-internal routers. Determine good routes to other networks based on reachability information and policy. Allows subnet to advertise its existence to rest of Internet Introduction 13

BGP Basics BGP session: two BGP routers (peers) exchange BGP messages: Advertising paths to different destination network prefixes (path vector protocol) Exchanged over semi-permanent TCP connections When AS3 advertises a prefix to AS1 AS3 promises it will forward datagrams towards that prefix AS3 can aggregate prefixes in its advertisement 3c other networks 3b AS3 3a AS1 BGP message 1a 1c 1d 1b 2a AS2 2c 2b other networks Introduction 14

BGP: Distributing Path Information 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. ebgp session other networks 3b AS3 3a AS1 1a 1c 1d ibgp session 1b 2a AS2 2c 2b other networks Introduction 15

Path Attributes & BGP Routes Advertised prefix includes BGP attributes Prefix + attributes = route Two important attributes: AS-PATH: contains ASs through which prefix advertisement has passed: e.g., AS 67, AS 17 NEXT-HOP: indicates specific internal-as router to next-hop AS. (may be multiple links from current AS to next-hop-as) Gateway router receiving route advertisement uses import policy to accept/decline e.g., never route through AS x Policy-based routing Introduction 16

BGP Route Selection Router may learn about more than 1 route to destination AS, selects route based on: Messages Local preference value attribute: policy decision Shortest AS-PATH Closest NEXT-HOP router: hot potato routing Additional criteria BGP messages exchanged between peers over TCP connection 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 Introduction 17

BGP Routing Policy W A B C X legend: provider network customer network: Y A,B,C are provider networks X,W,Y are customer (of provider 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 Introduction 18

BGP Routing Policy W A B C X legend: provider network customer network: Y A advertises path AW to B B advertises path BAW to X Should B advertise path BAW to C? No way! 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 B wants to route only to/from its customers! Introduction 19

Why different Intra-AS & Inter-AS? 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 Introduction 20