Introduction to Routing in the Internet

Similar documents
Introduction to Routing

Introduction to The Internet. ISP/IXP Workshops

Introduction to The Internet

Router and Routing Basics

BGP. 1. Internet Routing

Routing in Small Networks. Internet Routing Overview. Agenda. Routing in Large Networks

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

The Internet. Internet Technologies and Applications

Exterior Gateway Protocols (BGP)

Address Scheme Planning for an ISP backbone Network

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

Border Gateway Protocol (BGP)

Inter-domain Routing. Outline. Border Gateway Protocol

ISP Case Study. UUNET UK (1997) ISP/IXP Workshops. ISP/IXP Workshops. 1999, Cisco Systems, Inc.

Introducing Basic MPLS Concepts

Using the Border Gateway Protocol for Interdomain Routing

CLASSLESS INTER DOMAIN ROUTING - CIDR

Masterkurs Rechnernetze IN2097

Transitioning to BGP. ISP Workshops. Last updated 24 April 2013

WAN Topologies MPLS. 2006, Cisco Systems, Inc. All rights reserved. Presentation_ID.scr Cisco Systems, Inc. All rights reserved.

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

Introduction to Dynamic Routing Protocols

How To Load Balance On A Bgg On A Network With A Network (Networking) On A Pc Or Ipa On A Computer Or Ipad On A 2G Network On A Microsoft Ipa (Netnet) On An Ip

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

Internet Protocol version 4 Part I

MPLS Concepts. Overview. Objectives

MPLS is the enabling technology for the New Broadband (IP) Public Network

APNIC elearning: BGP Basics. Contact: erou03_v1.0

INTERNET ORGANIZATION OVERVIEW OF THE INTERNET'S ORGANIZATION AND MAIN STANDARD BODIES. Internet Organization. Peter R. Egli INDIGOO.COM. indigoo.

BGP Terminology, Concepts, and Operation. Chapter , Cisco Systems, Inc. All rights reserved. Cisco Public

Chapter 49 Border Gateway Protocol version 4 (BGP-4)

Route Optimization. rek Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 1

Table of Contents. Cisco How Does Load Balancing Work?

O /27 [110/129] via , 00:00:05, Serial0/0/1

Disaster Recovery Design Ehab Ashary University of Colorado at Colorado Springs

Claudio Jeker. RIPE 41 Meeting Amsterdam, 15. January Using BGP topology information for DNS RR sorting

MPLS Implementation MPLS VPN

Fireware How To Dynamic Routing

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

Multi-Protocol Label Switching To Support Quality of Service Needs

- Multiprotocol Label Switching -

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

Internet inter-as routing: BGP

Textbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual.

Topic 1: Internet Architecture & Addressing

Chapter 4. Distance Vector Routing Protocols

Border Gateway Protocol BGP4 (2)

Cisco Configuring Basic MPLS Using OSPF

PRASAD ATHUKURI Sreekavitha engineering info technology,kammam

Network Level Multihoming and BGP Challenges

Enterprise Network Simulation Using MPLS- BGP

CSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics

Border Gateway Protocol (BGP-4)

Kingston University London

How To Understand Bg

Introduction to TCP/IP

LHCONE Site Connections

Introduction to MPLS-based VPNs

Understanding Route Redistribution & Filtering

Cisco Discovery 3: Introducing Routing and Switching in the Enterprise hours teaching time

IP Routing Configuring RIP, OSPF, BGP, and PBR

Introductions to ISP Design Fundamentals

Configuring a Gateway of Last Resort Using IP Commands

IPv6 over IPv4/MPLS Networks: The 6PE approach

Using OSPF in an MPLS VPN Environment

IPv6 Addressing. ISP Training Workshops

ISOM3380 Advanced Network Management. Spring Course Description

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Course Contents CCNP (CISco certified network professional)

BSCI Chapter Cisco Systems, Inc. All rights reserved.

Future Internet Technologies

HP Networking BGP and MPLS technology training

CS551 External v.s. Internal BGP

ISP Network Design. Point of Presence Topologies. ISP Network Design. PoP Topologies. Modular PoP Design. PoP Design

Network Working Group Request for Comments: March 1999

Packet Tracer 3 Lab VLSM 2 Solution

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

How To Make A Network Secure

For internal circulation of BSNLonly

Overview of Routing between Virtual LANs

Cisco Configuring Commonly Used IP ACLs

Understanding Large Internet Service Provider Backbone Networks

CORPORATE NETWORKING

Route Discovery Protocols

MPLS/BGP Network Simulation Techniques for Business Enterprise Networks

IK2205 Inter-domain Routing

CHAPTER 6 DESIGNING A NETWORK TOPOLOGY

Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh

How To Make A Network Plan Based On Bg, Qos, And Autonomous System (As)

Multihoming and Multi-path Routing. CS 7260 Nick Feamster January

Simple Multihoming. ISP/IXP Workshops

Multiprotocol Label Switching (MPLS)

MikroTik RouterOS Introduction to MPLS. Prague MUM Czech Republic 2009

BGP Best Path Selection Algorithm

MPLS-based Virtual Private Network (MPLS VPN) The VPN usually belongs to one company and has several sites interconnected across the common service

WANs and Routers. M.Sc. Aleksandra Kanevce M.Sc. Aleksandra Bogojeska

ISP Network Design. ISP Workshops. Last updated 16 September 2013

Transcription:

Introduction to Routing in the Internet ISP/IXP Workshops IXP/IXP Workshops 1999, Cisco Systems, Inc. 1

Network Topologies and Definitions IXP/IXP 2

Network Topology and Definitions Definitions and icons Network topologies PoP topologies Interconnections and IXPs 3

Some Icons Router (layer 3, IP datagram forwarding) ATM or Frame Relay switch (layer 2, frame or cell forwarding) Ethernet switch (layer 2, packet forwarding) Network Cloud 4

Definitions PoP - Point of Presence physical location of ISP s equipment vpop - virtual PoP apparent ISP location in reality a back hauled access point used mainly for dial access networks Hub - large central PoP links to many PoPs 5

Network Topologies Routed backbone Routers are the infrastructure HDLC or PPP links between routers Easier routing configuration and debugging 6

Network Topologies Switched backbone frame relay or ATM switches in the core surrounded by routers more complex routing and debugging traffic management 7

PoP Topologies Core routers - high speed trunk connections Distribution routers and Access routers - high port density Border routers - connections to other providers Service routers - hosting and servers Some functions might be handled by a single router 8

Pure routed PoPs other PoPs Core Routers to other provider or interconnects Border Routers Distribution Routers Access Routers Customer Premises Routers 9

Definitions Transit - carrying traffic across a network, usually for a fee Peering - exchanging routing information and traffic Default - where to send traffic when there is no explicit match is in the routing table 10

Peering and Transit example provider A IXP- East Backbone Provider D IXP-West provider B provider C A and B can peer, but need transit arrangements with D to get packets to/from C 11

Private Interconnect Autonomous System 334 network B border border network A Autonomous System 99 12

Public Interconnect Points IXP - Internet exchange Point NAP - Network Access Point local IXPs peering point for a group of local/regional providers transit IXPs connects local providers to backbone (transit) providers hybrid IXPs combines the function of local and transit 13

Public Interconnect Point Centralised (in one facility) Distributed (connected via WAN links) Shared, switched or routed interconnect Router, FDDI, Ethernet, ATM, Frame relay, SMDS, etc. Each provider establishes relationship with other provider at IXP ISP border router peers with all other provider border routers 14

Public interconnect Network 1 Network 4 Network 2 Network 5 Network 3 Network 6 each of these represents a border router in a different autonomous system 15

Route Server Advantages: reduces resource burden on border routers (CPU, memory, configuration complexity) reduces administrative burden on providers Disadvantages: must rely on a third party (for management, configuration, software updates, maintenance, etc) 16

Route Server Network 1 Network 4 Network 2 Network 5 Network 3 Network 6 Route Server 17

Default Free Zone The default free zone is made up of Internet routers which have explicit routing information about the rest of the Internet, and therefore do not need to use a default route. 18

High Level View of the Global Internet Default Free Zone Backbone Provider 1 Backbone Provider 2 Access Providers R4 1 Local NAP or IXP Access Providers 2 Customer Networks 19

Categorizing ISPs Tier 1 NSP Tier 1 NSP $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ Tier 2 ISP Tier 3 ISP IXP Tier 3 ISP Tier 1 NSP Tier 2 ISP Tier 3 ISP Tier 1 NSP Tier 2 ISP Tier 3 ISP IXP Tier 3 ISP Tier 2 ISP Tier 3 ISP 20

Internet Topology and Architecture Rapidly increasing complexity more providers and locations increased meshing Emergence of global providers capital, regulatory, and technical reasons limit the scope of coverage of a single provider Many new interconnect points (IXPs) 21

Routing Basics IXP/IXP 22

Routing Concepts Routing Forwarding Some definitions Policy options Addressing Routing Protocols 23

What does a router do?? 24

A day in a life of a router find path forward packet, forward packet, forward packet, forward packet... find alternate path forward packet, forward packet, forward packet, forward packet repeat until powered off 25

Routing versus Forwarding Routing = building maps and giving directions Forwarding = moving packets between interfaces according to the directions 26

IP Routing - finding the path Path derived from information received from a routing protocol Several alternative paths may exist best next hop stored in forwarding table Decisions are updated periodically or as topology changes (event driven) Decisions are based on: topology, policies and metrics (hop count, filtering, delay, bandwidth, etc.) 27

IP route lookup Based on destination IP packet longest match routing more specific prefix preferred over less specific prefix example: packet with destination of 10.1.1.1/32 is sent to the router announcing 10.1/16 rather than the router announcing 10/8. 28

IP route lookup Based on destination IP packet Packet: Destination IP address: 10.1.1.1 R3 All 10/8 except 10.1/16 R1 R2 R4 10/8 -> R3 10.1/16 -> R4 20/8 -> R5 30/8 -> R6.. 10.1/16 R2 s IP routing table 29

IP route lookup: Longest match routing Based on destination IP packet Packet: Destination IP address: 10.1.1.1 R3 All 10/8 except 10.1/16 R1 R2 R4 10/8 -> R3 10.1/16 -> R4 20/8 -> R5 30/8 -> R6.. 10.1.1.1 && FF.0.0.0 vs. 10.0.0.0 && FF.0.0.0 Match! 10.1/16 R2 s IP routing table 30

IP route lookup: Longest match routing Based on destination IP packet Packet: Destination IP address: 10.1.1.1 R3 All 10/8 except 10.1/16 R1 R2 R4 10/8 -> R3 10.1/16 -> R4 20/8 -> R5 30/8 -> R6.. 10.1.1.1 && FF.FF.0.0 vs. 10.1.0.0 && FF.FF.0.0 10.1/16 Match as well! R2 s IP routing table 31

IP route lookup: Longest match routing Based on destination IP packet Packet: Destination IP address: 10.1.1.1 R3 All 10/8 except 10.1/16 R1 R2 R4 10/8 -> R3 10.1/16 -> R4 20/8 -> R5 30/8 -> R6.. 10.1.1.1 && FF.0.0.0 vs. 20.0.0.0 && FF.0.0.0 Does not match! 10.1/16 R2 s IP routing table 32

IP route lookup: Longest match routing Based on destination IP packet Packet: Destination IP address: 10.1.1.1 R3 All 10/8 except 10.1/16 R1 R2 R4 10/8 -> R3 10.1/16 -> R4 20/8 -> R5 30/8 -> R6.. R2 s IP routing table 10.1.1.1 && FF.0.0.0 vs. 30.0.0.0 && FF.0.0.0 Does not match! 10.1/16 33

IP route lookup: Longest match routing Based on destination IP packet Packet: Destination IP address: 10.1.1.1 R3 All 10/8 except 10.1/16 R1 R2 R4 10/8 -> R3 10.1/16 -> R4 20/8 -> R5 30/8 -> R6.. R2 s IP routing table Longest match, 16 bit netmask 10.1/16 34

IP Forwarding Router makes decision on which interface a packet is sent to Forwarding table populated by routing process Forwarding decisions: destination address class of service (fair queuing, precedence, others) local requirements (packet filtering) Can be aided by special hardware 35

Explicit versus Default routing Default: simple, cheap (cycles, memory, bandwidth) low granularity (metric games) Explicit (default free zone) high overhead, complex, high cost, high granularity Hybrid minimise overhead provide useful granularity requires some filtering knowledge 36

Egress Traffic How packets leave your network Egress traffic depends on: route availability (what others send you) route acceptance (what you accept from others) policy and tuning (what you do with routes from others) Peering and transit agreements 37

Ingress Traffic How packets get to your network and your customers networks Ingress traffic depends on: what information you send and to whom based on your addressing and AS s based on others policy (what they accept from you and what they do with it) 38

Autonomous System (AS) AS 100 A Collection of networks with same routing policy Single routing protocol Usually under single ownership, trust and administrative control 39

Demarcation Zone (DMZ) A DMZ Network AS 100 AS 101 C B D E AS 102 Network shared between AS s 40

Definition of terms Neighbours - AS s which directly exchange routing information Announce - send routing information to a neighbour Accept - receive and use routing information sent by a neighbour Originate - insert routing information into external announcements (usually as a result of the IGP) Peers - routers in neighbouring AS s or within one AS which exchange routing and policy information 41

Routing flow and packet flow packet flow AS 1 accept announce routing flow announce accept AS 2 packet flow For networks in AS1 and AS2 to communicate: AS1 must announce to AS2 AS2 must accept from AS1 AS2 must announce to AS1 AS1 must accept from AS2 42

Routing flow and Traffic flow Traffic flow is always in the opposite direction of the flow of routing information filtering outgoing routing information inhibits traffic flowing in filtering incoming routing information inhibits traffic flowing out 43

Routing policy limitations red Internet red AS99 green green packet flow AS99 uses red link for traffic going to the red AS and green link for traffic going to the green AS To implement this policy for AS99: accept routes originating in the red AS on the red link accept all other routes on the green link 44

Routing policy limitations red AS22 Internet red AS99 green green packet flow For packets flowing toward AS 99: Unless AS 22 and all other intermediate AS s cooperate in pushing green traffic to the green link then some reasonable policies can not be implemented. 45

Routing policy with multiple AS s AS 1 N1 AS 8 AS 34 AS16 N16 For net N1 in AS1 to send traffic to net N16 in AS16: AS16 must originate and announce N16 to AS8. AS8 must accept N16 from AS16. AS8 must announce N16 to AS1 or AS34. AS1 must accept N16 from AS8 or AS34. For two-way packet flow, similar policies must exist for N1. 46

Routing policy with multiple AS s AS 1 N1 AS 8 AS 34 AS16 N16 As multiple paths between sites are implemented it is easy to see how policies can become quite complex. 47

Granularity of routing policy What to announce/accept Preferences between multiple accepts single route routes originated by single AS routes originated by a group of AS s routes traversing specific path routes traversing specific AS routes belonging to other groupings (including combinations) 48

Routing Policy Issues 77000+ prefixes (not realistic to set policy on all of them individually) 7000+ origin AS s (too many) routes tied to a specific AS or path may be unstable regardless of connectivity groups of AS s are a natural abstraction for filtering purposes 49

Routing Policy Issues Destination based limitations Global topology not known (and constantly changing) Route groupings are not known AS membership or AS groups Set of all routes in the Internet is not known 50

IP Addressing Internet is classless Concept of Class A, class B or class C is no more engineers talk in terms of prefix length, for example the class B 158.43 is now called 158.43/16. All routers must be CIDR capable Classless InterDomain Routing 51

IP Addressing IP Address space is a resource shared amongst all Internet users Regional Internet Registries delegated allocation responsibility by the IANA RIRs allocate address space to ISPs and Local Internet Registries ISPs/LIRs assign address space to end customers or other ISPs 61% of available address space allocated 52

Geographical and Provider addressing Geographical addressing ARIN - APNIC - RIPE NCC (the 3 IRs) APNIC serves the Asia Pacific region Provider-based addressing Addresses assigned by upstream provider Local Internet Registries 53

Geographical addressing Advantages: Not tied to local backbone provider Part of the regional registry process Disadvantages: Increases size of global routing table More difficult to get started 54

Provider based addressing Advantages: Easy to get started No increase in size of global routing table Disadvantages: Must renumber when changing providers May fragment provider address block when multihoming No part in the regional registry process 55

What Is an IGP? Interior Gateway Protocol Within an Autonomous System Carries information about internal infrastructure prefixes Examples - OSPF, ISIS, EIGRP 56

Why Do We Need an IGP? ISP backbone scaling Hierarchy Modular infrastructure construction Limiting scope of failure Healing of infrastructure faults using dynamic routing with fast convergence 57

What Is an EGP? Exterior Gateway Protocol Used to convey routing information between Autonomous Systems De-coupled from the IGP Current EGP is BGP 58

Why Do We Need an EGP? Scaling to large network Hierarchy Limit scope of failure Policy Control reachability to prefixes Merge separate organizations Connect multiple IGPs 59

Interior versus Exterior Routing Protocols Interior automatic neighbour discovery generally trust your IGP routers prefixes go to all IGP routers binds routers in one AS together Exterior specifically configured peers connecting with outside networks set administrative boundaries binds AS s together 60

Interior versus Exterior Routing Protocols Interior Carries ISP infrastructure addresses only ISPs aim to keep the IGP small for efficiency and scalability Exterior Carries customer prefixes Carries Internet prefixes EGPs are independent of ISP network topology 61

Hierarchy of Routing Protocols Other ISPs BGP4 BGP4 and OSPF/ISIS FDDI BGP4 Local NAP Customers Static/BGP4 62

Default Administrative Distances Route Source Default Distance Connected Interface 0 Static Route 1 Enhanced IGRP Summary Route 5 External BGP 20 Internal Enhanced IGRP 90 IGRP 100 OSPF 110 IS-IS 115 RIP 120 EGP 140 External Enhanced IGRP 170 Internal BGP 200 Unknown 255 63

64