04/05/20011 ecs298k: Routing in General... lecture #2 Dr. S. Felix Wu Computer Science Department University of California, Davis

Slides:



Advertisements
Similar presentations
04/12/2001ecs289k, spring ecs298k: BGP Routing Protocol (2) lecture #4 Dr. S. Felix Wu Computer Science Department University of California, Davis.
Advertisements

Dynamic Routing Overview 1.
Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 22 Omar Meqdadi Department of Computer Science and Software Engineering University.
Dynamic Routing Scalable Infrastructure Workshop, AfNOG2008.
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Routing and Routing Protocols
Routing and Routing Protocols
Routing.
14 – Inter/Intra-AS Routing
04/10/2001ecs289k, spring ecs298k: BGP Routing Protocol lecture #3 Dr. S. Felix Wu Computer Science Department University of California, Davis
Delivery, Forwarding, and Routing
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Computer Networks Layering and Routing Dina Katabi
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
Interior Gateway Protocols: RIP & OSPF
Chapter 7: Routing Dynamically
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Routing Dynamically Routing Protocols.
Introduction to Routing and Routing Protocols By Ashar Anwar.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Routing Dynamically Routing Protocols Assist. Prof. Pongpisit.
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Introduction to BGP.
Routing and Routing Protocols Routing Protocols Overview.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
RIP2 (Routing Information Protocol) Team Agile. Routing Protocols Link State – OSPF – ISIS Distance vector – RIP (version 1 and 2) – IGRP (Cisco Proprietary)
Routing Fundamental W.lilakiatsakun. Review Routing Fundamental VLSM Static & Dynamic Routing Routing algorithm concept.
Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.
Network Layer4-1 Intra-AS Routing r Also known as Interior Gateway Protocols (IGP) r Most common Intra-AS routing protocols: m RIP: Routing Information.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Routing and Routing Protocols
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
1 Agenda for Today’s Lecture The rationale for BGP’s design –What is interdomain routing and why do we need it? –Why does BGP look the way it does? How.
Routing Protocols Brandon Wagner.
Ch 22. Routing Direct and Indirect Delivery.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Inter-domain Routing Outline Border Gateway Protocol.
1. 2  An autonomous system is a region of the Internet that is administered by a single entity.  Examples of autonomous regions are:  UVA’s campus.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
+ Dynamic Routing Protocols 2 nd semester
Chapter 4: Network Layer
Computer Networks Routing Algorithms.
Routing Information Protocol (RIP)
Chapter 4: Network Layer
COMP 3270 Computer Networks
Routing.
CHAPTER 10.
Dynamic Routing and OSPF
Chapter 4: Network Layer
Chapter 4: Network Layer
Chapter 4: Network Layer
Chapter 4: Network Layer
Computer Networks Protocols
Routing.
Presentation transcript:

04/05/20011 ecs298k: Routing in General... lecture #2 Dr. S. Felix Wu Computer Science Department University of California, Davis

04/05/20012 Routing Protocol Framework Information Model FIB RIB NPDU Header (Network Protocol Data Unit) ( Dest, NextHop, Routing Metrics ) Forwarding Algorithm OSPF RIB RIPv2BGP4 FIB Forwarding Decision Application Layer Network Layer Routing Information Base Forwarding Information Base

04/05/20013 Operation Model - Routing Information Exchange Hey, Here is the routing information I got so far Hmm, some of them are obsolete, Here is my update

04/05/20014 Operation Model - Route Generation and Selection Which algorithm should I use?? Distributed Dijikstra’s algorithm or Distributed Bellman-Ford algorithm? Routing Information Base Forwarding Information Base application Layer network Layer

04/05/20015 Routing Protocol Framework Topology Model Administrative Domain 1 Administrative Domain 2 ASBR AIR Domain Routing Domain Host AIR Host AIR Host Domain Routing Domain AIR n Two Level Routing - Intra-domain and Inter-domain n Multiple routing domains can form an administrative domain n ASBR and It’s restriction n Routing protocol examples ( RIP, RIPv2, IGRP, OSPF, EGP, BGP, IS-IS)

04/05/20016 FIB Forwarding Information Base Longest Matching Rule –CIDR (Classless Inter-domain Routing) IP address + Net Mask Length /24 versus /22 – – – –Aggregation: /24, /24 => / /23, /23 => /22

04/05/20017 IP Routing Routing targets network addresses –Clouds - IP network address. Routers use forwarding table –destination/mask, next hop, network interface, metric –table look-up for each packet –need to recognize address structure Routing information updates the forwarding table after the route computation.

04/05/20018 Routing I want to know the shortest path or simply “a path” Routers exchange local information! SRC DST

04/05/20019 Link State A B C You Your Neighbor A B Flooding

04/05/200110

04/05/ Link State A B C You Your Neighbor A B Flooding

04/05/ Distance Vector A B C You Your Neighbor A: 3 hops B: 2 hops C: 2 hops Your Neoghbor will decide who should be the next hop! A: 1 hop B: 2 hops VIEW

04/05/ Routing Information Link State: –I let the whole world knows about my relationship with my neighbors. –(Felix, Neighbor-X) is up! Distance Vector: –I let all my neighbors knows about my relationship with the rest of the world. –(Felix can get to Remote-Y) in 5 hops.

04/05/ RIP Routing Information Protocol is a simple distance vector protocol. Initialization: –When the routing daemon is initialized, it send a request command to each network interface (card). –Neighboring routers will reply with routing table information.

04/05/ RIP, cont. Periodic Updates –routers advertise tables with neighbors periodically (~30 seconds) + upon interface changes. Split-Horizon –Router records the interface providing a route and does not propagate it back.

04/05/ Bad News Propagation: 1 A: 0A: 1A: 2A: 3A: 4A:

04/05/ Bad News Propagation: 2 A: 0A: 3A: 2A: 3A: 4A:

04/05/ Black Hole A B C You Your Neighbor A: 3 hops B: 2 hops C: 2 hops A: 1 hop B: 2 hops

04/05/ Black Hole Attack R1 Destination N, NextHop R1, Metric 1 R2 R3 Rn control flow data flow

04/05/ BGP4 In between Link-State and Distance-Vector –tell my neighbors about my connection to the rest of the world –but, also tell them how I reach there: routing path information. –What can or can’t I do with the extra path information? Can I still attack? How can I prevent or detect?

04/05/ Route Path (among AS’s) A B C A-B-E-F E F A-C

04/05/ BGP Messages OPEN NOTIFICATION UPDATE (NEW and WITHDRAW)

04/05/ Internet BGP Update Volume

04/05/ Race Conditions and Paths T(shortest path) <= Tdown <= T(longest path) B A

04/05/ BGP Convergence Example R AS0 AS1 AS2 AS3 *B Rvia 3 B R via 03 B R via 23 *B Rvia 3 B R via 03 B R via 13 *B Rvia 3 B R via 13 B R via 23 AS0AS1AS2 *** *B R via 203 *B R via 013 B R via 103

04/05/ ISP3-ISP4 Paths During Failure ISP 3 Steady State ISP 4 R3R3 P2 ISP 5 FAULT ISP 1 P3 P6 P7 P4 P5 P6 ISP 7 ISP 9 ISP 8 P7 P4 36% Average: 110 (min/max 78/135) seconds Announce AS4 AS5 AS (52 seconds) Withdraw (110 seconds) 35% Average: 107 (min/max 91/133) seconds Announce AS4 AS1 AS3 (39 seconds) Announce AS4 AS5 AS3 (68 seconds) Withdraw (107 seconds) 2% Average: (min/max 120/142) Announce AS4 AS5 AS8 AS7 AS3 (27) Announce AS4 AS5AS9 AS8 AS7 AS3(86) Withdraw (140 seconds) 27% Other

04/05/ ISP2-ISP4 Paths During Failure Steady State ISP 2 ISP 4 P2 ISP 5 P3 ISP 6 R2R2 FAULT Vagabond P4 ISP 10 ISP 11 ISP 12 ISP 13 P4 63% Average: 79 (min/max 44/208) seconds AS4 AS5 AS2(35 seconds) Withdraw (79 seconds) 7% Average: 88 (min/max 80/94) seconds Announce AS4 AS5 AS2 (33 seconds) Announce AS4 AS6 AS5 AS2 (61 seconds) Withdraw (88 seconds) 7% Average: 54 (min/max 29/9) seconds Withdraw (54 seconds) 23% Other

04/05/ ISP1-ISP4 Paths During Failure Only one back up path (length 3) Steady State ISP 1 ISP 5 P2 ISP 4 R1R1 FAULT 96%Average: 92 (min/max 63/140) seconds Announce AS4 AS5 AS1 (44 seconds) Withdraw(92 seconds) 4%Average: 32 (min/max 27/38) seconds Withdraw(32 seconds)