Internet Layer. Routing Tables. Routing in the Internet. Routing Protocols



Similar documents
Introduction to LAN/WAN. Network Layer

Infrastructure Components: Hub & Repeater. Network Infrastructure. Switch: Realization. Infrastructure Components: Switch

Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh

Route Discovery Protocols

Routing Protocols. Interconnected ASes. Hierarchical Routing. Hierarchical Routing

Lecture 13: Distance-vector Routing. Lecture 13 Overview. Bellman-Ford Algorithm. d u (z) = min{c(u,v) + d v (z), c(u,w) + d w (z)}

Internet Control Message Protocol (ICMP)

28 Networks and Communication Protocols

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

Outline. Internet Routing. Alleviating the Problem. DV Algorithm. Routing Information Protocol (RIP) Link State Routing. Routing algorithms

Routing in packet-switching networks

Chapter 4. Distance Vector Routing Protocols

Routing Protocols (RIP, OSPF, BGP)

Static IP Routing and Aggregation Exercises

Based on Computer Networking, 4 th Edition by Kurose and Ross

Router and Routing Basics

Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

OSPF Routing Protocol

IP Multicasting. Applications with multiple receivers

Administrative Distance

Table of Contents. Cisco How Does Load Balancing Work?

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Border Gateway Protocol (BGP)

OSPF Version 2 (RFC 2328) Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs).

Overview. Communication Networks. Nodes and Links. Nodes and Links. Topology. Topology. Telecommunications 1 P. Mathys

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

Computer Networks. Main Functions

CS335 Sample Questions for Exam #2

Layer 3 Routing User s Manual

Routing with OSPF. Introduction

Using the Border Gateway Protocol for Interdomain Routing

College 5, Routing, Internet. Host A. Host B. The Network Layer: functions

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

Mobile Ad Hoc Networks. Ad Hoc Networks - A New Communication Paradigm 1. Mobile Ad Hoc Networks (MANET) Mobile Ad Hoc Networks. Why Ad Hoc Networks?

Introduction to IP Multicast Routing

Internet Protocol version 4 Part I

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

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

6.263 Data Communication Networks

CS Computer Networks 1: Routing Algorithms

Routing and Packet Forwarding

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

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

Network Layer: Network Layer and IP Protocol

GregSowell.com. Mikrotik Routing

IP Routing Configuring Static Routes

Introduction to TCP/IP

Introduction to IP v6

A REPORT ON ANALYSIS OF OSPF ROUTING PROTOCOL NORTH CAROLINA STATE UNIVERSITY

The Internet. Internet Technologies and Applications

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Chapter 10 Link-State Routing Protocols

Lesson 5-3: Border Gateway Protocol

Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats

Lecture 8: Routing I Distance-vector Algorithms. CSE 123: Computer Networks Stefan Savage

Professor: Ian Foster TAs: Xuehai Zhang, Yong Zhao. Winter Quarter.

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Inter-domain Routing. Outline. Border Gateway Protocol

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

04 Internet Protocol (IP)

CCNA Exploration 4.0: (II) Routing Protocols and Concepts. Chapter 1: Introduction to Routing and Packet Forwarding

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

Exterior Gateway Protocols (BGP)

15-441: Computer Networks Homework 2 Solution

Comparison of RIP, EIGRP, OSPF, IGRP Routing Protocols in Wireless Local Area Network (WLAN) By Using OPNET Simulator Tool - A Practical Approach

Introduction to Dynamic Routing Protocols

CHAPTER 10 LAN REDUNDANCY. Scaling Networks

How To Understand Bg

Routing in wireless networks

Configuring RIP. Overview. Routing Update Process CHAPTER

Assignment #3 Routing and Network Analysis. CIS3210 Computer Networks. University of Guelph

- IGRP - IGRP v1.22 Aaron Balchunas

Lecture 2.1 : The Distributed Bellman-Ford Algorithm. Lecture 2.2 : The Destination Sequenced Distance Vector (DSDV) protocol

Internet Addresses (You should read Chapter 4 in Forouzan)

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

Configuring a Gateway of Last Resort Using IP Commands

Chapter 5: Sample Questions, Problems and Solutions Bölüm 5: Örnek Sorular, Problemler ve Çözümleri Örnek Sorular (Sample Questions):

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

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

Subnetting,Supernetting, VLSM & CIDR

ΤΕΙ Κρήτης, Παράρτηµα Χανίων

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

Routing Protocols OSPF CHAPTER. The following topics describe supported routing protocols. Topics include OSPF, page 9-1 IS-IS Protocol, page 9-3

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

Internet Protocol Version 6 (IPv6)

Congestion Control Overview

Exercises TCP/IP Networking. Solution. With Solutions

Can Forwarding Loops Appear when Activating ibgp Multipath Load Sharing?

IP and Mobility. Requirements to a Mobile IP. Terminology in Mobile IP

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

IP Traffic Engineering over OMP technique

The necessity of multicast for IPTV streaming

Introduction to LAN/WAN. Network Layer (part II)

Transcription:

Internet Layer Routing Tables estination ddress Next Hop Raw division into three tasks: ata transfer over a global network Route decision at the sub-nodes ontrol of the network or transmission status.7...../8 7.../.7../ 9.../.../ 9....7...7.. 9....7.. Routing Protocols Transfer Protocols: IPv, IPv.7...7..7 9... 9... 9... Routing Tables ontrol Protocols: IMP, RP, RRP, IGMP 7...... Page Page Routing in the Internet Routing Protocols The Internet consists of a large number of autonomous systems. ach autonomous system is operated by its own operator and can use its own routing protocols. y standardization of usable protocols, gateways can forward packets at the borders of the autonomous systems. Internal Protocol xternal Protocol Internal Protocol Internal Protocol utonomous Systems Page Interior Gateway Protocols (Routing in autonomous systems, for efficient transmission) Routing Information Protocol (RIP) Internet Gateway Routing Protocol (IGRP) nhanced IGRP Open Shortest Path irst (OSP) Intermediate System to Intermediate System (IS-IS) xterior Gateway Protocols (Routing between domains, adherence of policies for the domains) order Gateway Protocol (GP) xterior Gateway Protocol (GP) Router iscovery Protocols IMP Router iscovery Protocol (IRP) Hot Standby Router Protocol (HSRP) Page

Routing in a Sub-Network Sink or Sink Tree K G L H M I O N J Sub-network consists of many routers Routers are connected by several links onnections are partially redundant onnections have different characteristics There possibly exist redundant connections Therefore optimization of the routes by elimination of long paths K G L H M I O N J s result of the optimization principle a Sink or Sink Tree is constructed (here for router ) Sink Tree contains no loops an be used as a good indicator for the quality of a routing algorithm Sink Tree can change immediately (e.g. by crash of a router or by loss of a link) Page Page Routing lgorithms daptive Techniques Routing N Network ontrol enter (N) Provides routing strategies and network ormation in regular time intervals to all routers Routing decisions are made locally by routers deterministic stochastic centralized isolated distributed istributed Routing Locally set up routing tables which are being updated by regular ormation exchange with neighbor routers deterministic stochastic deterministic stochastic. local global deterministic stochastic deterministic stochastic i LS: Link State dvertisement Page 7 Page 8

Static Routing looding Source Routing: Route is determined by the sender Header,,7,8 ata Internal Routing: - Routing decision by intermediate nodes - Static tables are used within the routers, no reaction to changes in the network looding of the network with copies of the data packet Router propagates packet over all links, except over the incoming one Incoming packet - Stable -Simple - No reaction to changing network conditions - reakdowns in links or routers can have catastrophic results by node via line L L L L L L L High reliability (in case of failure of single routers) Meaningful for military applications (robustness) ut: large number of copied packets Possible loops are problematic Hop counter (TTL), list of all packets already sent Usable as reference for the quality of routing algorithms (delay) Used to support other routing algorithms, e.g. OSP Page 9 Page Local stimation Procedure Hot Potato hoose the outgoing link with the lowest load for the next packet to via router a L L L 8 7 min router a via L L % L % L 9% L b c b c L L L L L in L L L Routing takes place on the basis of transmission delay estimations very router estimates for itself Problem: Routers cannot see the whole network isolated Problem: circling of messages Solution: carry a list of the routers visited last variants: Hot Potato - Shortest Queue without ias Hot Potato with carried router list - Shortest Queue with ias isolated Page Page

Probabilistic Routing Routing: Shortest Path Router decides regarding performance measures of sent packets (e.g. delay, jitter) about best routes for a packet Routing can be made proportionally by assigning a proportionality factor p i to each link i L p(l) % % % % L p(l) 7% % - - L L L L p p p n Static variant Router administrates a table with distances to each destination and lines to be used ased on a constant metric (e.g. distance, line costs, transmission capacity etc.) omputation of the shortest path (regarding the metric) according to ijkstra daptive variant ynamic routing algorithms ynamic metrics (e.g. current delay, actual transmission capacity) (Regular) update of the routing tables / isolated Page Page Shortest Path: ijkstra () Shortest Path: ijkstra () lgorithm of ijkstra (99) for Routing. Mark source node (the Work node ) as permanent (i.e. distance and line do not change any more). onsider neighbored nodes of the node currently marked as permanent (i.e. the Work node ) and compute the distance to them based on own knowledge and link costs. hoose the node with the smallest distance to the source from the nodes not marked yet and mark it as permanent, it becomes the new Work node. Goto. xample: G 7 H s metric, exemplarily the distance in kilometers is chosen. Searched is the shortest path from to. Step: Marking of node as permanent. Step: Marking of the neighbor nodes of Page Page

Shortest Path: ijkstra () Shortest Path: ijkstra () (, ) 7 (, -) G (, ) (, -) (, -) (, -) H (, -) In order to be able to trace back the path later on, the predecessor node is stored. Step: becomes permanent, because distance is (< ).. Step: Tentative labeling of the neighbor nodes of (, ) 7 (, ) G (, ) (9, ) (, -) (, -) H (, -). Step: becomes permanent, since the distance to is (< < 9).. Step: Tentative labeling of the neighbor nodes of (, ): istance of to sums up to, using the path Page 7 Page 8 Shortest Path: ijkstra () Shortest Path: ijkstra () (, ) 7 (, ) G (, ) (9, ) (, ) (, -) H (, -). Step: Preliminary label of G is overwritten. Step: G becomes permanent, since the distance of is (< < 9). 7. Step: Tentative labeling of the neighbor nodes of G (, ) 7 (, ) G (, ) (9, ) (, ) (, -) H (9, G) 8. Step: Tentative label of G is overwritten 9. Step: becomes permanent, since the of is (< 9).. Step: Tentative labeling of the neighbor nodes of Page 9 Page

Shortest Path: ijkstra (7) Shortest Path: ijkstra (8) (, ) 7 (, ) G (, ) (9, ) (, ) (, H) H (8, ). Step: H becomes permanent, since the distance of is 8 (< 9).. Step: Tentative labeling of the neighbor nodes of H. Step: becomes permanent, since the distance of is 9 (< ). (, ) 7 (, ) G (, ) (9, ) (, ) (, H) H (8, ) The distance to using is larger than the tentative label of. No more paths exist, no states are changed - the algorithm terminates. Page Page Shortest Path: ijkstra (9) Implementation of ijkstra () (, ) 7 (, ) G (, ) (9, ) (, ) (, H) H (8, ). Step: is reached on the shortest path and finally becomes permanent. Page Page

Implementation of ijkstra () istance Vector Routing Problem: Static procedures are lexible, they do not react to problems and must be computed again after each change of the topology etc. Solution: Routers mutually exchange (regularly) ormation about the current state of outgoing lines daptive variant of Shortest Path Routing: istance Vector Routing (ellman et al. 97) lso: istributed ellmann-ord Routing, ord-ulkerson Routing, RIP (RPNT, Internet); improved in isco routers Page Page istance Vector Routing Information xchange very router manages a table with (known/estimated) distances to each destination and the assigned lines to neighbor nodes. ach router is assumed to know the distances to its neighbors. Regularly, the distance ormation of the routing tables is communicated to the neighbors; due to the ormation from the neighbors and the known distances to the neighbors every router computes its routing table again (without use of the own old routing ormation). xample of a istance Vector: V j = ((=), (=), (=), ) ssential here: ( is reachable with costs, with costs, and with costs ) Global ormation is exchanged only between neighbors! Page 7 Page 8

xample xample () L () L () L L s transmission costs for each line, is assumed. transfers (=) to its neighbors and () L () L () L L () L () L and know, from where the vector comes and so the costs to can be computed () L () L Table of router after system initialization or cold start rom to Link osts locally Routing tables of routers and, after the vector of router is processed rom to Link osts locally L Table of router after system initialization or cold start rom to Link osts locally rom to Link osts locally L Page 9 Page xample xample now transfers its vector (=, =) using link, and to its neighbors, and () L () L () L L Router receives (=, =) rom to Link osts receives this vector over link and updates its table as follows: () L () L locally L L = is larger than = discard = for link Similar to it the processing of the vector of takes place Routing table of after the actualization coming from and rom to Link osts locally L L Router receives (=, =) () L () L () L L rom to Link osts locally L L () L () L Page Page

xample xample Router receives the vector (=, =) which it uses to update the routing table with = and = using link The entry for over link is already registered with costs of, therefore no new entry for is necessary Routing table of after the update, and now have new routing tables generate distance vectors () L () L () L L () L () L rom to Link osts locally L L L rom : (=, =, =) over link and rom : (=, =, =) over link and rom : (=, =, =, =) over link, and Routing table of : () L () L () L L () L () L rom to Link osts locally L L L L Page Page xample xample rom : (=, =, =) over link and rom : (=, =, =) over link and rom : (=, =, =, =) over link, and () L () L () L L () L () L rom to Link osts locally L L L rom to Link osts locally L L L L rom : (=, =, =, =, =) over linj, and rom : (=, =, =, =) over link and rom : (=, =, =, =, =) over link, and () L () L () L L () L () L rom to Link osts locally L L L L rom to Link osts locally L L L L Page Page

xample Successive Information Propagation rom : (=, =, =, =, =) over link, and rom : (=, =, =, =) over link and rom : (=, =, =, =, =) over link, and () L () L () L L () L () L rom to Link osts locally L L L L lgorithm terminates since, and create and send new vectors, but, and do not have to apply updates any longer. Problem with this procedure: Information must be reliable Otherwise: hristmas eadlock router j announced U j = (,, ) onsequence: Nearly the entire traffic was led over j ollapse isadvantages: - Unreliable ormation is dangerous - ycling load conditions - dditional overhead - nd: ormation propagation lasts a certain time! Page 7 Page 8 onnection Loss onnection Loss () L () L () L L () L () L rom to Link osts locally L L L L rom : (=, =, =, =, =) over link rom : (=, =, =, =, =) over link and () L () L () L L () L () L Router and notice the interruption e.g. by control packets Update of their own routing tables rom to Link osts locally L L L L receives the vector from and updates with =, =, =, =, = rom to Link osts locally L L L L = inite Page 9 Page

onnection Loss onnection Loss rom : (=, =, =, =, =) over link rom : (=, =, =, =, =) over link und rom to link costs locally L L L L rom to link costs rom : (=, =, =, =, =) over link and rom : (=, =, =, =, =) over link and rom : (=, =, =, =, =) over link, and rom to Link osts locally L L L L rom to Link osts () L () L () L L () L () L locally L L L L () L () L () L L () L () L locally L L L L Page Page onnection Loss onnection Loss rom : (=, =, =, =, =) over link and rom : (=, =, =, =, =) over link and rom : (=, =, =, =, =) over link, and () L () L () L L () L () L rom to Link osts locally L L L L rom to Link osts locally L L L L rom : (=, =, =, =, =) over link rom : (=, =, =, =, =) over link and rom : (=, =, =, =, =) over link and rom : (=, =, =, =, =) over link, and () L () L () L L () L () L rom to Link osts locally L L L L rom to Link osts locally L L L L Page Page

onnection Loss The ouncing ffect rom : (=, =, =, =, =) over link rom : (=, =, =, =, =) over link and rom : (=, =, =, =, =) over link and rom : (=, =, =, =, =) over link, and rom to Link osts locally L L L L So far: osts of for each link Reality: ifferent costs per link xample: Link has costs of In the following, only the paths to router are examined. () L () L () L L () L () L rom Link osts () L () L () L L () L () L lgorithm terminates, because, and create and send new vectors, but don t cause further updates in the routing tables. In the case of stable conditions the tables of the other routers have these entries for : to L to L to locally to L to L Page Page The ouncing ffect The ouncing ffect ssumption : onnection breaks down. detects the failure and sets its costs to. Temporarily, the following table results: ssumption : has sent its vector before. (in case of regular transmission) () L () L () L L () L () L rom Link osts to L to L to locally to L to L reports over link with costs of Router adds costs of to link for Value is lower than Table entry for is replaced by link and costs of Passing on the table to and Message comes over link resp., which and are using for Update of and () L () L () L L () L () L rom Link osts to L to L to locally to L to L Page 7 Page 8

The ouncing ffect The ouncing ffect Routing tables contain a loop! Packets from are bouncing between and sends its vector over link adds costs of to its own costs of ignores the message, because the costs are higher as before and send vectors Update of and () L () L () L L () L () L rom Link osts to L to L to locally to L to L fter several iterations, the following tables result: ntries depend however on random processes (e.g. on the order of the update messages, the arrival times of the vectors, losses of vectors etc.) rom Link osts to L to L to locally to L to L Page 9 Page ount to Infinity ount to Infinity ount to Infinity problem: The istance Vector Routing achieves a correct solution, but possibly many (up to inite) update steps are necessary. xample : at first is switched off, then it is switched on xample: routers,,,,, are connected linear, the distance between neighbor routers in each case is to switched on. Update. Update. Update Page Page

ount to Infinity Split Horizon lgorithm xample : is switched off irst solution approach: Split-Horizon lgorithm switched off. Update. Update. Update. Update. Update 7. : : 8 : :. 7 : :. 8 : :. o not send the distance to X over that link used to transfer packets for X (resp. path is reported as ). However, it does not work always: Link is switched off hears from and that they do not reach announces and that is unreachable announces however to : has distance updates and has with distance updates for with distance... ount to Infinity Router Page Page Routing Information Protocol (RIP) Information xchange arly internal gateway routing protocol used in the Internet ases on the istance Vector Protocol RIP messages are sent every seconds as UP datagrams s metric for the evaluation of the paths the number of hops is used (The maximal possible number of hops is limited to!) In a message (only) up to entries of the routing table can be sent its good for small systems Problems: slow convergence (duration of minutes), ount to Infinity, no considering of subnets RIPv: subnets, authentication, multicast, however: the maximal possible number of hops is still limited to. s reaction to the restrictions of RIP, isco introduced the Internet Gateway Routing Protocol (IGRP): xtension of the metric, load sharing, more efficient packet format. The protocols did not become generally accepted, because they were isco-specific Replacement by a Link State Protocol (OSP).) xchange of global ormation locally (only with neighbors) istance Vector Routing.) Global exchange of local ormation Link State Routing Routers exchange Link State dvertisements (LS) Page Page

Link State Routing Link State Routing H very router determines its neighbors and their addresses (with so-called HLLO packets) measures the distances to the neighbors (with so-called HO packets) sends these ormation in a packet to all other routers (LS Link State dvertisement) computes on the basis of all the received LSs from other routers the shortest paths to the other routers (e.g. with the ijkstra algorithm) This is repeated regularly. irst step: etermination of all neighbored routers Sending of a HLLO message on all links Routers at the other end answer with their identification If several routers are connected in a (broadcast) network, a new artificial node is introduced for simplification LN G N I G H I Page 7 Page 8 Link State Routing Link State Routing Second step: iscovery of link costs Transmission of HO messages Routers at the other end answer immediately (measurement of the delay) Inclusion of load leads to the choice of the lowest loaded link Side-effect in having two possible links: the less loaded link is loaded immediately heavily and the other link becomes free, with the next measurement the same happens for the other link, (cycling load) I G J H Third step: reate link state messages ontain list of neighbors with appropriate link costs (elay, queue length, jitter etc.) Messages additionally contain sender identification, sequence number, age Seq.No. ge Seq.No. ge Seq.No. ge Seq.No. ge 7 8 Seq.No. ge 8 7 Seq.No. ge 7 8 Page 9 Page

Packet uffer for Router ourth step: Sending of link state messages looding (problem: loops, duplicates, packet losses etc.) Sequence numbers are counted up, packets with outdated numbers (duplicates) are discarded very router reduces the age by one, with zero a packet is discarded ach router confirms the arrival of a link state packet to the sending router Transmission flags onfirmation flags Source Seq.No. ge ata Packet uffer for Router Link state message from arrives directly, therefore ge=, Seq.No.= Message is sent to and and confirmed for Message of must be transferred to and and be confirmed for Message of came twice (over and ) therefore only forwarding to, confirmation for and Transmission flags Source Seq.No. ge onfirmation flags ata 8 7 9 ata structure of router 9 9 9 Page Page Route nquiry Routing Tables ifth step: Problem: extensive routing tables ecision on best routes Router collects link state ormation from all other routers hierarchical routing path graph for the entire sub-network is determined Local execution of e.g. the ijkstra algorithm for the determination of the optimal route Results are written into the routing table Large tables are needing too much memory, PU time, transmission capacity for link state messages etc. virtual division of the network (Regions) Problems: With n routers and m neighbors, nm table entries are necessary In the case of router failures, the graphs of all routers are outdated xtremely susceptibly to attacks Page Page

Hierarchical Routing Hierarchical Routing Region Region Region Region Region Region Region Region Region Region isadvantage: Possibly increasing path length ull routing table for estination Link to Hops - - Hierarchical routing table for estination Link to Hops - - Page Page Internal Gateway Routing Protocol - OSP Open Shortest Path irst 99 standardized by IT (R 7) Open protocol (not manufacturer specific) Supports a multiplicity of metrics (distance, delay etc.) ynamic algorithm for fast adjustment to changing conditions in the network Load sharing between redundant links Supports hierarchical systems ontains security mechanisms to protect routers from wrong routing ormation or attacks Three types of connections are supported: - Point-to-point links between routers - roadcast networks (mostly LNs) - Multi-access networks without broadcasting (e.g. packet switching WNs) OSP The Internet is divided into autonomous systems (S) Very large autonomous systems are divided in areas ach autonomous system has a backbone, which connects all parts of the S very router, which belongs to two or more areas, is part of the backbone Within these areas every router has the same link state database and implements the same algorithm for determination of the shortest path router, which connect two areas, needs the link state databases from both areas OSP distinguishes four router classes (for reducing the extent of routing tables): - Internal routers, which only belong to one area - rea routers at the border of areas, which connect two or more areas - ackbone routers, which are placed at the backbone - S border routers, which mediate between several autonomous systems Page 7 Page 8

OSP xternal Gateway Protocol - GP S S ackbone ackbone router rea Relationship between autonomous systems, backbones and areas in OSP Internal gateway protocols are designed for efficiency: find the best way to the destination host. xternal gateway protocols must have to consider policies (political, economical, ) Internal router S S xternal protocols connect the autonomous systems order router of the autonomous system rea router GP - order Gateway Protocol n external routing protocol Variant of the istance Vector Protocol: not the costs of a transmission path are being monitored and exchanged, but the complete description of paths onsiders security and other rules (Routing Policies) ommunicates the neighbor routers the whole path which is to be used (deterministically) Uses TP for data exchange Page 9 Page 7 xternal Gateway Protocol - GP hoke Messages ssumption: uses G to reach I G J H Information sent to receives the following ormation about from its neighbors : from : I use from G: I use G from I: I use IG from : I use G searches for the optimal route Paths of I and are directly discarded, because they cross and G are possible options pplication of Policies Routes, which violate policies, are being set to Routers can also exchange control ormation. y means of a so-called hoke Message a router can instruct other routers to send less data. xample: Router is overloaded and instructs to send fewer data. The message is sent back to the source. reduces its data amount. Variant: each crossed router directly reduces its data amount. hoke hoke hoke Page 7 Page 7