POLICY ROUTING. Licentiate course seminar paper

Size: px
Start display at page:

Download "POLICY ROUTING. Licentiate course seminar paper"

Transcription

1 HELSINKI UNIVERSITY OF TECHNOLOGY Laboratory of Telecommunications Technology Licentiate course seminar, October 1996 Revised, December 1996 Mauri Pännäri POLICY ROUTING Licentiate course seminar paper

2 2(10) Abstract This paper deals an area in exterior routing called policy routing. Objectives of policy routing are introduced. Considering provider selection, the possibilities available, including tunneling in BGP, the IDR Protocol and the SDR Protocol, are covered. The most important features of each solution are described in more details. Finally the IDPR approach is introduced. Some conclusions are then presented about the situation now and about the possible progress. Table of contents Abstract...2 Table of contents Introduction Common Policy Routing Provider Selection Explaining the background Tunnelling Extensions Source Demand Routing The SDRP packet Other main SDRP facilities Inter Domain Policy Routing The Autonomous System- level Map Comparison to OSPF AS paths Packet routing in IDPR Conclusions...9 Acronyms...10 References...10

3 3(10) 1. Introduction 1.1 Common Internetworks are heterogeneous by nature. They are formed of component networks, entities, which are owned and operated by different organisations providing different services including access limitations and making use of different protocols for routing information internally and for distribution elsewhere. Co- operation is needed between these component networks to make inter-operation possible, and there is a few important inter- domain protocols, two of which have already been introduced in this series of courses, namely EGP and BGP, /1/. When this co- operation in routing is possible, there is also an apparent need to prevent or limit it in a controlled way. This is called policy routing. 1.2 Policy Routing Widely speaking policy routing means, that there are factors, that force routing to take some other chance than the shortest path. The two most important reasons for this are to create acceptable use- guides or provider selection. This requirement has appeared when internet has reached it's huge speed of commercialisation. There is also the background, that commercial users couldn't reach and make use of the public backbones existing for "academic" and other purposes possibly providing the shortest path. In other words policy routing was a fact to be taken into account and alternative routes must be found. The requirement for policies has then became more and more important. Maybe it is not enough any more to find a valid path, but also to be able to do time- related allocations for example to make use of the cheapest providers during a time period. One also may want to select the route or list of providers for a certain connection which can provide some technical properties that others may not be able to offer, for example throughput or delay. 2. Provider Selection Maybe the ability to select ones provider is the most important and wanted facility considering policy routing. BGP, /1/, offers simple policing properties in some degree, but these are tied to the situation, where the provider is directly connected to the regional domain. Then it is possible for instance to weight and prefer tariffs or services available. 2.1 Explaining the background As being commercial and free, a regional sub- network can let all the regional users have access. Typically it is operating in a limited and relative simple administration as such.

4 4(10) In several cases, however, it is typical, that a user wants to have access to services, which are located in servers outside the regional network an a transit through one ore more transit nodes is needed. In this case the charter drafted by the local operation is no more valid or sufficient. Also there is a requirement that the regional network doesn't give any privileges in a free competition situation considering a possible transit provider. This problem is explained with the following picture: U1 RO TP1 U2 TP2 DE Un TPn Picture 1: The provider selection problem It is assumed, that the Regional Operator (RO) has a monopoly in it's working area. The subscribers or Users (U1, U2, Un) have an unproblematic situation in the region for example to communicate with each other. They also all have a need to communicate with the same Destination (DE), this meaning, that there actually is n routes through several Transit Providers (TP) between RO and DE. Internet Protocol (IP) routing considers only the destination address. Here BGP can only do selecting or filtering the destinations. The transit networks can let through the customers they accept to serve. RO lets TP1, TP2... TPn to know, that all users U1, U2...Un are reachable by the specific RO Autonomous System (AS). In addition TP1 may let DE know, that U1 is reachable via TP1, RO. The same type of situation can hold for TP2...Tpn. However, RO must choose only one way to D. The situation is unsymmetrical. The traffic from DE to U1 goes via TP1, which was also selected by U1, but to the other direction it goes via a TP2 as a default TP defined by RO. This can be an acceptable situation to U1, but in a case that Quality of Service (QoS) requirements are needed by U1, the return route may prove to be insufficient. This is also against the basic principle, that the user should get and pay the resources it has contracted. 2.2 Tunnelling One solution to the problem described above could be achieved by using multiple router tables within the regional network making a route to be a function of both the destination and the address. However, users may for example have agreements with other providers for backup reasons, and the situation may for long be unmanageable for the operator with tools in use. In BGP there is a way, by which a solution, although not an ideal one, can be achieved. A virtual link can be established between the user and the destination using

5 5(10) IP in IP. We have an user domain user1 and a connected station U1x within it wanting to send a TCP- IP packet to in the domain D, as: U1x ----> Dx, tcp tcp header + data Picture 2: IP header This IP packet is carried to the border router in the domain user1, we can call it U1br. Normally this border router would carry the packet so that it eventually would be routed via TR2. But U1br can capsulate the the packet so that it goes to a certain place by giving a new header: U1br ---> T1br, ip-ip U1x ---> Dx, tcp tcp header + data Picture 3: IP headers 1 and 2 This new header is tied to the border router T1br meaning the gateway between RO and TP1 (see picture 1). The protocol is stated as IP in IP an this means that T1 border router will encapsulate the packet and carry it throuhg TP1 to DE. Actually a virtual link is created here. It shall have two main properties: it is available and it can route. This corresponds by some way to having a physical link between the domains user 1 and TE1 and is a step towards the policy routing possibilities considered in this paper, by using BGP. The solution here has its pitfalls. The capsulation enlarges the overhead considerably meaning more processing in the border nodes. This feature (decapsulation) conventionally is not especially fast in routers. Also the solution can cause additional failure modes when backup is needed and it proves to be essentially slower than the main tunnel. 2.3 Extensions The BGP tunnelling technique can be considered as a special case of policy routing. Users may want more choosing properties, for example to be able to select the whole path. The main arguments are again: provider selection and resource reservation / QoS. There is a special protocol which has been developed to fulfil this need better, called Source Demand Routing Protocol (SDRP). It has been developed in the Interment Engineering Task Force (IFTF). It has relations to Inter - Domain Routing Protocol (IDRP) coming from the OSI- world (Open Systems Interconnection). This has also a lot of similarities to BGP. In the following SDRP is described in more detail.

6 6(10) 3. Source Demand Routing 3.1 The SDRP packet The SDRP includes a mechanism to do route selection The SDRP- packet includes three main parts: Delivery (IP) header SDRP header SDRP payload Picture 4: SDRP packet The carried delivery header is a normal IP header including the "next hop" specification. The SDRP payload carries the the data to the end process. The SDRP header carries the route information. To understand the mechanism better, the SDRP header is shown: Ver D S P Hop Count SrcProto Type Payload Type Source Route Identifier Target Router Prefix Prefix length Notification SrcRouteLgth NexrHopPtr Source Route Picture 5: The SDRP header The IP header specifies the destination IP address normally. When the destination (router) gets the packet, it will progress this source route. IP destination field is replaced by the next element in the source- route specification including "next hop pointer"(incremented) and "SDRP hop count" (decremented), and carries the packet on. If the hop count is null, an error is indicated and the packet is not forwarded. If the next hop pointer is larger than or equal to the "source route length", the packet is not either forwarded because this measures the end of the source- initiated route. Then "payload type" is checked. If this is 1, this represents a normal complete IP packet and is handled on normally. This process then acts as an encapsulation mechanism between the border domains. 3.2 Other main SDRP facilities There is a need to provide eccicient error recovery, to define different categories of routes and to support the set- up of paths.

7 7(10) In SDRP, if an error happens during relaying a packet, the router which has noticed the error, sends back a specific report message. It includes the incoming IP header and the 8 first bytes of the content and is meant to the initial source router. The bytes 5-8 in the "Source Route Identifier" accurately identify the source route in question. In addition the "hop count" in the second byte assists the initial router to see what went wrong. There are three special flags in the first byte, namely S, D and B. The S bit is used to identify whether a "loose" (0) or a "strict"(1) source routing is in question and provides a means not to use another, maybe a "looser" route for example in a case of failure. The other two bits are used to differentiate data packets (D = 1) from control packets and to indicate the the source route is being "probed" (P = 1). The IETF working group around SDRP is still studying some new features to the protocol considering set-up (byte "Source Proto(col) Type"). This in not considered further. 4. Inter Domain Policy Routing IETF has worked on an policy approach called Inter Domain Policy Routing (IDPR), and is described in IETF Request For Comments (RFC)- papers RFC 1477, /2/ RFC 1478, /3/ and RFC 1479, /4/ A very short description can be found in /5/. It is said to be even more complex than OSPF. To day it is still not much used in internet. In the following only the main features are discussed. 4.1 The Autonomous System- level Map Internet can be considered to be composed of the interconnection of Autonomous Systems (AS). ASs present suitable blocks for a high- level linking map. Even at this level the amount of elementary blocks the corresponding database needed including all ASs and all links can be too big and maybe further aggregation is needed. This can be done by including only ASs that are in charge of transit relaying or provider services. It is the estimated, that "only" hundreds of ASs is then being left leaving outside several tens of thousands stub or multihomed ASs in the periphery of the model, /6/. The IDPR map contains objects. The two main objects are "domains" and "virtual gateways". AS is a domain. A set of "policy gatewys" (in practice several border routers) that link the ASs is a virtual gateway. By combining policy gateways for a virtual gateway faster access between ASs can be achieved and thus memory can be saved at the end databases. Also better stability can be achieved, because the virtual gateway will remain up when there is enough policy gateways left. A domain is identified by its AS number and a virtual gateway is identified by a pair of AS numbers and an additional "virtual gateway number". There is also two other objects in the model to identify the policy gateways and the route servers. These are identified by the combination of their AS numbers and local identifier assigned by the local domain administrator.

8 8(10) The database includes status of virtual gateways and configuration information about domains, this including a domains "transit policy" using "restrictions", "quality" and "cost" definitions. Additional information can also be included as "temporal specifications". 4.2 Comparison to OSPF Compared to OSPF, which also includes a flooding protocol to distribute the database to all servers, the time to live for information is expected to be essentially longer which means easier maintenance for the database. In OSPF all the routers are under the same authority making security aspects relatively simple by only suitable authentication. IDPR routers are located all over the Internet and it is essential, that the information flooded "in" is definitely correct. That is why time stamp and digital signature methods are used. In OSPF in one area all routers have synchronised copies of the database. This wouldn't work well in a system as big as the whole internet. IDPR solves the problem by using source specified routing, similiar to SDRP and this removes the need of consistency. 4.3 AS paths IDPR uses route servers either co- locating with the main policy servers or being separate agents. A request list in IDPR includes as "on demand", up to the profile requested, the source, the destination, QoS needed and cost factors. The following situation might exist in the database: A B C D E F Picture 6: AS paths The target could be a path connection between A and D. If a suitable link (for example bandwidth B) is not available between C-D, this is removed from the map. Also node E must be removed because of routing restrictions. Then a route A-B-C- F- D is the only satisfactory (in this case). The algorithm needed to build up is simple basing on links available meeting requirements. The shortest path first - principle remains valid. Multiple paths can be found (not in this example). 4.4 Packet routing in IDPR Policy routing using IDPR has three main points:

9 9(10) * the local domain route server gives a description of one of several policy routes as a result of a query from a source * The local path agent provides the possibility selected and asked by the source * When the path is ready, packets can be forwarded Actually the path set- up is a procedure to make a virtual circuit. A path is identified by concatenating the AS number of the source, the identifier of the originators policy gateway, and a 32 bits long local path identifier specified by the originator. The set-up request goes on hop- by - hop from policy gateway to another always checking the transit policies of the domain in question. The path is established when the setup message reaches the target domain. An acceptation message is then sent backwards signalling that the path is available. When the path is found, the list of virtual gateways is transformed into one specific list of policy gateways. In a failure situation maybe another policy gateway can then be found on the same gateway. 5. Conclusions A few policy routing procedures have been introduced. Maybe the IDPR- concept is the most advanced one trying to have a global macro- level study. As in all widespread or global systems there is the difficulty of common standardisation and acceptance making proceeding go slow. It is apparent, that policy routing is a desired and even an essential function in future Internet routing. The situation at the moment is, that only simple provider selection by tunnelling is used. SDRP and IDPR are in an experimental phase. SDRP specification is still under finalization, an IDPR has its problem being a complicated solution. Probably both protocols are needed together as a compromise.

10 10(10) Acronyms AS Autonomous System BGP Border Gateway Protocol DE Destination EGP Exterior Gateway Protocol IDPR Inter Domain Policy Routing IP Internet Protocol IRTF Internet Engineering Task Force OSPF Open Shortest Path First PR Policy Routing QoS Quality of Service RO Regional Operator SDR Source Demand Routing SDRP Source Demand Switching Protocol TCP Transmission Conrol Protocol TP Transit Provider References /1/ Philippe Rua: Licentiate course seminar presentation and paper on EGP and BGP, October 1996, presented in the 8 th of October /2/ Request For Comments 1477, IDRP as a Proposed Standard, M. Steenstrup, July 1993 /3/ Request For Comments 1478, an Architecture for Inter- Domain Policy Routing, M. Steenstrup, June 1993 /4/ Request For Comments 1479, Inter- Domain Policy Routing Protocol Specification, M Steestrup, July 1993 /5/ David M. Picitello & A. Lyman Chapin: Open systems Networking, Addison Wesley Publishing Company, /6/ Christian Huitema: Routing in the Internet, Prentice Hall PTR 1995,

INTER-DOMAIN ROUTING PROTOCOLS: EGP AND BGP. Abstract

INTER-DOMAIN ROUTING PROTOCOLS: EGP AND BGP. Abstract HELSINKI UNIVERSITY OF TECHNOLOGY Laboratory of Telecommunication Technology Licentiate course seminar, October 1996 Philippe Rua INTER-DOMAIN ROUTING PROTOCOLS: EGP AND BGP. Abstract This paper presents

More information

Routing Protocols --- Exterior Gateway Protocol

Routing Protocols --- Exterior Gateway Protocol Content Routing Protocols --- Exterior Gateway Protocol Linda Wu (CMPT 471 23-3) Limiting router interaction Autonomous system BGP protocol BGP messages Other issues on BGP Reference: chapter 15 Notes-13

More information

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

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation: IPv6 Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation: header format helps speed processing/forwarding header changes to facilitate QoS IPv6 datagram format:

More information

Why dynamic route? (1)

Why dynamic route? (1) Routing Why dynamic route? (1) Static route is ok only when Network is small There is a single connection point to other network No redundant route 2 Why dynamic route? (2) Dynamic Routing Routers update

More information

Open Shortest Path First (OSPF)

Open Shortest Path First (OSPF) CHAPTER 42 Open Shortest Path First (OSPF) Background Open Shortest Path First (OSPF) is a routing protocol developed for Internet Protocol (IP) networks by the interior gateway protocol (IGP) working

More information

Inter-domain Routing. Outline. Border Gateway Protocol

Inter-domain Routing. Outline. Border Gateway Protocol Inter-domain Routing Outline Border Gateway Protocol Internet Structure Original idea CS 640 2 Internet Structure Today CS 640 3 Route Propagation in the Internet Autonomous System (AS) corresponds to

More information

Chapter 12 Network Protocols

Chapter 12 Network Protocols Chapter 12 Network Protocols 1 Outline Protocol: Set of defined rules to allow communication between entities Open Systems Interconnection (OSI) Transmission Control Protocol/Internetworking Protocol (TCP/IP)

More information

BGP. Inter-domain routing with the Border Gateway Protocol. Iljitsch van Beijnum Amsterdam, 13 & 16 March 2007

BGP. Inter-domain routing with the Border Gateway Protocol. Iljitsch van Beijnum Amsterdam, 13 & 16 March 2007 BGP Inter-domain routing with the Border Gateway Protocol Iljitsch van Beijnum Amsterdam, 13 & 16 March 2007 1 Routing Between ISPs Internal routing protocols don't work here: too much information So:

More information

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding. Integrated Services An architecture for streaming multimedia Aimed at both unicast and multicast applications An example of unicast: a single user streaming a video clip from a news site An example of

More information

Networking: Network layer

Networking: Network layer control Networking: Network layer Comp Sci 3600 Security Outline control 1 2 control 3 4 5 Network layer control Outline control 1 2 control 3 4 5 Network layer purpose: control Role of the network layer

More information

Introduction to Information Science and Technology 2017 Networking II. Sören Schwertfeger 师泽仁

Introduction to Information Science and Technology 2017 Networking II. Sören Schwertfeger 师泽仁 II Sören Schwertfeger 师泽仁 Outline Review Network Layer Routing Transport Layer Applications HTTP Demos Internet: Huge network of networks Billions of hosts (computers) Internet Structure Network Edge:

More information

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP Routing on the Internet Computer Networks Lecture 17: Inter-domain Routing and BGP In the beginning there was the ARPANET: route using GGP (Gateway-to-Gateway Protocol), a distance vector routing protocol

More information

Basic Idea. Routing. Example. Routing by the Network

Basic Idea. Routing. Example. Routing by the Network Basic Idea Routing Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

Routing. Advanced Computer Networks: Routing 1

Routing. Advanced Computer Networks: Routing 1 Routing Advanced Computer Networks: Routing 1 Gateway To internet or wide area network Metropolitan Area Network (MAN) s s Organization Servers Backbone R S R R Departmental Server s R S R s S R s s s

More information

Routing by the Network

Routing by the Network Routing Basic Idea Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

The Internet. The Internet is an interconnected collection of netw orks.

The Internet. The Internet is an interconnected collection of netw orks. The Internet The Internet is an interconnected collection of netw orks. Internetw orking-1 Internetworking! Communications Network: A facility that provides a data transfer service among stations attached

More information

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1 Chapter 4: Advanced Internetworking Networking CS 3470, Section 1 Intra-AS and Inter-AS Routing a C C.b b d A A.a a b A.c c B.a a B c Gateways: perform inter-as routing amongst themselves b perform intra-as

More information

EEC-484/584 Computer Networks

EEC-484/584 Computer Networks EEC-484/584 Computer Networks Lecture 13 wenbing@ieee.org (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Outline 2 Review of lecture 12 Routing Congestion

More information

11. Dynamic Routing Protocols

11. Dynamic Routing Protocols 11. Dynamic Routing Protocols In this section, we will talk about why we might want routers to find out about destination networks and routes from each other rather from static routing tables. And we will

More information

A Segment Routing (SR) Tutorial. R. Bonica NANOG70 June 6, 2017

A Segment Routing (SR) Tutorial. R. Bonica NANOG70 June 6, 2017 A Segment Routing (SR) Tutorial R. Bonica NANOG70 June 6, 2017 AKA: SPRING IETF Standardization Source Packet Routing In Networking (SPRING) WG ISIS, OSPF, IDR and MPLS WGs What is SR? A tunneling technology

More information

Internetworking: Global Internet and MPLS. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Internetworking: Global Internet and MPLS. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806 Internetworking: Global Internet and MPLS Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806 10/19/2016 CSCI 445 Fall 2016 1 Acknowledgements Some pictures

More information

Planning for Information Network

Planning for Information Network Planning for Information Network Lecture 8: Network Routing Protocols Assistant Teacher Samraa Adnan Al-Asadi 1 Routing protocol features There are many ways to characterize routing protocols, including

More information

The Interconnection Structure of. The Internet. EECC694 - Shaaban

The Interconnection Structure of. The Internet. EECC694 - Shaaban The Internet Evolved from the ARPANET (the Advanced Research Projects Agency Network), a project funded by The U.S. Department of Defense (DOD) in 1969. ARPANET's purpose was to provide the U.S. Defense

More information

Internet Routing Protocols, DHCP, and NAT

Internet Routing Protocols, DHCP, and NAT Internet Routing Protocols, DHCP, and NAT Hwajung Lee Modified from Slides Courtesy of Cisco Networking Academy and the book titled Communication Networks by Leon-Garcia Contents Basic Routing Single Area

More information

To contain/reduce broadcast traffic, we need to reduce the size of the network (i.e., LAN).

To contain/reduce broadcast traffic, we need to reduce the size of the network (i.e., LAN). 2.3.3 Routers 2.3.3.1 Motivation Bridges do not stop broadcast traffic. This can lead to broadcast storms (e.g., more than 100 nonunicast frames/sec) which can be catastrophic. This can bring the network

More information

BTEC Level 3 Extended Diploma

BTEC Level 3 Extended Diploma BTEC Level 3 Extended Diploma Unit 9 Computer Network Routing and Routing Protocols BTEC Level 3 Extended Diploma Introduction to Routing Routing is the process that a router uses to forward packets toward

More information

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

ICS 351: Today's plan. OSPF BGP Routing in general routing protocol comparison encapsulation network dynamics ICS 351: Today's plan OSPF BGP Routing in general routing protocol comparison encapsulation network dynamics OSPF OSPF generally used within a single Autonomous System (AS), i.e. within an organization

More information

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Copyright 2010 Cisco Press & Priscilla Oppenheimer 1 Switching 2 Page 1 Objectives MAC address table Describe the features

More information

Implementing Cisco IP Routing

Implementing Cisco IP Routing ROUTE Implementing Cisco IP Routing Volume 3 Version 1.0 Student Guide Text Part Number: 97-2816-02 DISCLAIMER WARRANTY: THIS CONTENT IS BEING PROVIDED AS IS. CISCO MAKES AND YOU RECEIVE NO WARRANTIES

More information

CS519: Computer Networks. Lecture 4, Part 5: Mar 1, 2004 Internet Routing:

CS519: Computer Networks. Lecture 4, Part 5: Mar 1, 2004 Internet Routing: : Computer Networks Lecture 4, Part 5: Mar 1, 2004 Internet Routing: AS s, igp, and BGP As we said earlier, the Internet is composed of Autonomous Systems (ASs) Where each AS is a set of routers, links,

More information

Computer Networks ICS 651. IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery

Computer Networks ICS 651. IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery Computer Networks ICS 651 IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery Routing Information Protocol DV modified with split horizon and poisoned reverse distance

More information

Computer Networks II IPv4 routing

Computer Networks II IPv4 routing Dipartimento di Informatica e Sistemistica Computer Networks II IPv4 routing Luca Becchetti Luca.Becchetti@dis.uniroma1.it A.A. 2009/2010 NEXT WEEK... 2 exercise classes on topics covered so far Please

More information

Internet Interconnection Structure

Internet Interconnection Structure Internet Interconnection Structure Basic Concepts (1) Internet Service Provider (ISP) Provider who connects an end user customer with the Internet in one or few geographic regions. National & Regional

More information

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage Lecture 16: Interdomain Routing CSE 123: Computer Networks Stefan Savage Overview Autonomous Systems Each network on the Internet has its own goals Path-vector Routing Allows scalable, informed route selection

More information

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

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Inter-AS routing Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Some materials copyright 1996-2012 J.F Kurose and K.W. Ross, All Rights Reserved Chapter 4:

More information

Network Layer. Goals of This Lecture. Internet Reference Model. Outline of the Class

Network Layer. Goals of This Lecture. Internet Reference Model. Outline of the Class Goals of This Lecture Network Layer Kuang Chiu Huang TCM NCKU Through the lecture and in-class discussion, students are enabled to describe role and functions of the network layer, and compare different

More information

Inter-Domain Routing: BGP

Inter-Domain Routing: BGP Inter-Domain Routing: BGP Richard T. B. Ma School of Computing National University of Singapore CS 3103: Compute Networks and Protocols Inter-Domain Routing Internet is a network of networks Hierarchy

More information

Chapter 5. The Network Layer

Chapter 5. The Network Layer Chapter 5 The Network Layer Congestion Control Algorithms General Principles of Congestion Control Congestion Prevention Policies Congestion Control in Virtual-Circuit Subnets Congestion Control in Datagram

More information

Introduction. Keith Barker, CCIE #6783. YouTube - Keith6783.

Introduction. Keith Barker, CCIE #6783. YouTube - Keith6783. Understanding, Implementing and troubleshooting BGP 01 Introduction http:// Instructor Introduction Keith Barker, CCIE #6783 CCIE Routing and Switching 2001 CCIE Security 2003 kbarker@ine.com YouTube -

More information

Unit 3: Dynamic Routing

Unit 3: Dynamic Routing Unit 3: Dynamic Routing Basic Routing The term routing refers to taking a packet from one device and sending it through the network to another device on a different network. Routers don t really care about

More information

Antonio Cianfrani. Routing Protocols

Antonio Cianfrani. Routing Protocols Antonio Cianfrani Routing Protocols Routing protocols A routing protocol provides a communication channel among routers to exchange reachability information about networks Routing tables are properly configured

More information

Network Working Group Request for Comments: 1940 Category: Informational. Y. Rekhter cisco Systems K. Varadhan D. Zappala USC.

Network Working Group Request for Comments: 1940 Category: Informational. Y. Rekhter cisco Systems K. Varadhan D. Zappala USC. Network Working Group Request for Comments: 1940 Category: Informational D. Estrin USC T. Li Y. Rekhter cisco Systems K. Varadhan D. Zappala USC May 1996 Source Demand Routing: Packet Format and Forwarding

More information

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala October 9, 2018 (a) October 18 October 9,

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala October 9, 2018 (a) October 18 October 9, CMSC 417 Computer Networks Prof. Ashok K Agrawala 2018 Ashok Agrawala October 9, 2018 (a) October 18 October 9, 2018 1 host Message, Segment, Packet, and Frame host HTTP HTTP message HTTP TCP TCP segment

More information

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms Chapter 15&16 Internetworking Internetwork Structure & Terms Internetworking Architecture Features Connection/Connectionless Architecture Fragmentation & Reassembly Internet Protocol & Services Addressing

More information

ETSF05/ETSF10 Internet Protocols Routing on the Internet

ETSF05/ETSF10 Internet Protocols Routing on the Internet ETSF05/ETSF10 Internet Protocols Routing on the Internet 2014, (ETSF05 Part 2), Lecture 1.1 Jens Andersson Circuit switched routing 2014 11 05 ETSF05/ETSF10 Internet Protocols 2 Packet switched Routing

More information

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load Dynamic Routing Overview Forwarding vs Routing forwarding: to select an output port based on destination address and routing table routing: process by which routing table is built Network as a Graph C

More information

Chapter 09 Network Protocols

Chapter 09 Network Protocols Chapter 09 Network Protocols Copyright 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Outline Protocol: Set of defined rules to allow communication between entities Open Systems

More information

Routing in the Internet

Routing in the Internet Routing in the Internet Daniel Zappala CS 460 Computer Networking Brigham Young University Scaling Routing for the Internet 2/29 scale 200 million destinations - can t store all destinations or all prefixes

More information

Internetworking Part 2

Internetworking Part 2 CMPE 344 Computer Networks Spring 2012 Internetworking Part 2 Reading: Peterson and Davie, 3.2, 4.1 19/04/2012 1 Aim and Problems Aim: Build networks connecting millions of users around the globe spanning

More information

CHAPTER 18 INTERNET PROTOCOLS ANSWERS TO QUESTIONS

CHAPTER 18 INTERNET PROTOCOLS ANSWERS TO QUESTIONS CHAPTER 18 INTERNET PROTOCOLS ANSWERS TO QUESTIONS 18.1 (1) The communications network may only accept blocks of data up to a certain size. (2) Error control may be more efficient with a smaller PDU size.

More information

Internet Routing Protocols Part II

Internet Routing Protocols Part II Indian Institute of Technology Kharagpur Internet Routing Protocols Part II Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T. Kharagpur, INDIA Lecture 8: Internet routing protocols Part

More information

Routing, Routing Algorithms & Protocols

Routing, Routing Algorithms & Protocols Routing, Routing Algorithms & Protocols Computer Networks Lecture 6 http://goo.gl/pze5o8 Circuit-Switched and Packet-Switched WANs 2 Circuit-Switched Networks Older (evolved from telephone networks), a

More information

EEC-684/584 Computer Networks

EEC-684/584 Computer Networks EEC-684/584 Computer Networks Lecture 14 wenbing@ieee.org (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Outline 2 Review of last lecture Internetworking

More information

Top-Down Network Design

Top-Down Network Design Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Original slides by Cisco Press & Priscilla Oppenheimer Selection Criteria for Switching and Routing Protocols Network traffic

More information

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet Chapter 2 - Part 1 The TCP/IP Protocol: The Language of the Internet Protocols A protocol is a language or set of rules that two or more computers use to communicate 2 Protocol Analogy: Phone Call Parties

More information

Inter-Domain Routing: BGP

Inter-Domain Routing: BGP Inter-Domain Routing: BGP Brad Karp UCL Computer Science (drawn mostly from lecture notes by Hari Balakrishnan and Nick Feamster, MIT) CS 3035/GZ01 4 th December 2014 Outline Context: Inter-Domain Routing

More information

Introduction to IP Routing. Geoff Huston

Introduction to IP Routing. Geoff Huston Introduction to IP Routing Geoff Huston Routing How do packets get from A to B in the Internet? A Internet B Connectionless Forwarding Each router (switch) makes a LOCAL decision to forward the packet

More information

Internetwork Protocols

Internetwork Protocols Internetwork Protocols Background to IP IP, and related protocols Internetworking Terms (1) Communications Network Facility that provides data transfer service An internet Collection of communications

More information

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis Internet Protocols Fall 2006 Lectures 11-12 Inter-domain routing, mobility support, multicast routing Andreas Terzis Outline Inter-domain Internet Routing BGP Routing for mobile nodes Multicast routing

More information

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

ETSF05/ETSF10 Internet Protocols. Routing on the Internet ETSF05/ETSF10 Internet Protocols Routing on the Internet Circuit switched routing ETSF05/ETSF10 - Internet Protocols 2 Routing in Packet Switching Networks Key design issue for (packet) switched networks

More information

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

CS 457 Networking and the Internet. The Global Internet (Then) The Global Internet (And Now) 10/4/16. Fall 2016 CS 457 Networking and the Internet Fall 2016 The Global Internet (Then) The tree structure of the Internet in 1990 The Global Internet (And Now) A simple multi-provider Internet 1 The Global Internet Some

More information

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG Lecture 2: Internet Protocol (IP) Prof. Shervin Shirmohammadi SITE, University of Ottawa Prof. Shervin Shirmohammadi CEG 4185 2-1 Network Layer Provides the upper layers with independence from the data

More information

Routing Protocols. The routers in an internet are responsible for receiving and. forwarding IP datagrams through the interconnected set of

Routing Protocols. The routers in an internet are responsible for receiving and. forwarding IP datagrams through the interconnected set of Routing Protocols MITA DUTTA The routers in an internet are responsible for receiving and forwarding IP datagrams through the interconnected set of sub-networks from source to destination. Routing protocols

More information

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30 Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30 R1. Let s review some of the terminology used in this textbook. Recall that

More information

IPv6: An Introduction

IPv6: An Introduction Outline IPv6: An Introduction Dheeraj Sanghi Department of Computer Science and Engineering Indian Institute of Technology Kanpur dheeraj@iitk.ac.in http://www.cse.iitk.ac.in/users/dheeraj Problems with

More information

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach Chapter 4 Network Layer: The Data Plane Part A All material copyright 996-06 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 7 th Edition, Global Edition Jim Kurose,

More information

TCPIP Protocol Suite & Utilities. Revision no.: PPT/2K403/02

TCPIP Protocol Suite & Utilities. Revision no.: PPT/2K403/02 TCPIP Protocol Suite & Utilities Revision no.: PPT/2K403/02 Comparing the TCP/IP protocol Suite, the OSI Model, and the DoD Model Comparing the TCP/IP protocol Suite, the OSI Model, and the DoD Model (contd.)

More information

Lecture 12. Introduction to IP Routing. Why introduction? Routing

Lecture 12. Introduction to IP Routing. Why introduction? Routing Lecture. Introduction to IP Routing Why introduction? Routing: very complex issue need in-depth study entire books on routing our scope: give a flavour of basic routing structure and messaging give an

More information

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley. IPv4 addressing, NAT http://xkcd.com/195/ Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Some materials copyright 1996-2012 J.F Kurose and K.W. Ross, All Rights

More information

COMP9332 Network Routing & Switching

COMP9332 Network Routing & Switching COMP9332 Network Routing & Switching Switching in IP Networks with MPLS http://www.cse.unsw.edu.au/~cs9332 1 Lecture Overview This lecture introduces the concept of switching, which allows faster processing

More information

CS BGP v4. Fall 2014

CS BGP v4. Fall 2014 CS 457 - BGP v4 Fall 2014 Autonomous Systems What is an AS? a set of routers under a single technical administration uses an interior gateway protocol (IGP) and common metrics to route packets within the

More information

IETF RFCs Supported by Cisco NX-OS Unicast Features Release 6.x

IETF RFCs Supported by Cisco NX-OS Unicast Features Release 6.x IETF Supported by Cisco NX-OS Unicast Features Release 6.x BGP, page 1 First-Hop Redundancy Protocols, page 2 IP Services, page 3 IPv6, page 3 IS-IS, page 4 OSPF, page 5 RIP, page 5 BGP RFC 1997 BGP Communities

More information

Network Layer: Routing

Network Layer: Routing Network Layer: Routing The Problem A B R 1 R 2 R 4 R 3 Goal: for each destination, compute next hop 1 Lecture 9 2 Basic Assumptions Trivial solution: Flooding Dynamic environment: links and routers unreliable:

More information

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

ICS 351: Today's plan. OSPF BGP Routing in general ICS 351: Today's plan OSPF BGP Routing in general link-state routing in distance-vector (Bellman-Ford, Ford-Fulkerson, RIP-style) routing, each router distributes its routing table to its neighbors an

More information

Routing. Info 341 Networking and Distributed Applications. Addresses, fragmentation, reassembly. end-to-end communication UDP, TCP

Routing. Info 341 Networking and Distributed Applications. Addresses, fragmentation, reassembly. end-to-end communication UDP, TCP outing Info 341 Networking and Distributed Applications Context Layer 3 Addresses, fragmentation, reassembly Layer 4 end-to-end communication UDP, TCP outing At layer 3 Often relies on layer 4 Application

More information

J. A. Drew Hamilton, Jr., Ph.D. Director, Information Assurance Laboratory and Associate Professor Computer Science & Software Engineering

J. A. Drew Hamilton, Jr., Ph.D. Director, Information Assurance Laboratory and Associate Professor Computer Science & Software Engineering Auburn Information Assurance Laboratory J. A. Drew Hamilton, Jr., Ph.D. Director, Information Assurance Laboratory and Associate Professor Computer Science & Software Engineering 107 Dunstan Hall Auburn

More information

Introduction to IPv6. Unit -2. Prepared By:- NITIN PANDYA Assistant Professor, SVBIT.

Introduction to IPv6. Unit -2. Prepared By:- NITIN PANDYA Assistant Professor, SVBIT. Introduction to IPv6 Unit -2 Prepared By:- NITIN PANDYA Assistant Professor, SVBIT. IP Network Addressing INTERNET world s largest public data network, doubling in size every nine months IPv4, defines

More information

The Internet Protocol (IP)

The Internet Protocol (IP) The Internet Protocol (IP) The Blood of the Internet (C) Herbert Haas 2005/03/11 "Information Superhighway is really an acronym for 'Interactive Network For Organizing, Retrieving, Manipulating, Accessing

More information

Introduction to routing in the Internet

Introduction to routing in the Internet Introduction to routing in the Internet Internet architecture IPv4, ICMP, ARP Addressing, routing principles (Chapters 2 3 in Huitema) Internet-1 Internet Architecture Principles End-to-end principle by

More information

Domain Based Approach for QoS Provisioning in Mobile IP

Domain Based Approach for QoS Provisioning in Mobile IP Domain Based Approach for QoS Provisioning in Mobile IP Ki-Il Kim and Sang-Ha Kim Department of Computer Science 220 Gung-dong,Yuseong-gu, Chungnam National University, Deajeon 305-764, Korea {kikim, shkim}@cclab.cnu.ac.kr

More information

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

CS 43: Computer Networks. 24: Internet Routing November 19, 2018 CS 43: Computer Networks 24: Internet Routing November 19, 2018 Last Class Link State + Fast convergence (reacts to events quickly) + Small window of inconsistency Distance Vector + + Distributed (small

More information

Outline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits

Outline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits Lecture 2 Outline Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits TCP/IP protocol suite Good name for our book! User application, e.g., http with Mozilla Communication

More information

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan Routing Protocols of IGP Koji OKAMURA Kyushu University, Japan Routing Protocol AS (Autonomous System) Is operated autonomous in the organization. 6bit IGP (Interior Gateway Protocol) Routing Control inside

More information

Scalability of Routing Protocols

Scalability of Routing Protocols Scalability of outing Protocols Internet is large... Need to introduce hierarchy -... into something that naturally does not have one - divide and conquer, abandoning hope for optimality - based on ownership

More information

Table of Contents. Cisco TCP/IP

Table of Contents. Cisco TCP/IP Table of Contents TCP/IP Overview...1 TCP/IP Technology...1 TCP...1 IP...2 Routing in IP Environments...4 Interior Routing Protocols...5 RIP...5 IGRP...6 OSPF...6 Integrated IS IS...6 Exterior Routing

More information

Routing Unicast routing protocols

Routing Unicast routing protocols Routing Unicast routing protocols Jens A Andersson Electrical and Information Technology R1 Choosing an Optimal Path R4 5 R7 5 10 40 R6 6 5 B R2 15 A 20 4 10 10 R8 R3 5 10 R5 1 Router A router is a type

More information

ROUTING CONSORTIUM. Open Shortest Path First (OSPF) NSSA Option Test Suite. Technical Document. Revision 1.9

ROUTING CONSORTIUM. Open Shortest Path First (OSPF) NSSA Option Test Suite. Technical Document. Revision 1.9 ROUTING CONSORTIUM Open Shortest Path First (OSPF) NSSA Option Test Suite Technical Document Revision 1.9 University of New Hampshire 121 Technology Drive, Suite 2 Durham, NH 03824-3525 Routing Consortium

More information

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Lecture 3. The Network Layer (cont d) Network Layer 1-1 Lecture 3 The Network Layer (cont d) Network Layer 1-1 Agenda The Network Layer (cont d) What is inside a router? Internet Protocol (IP) IPv4 fragmentation and addressing IP Address Classes and Subnets

More information

Routing & Protocols 1

Routing & Protocols 1 Routing & Protocols 1 Paul Traina cisco Engineering 2 Today's Talk Terminology Routing Static Routes Interior Gateway Protocols Exterior Gateway Protocols Building an ISP network 3 Terminology network

More information

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

Da t e: August 2 0 th a t 9: :00 SOLUTIONS Interne t working, Examina tion 2G1 3 0 5 Da t e: August 2 0 th 2 0 0 3 a t 9: 0 0 1 3:00 SOLUTIONS 1. General (5p) a) Place each of the following protocols in the correct TCP/IP layer (Application, Transport,

More information

Introduction to routing in the Internet

Introduction to routing in the Internet Introduction to routing in the Internet Internet architecture IPv4, ICMP, ARP Addressing, routing principles (Chapters 2 3 in Huitema) Internet-1 Internet Architecture Principles End-to-end principle by

More information

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

HY 335 Φροντιστήριο 8 ο HY 335 Φροντιστήριο 8 ο Χειμερινό Εξάμηνο 2009-2010 Παπακωνσταντίνου Άρτεμις artpap@csd.uoc.gr 4/12/2009 Roadmap IP: The Internet Protocol IPv4 Addressing Datagram Format Transporting a datagram from source

More information

Table of Contents Chapter 1 Tunneling Configuration

Table of Contents Chapter 1 Tunneling Configuration Table of Contents Table of Contents... 1-1 1.1 Introduction to Tunneling... 1-1 1.1.1 IPv6 over IPv4 Tunnel... 1-2 1.1.2 IPv4 over IPv4 Tunnel... 1-7 1.2 Tunneling Configuration Task List... 1-8 1.3 Configuring

More information

Chapter 4: Network Layer

Chapter 4: Network Layer Mecanismes d Echange d Informations Chapter 4 Network Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint

More information

Routing. Jens A Andersson Communication Systems

Routing. Jens A Andersson Communication Systems Routing Jens A Andersson Communication Systems R1 Choosing an Optimal Path R4 5 R7 5 10 40 R6 6 5 B R2 15 A 20 4 10 10 R8 R3 5 R5 10 Router A router is a type of internetworking device that passes data

More information

End-To-End Signaling and Routing for Optical IP Networks

End-To-End Signaling and Routing for Optical IP Networks End-To-End Signaling and Routing for Optical IP Networks Mark Joseph Francisco, Lambros Pezoulas, Changcheng Huang, Ioannis Lambadaris Carleton University Department of Systems and Computer Engineering

More information

Overview 4.2: Routing

Overview 4.2: Routing Overview 4.2: Routing Forwarding vs Routing forwarding: to select an output port based on destination address and routing table routing: process by which routing table is built Network as a Graph A 6 1

More information

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

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University Daniel Zappala CS 460 Computer Networking Brigham Young University 2/20 Scaling Routing for the Internet scale 200 million destinations - can t store all destinations or all prefixes in routing tables

More information

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190 Chapter 17 OSPF Protocol Overview The Open Shortest Path First (OSPF) protocol is an interior gateway protocol (IGP) that routes packets within a single autonomous system (AS). OSPF uses link-state information

More information

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

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm Last time Transitioning to IPv6 Tunneling Gateways Routing Graph abstraction Link-state routing Dijkstra's Algorithm Distance-vector routing Bellman-Ford Equation 10-1 This time Distance vector link cost

More information