An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.

Slides:



Advertisements
Similar presentations
Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
Advertisements

Path Vector Routing NETE0514 Presented by Dr.Apichan Kanjanavapastit.
© J. Liebeherr, All rights reserved 1 Border Gateway Protocol This lecture is largely based on a BGP tutorial by T. Griffin from AT&T Research.
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
Chapter 11 Unicast Routing Protocols
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
Unicast Routing Protocols: RIP, OSPF, and BGP
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
Unicast Routing Protocols: RIP, OSPF, and BGP
Routing.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is.
TCP/IP Protocol Suite1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Chapter 14 Routing Protocols (RIP, OSPF, and BGP)
Delivery, Forwarding and
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Code : STM#520-1 Samsung Electronics Co., Ltd. OfficeServ7400 Router Operation Distribution EnglishED01.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 13 Routing Protocols (RIP, OSPF, BGP)
Routing in the Internet The Global Internet consists of Autonomous Systems (AS) interconnected with eachother: Stub AS: small corporation Multihomed AS:
資 管 Lee Lesson 10 RIP, OSPF, and BGP. 資 管 Lee Routing in Internet An internet is divided into autonomous systems. An autonomous system(AS) is a group.
1 Chapter 14 Routing Protocols (RIP, OSPF, and BGP) Chapter 14 Routing Protocols (RIP, OSPF, and BGP) Mi-Jung Choi Dept. of Computer Science and Engineering.
Border Gateway Protocol (BGP) W.lilakiatsakun. BGP Basics (1) BGP is the protocol which is used to make core routing decisions on the Internet It involves.
Link State Routing NETE0521 Presented by Dr.Apichan Kanjanavapastit.
Network Layer4-1 Intra-AS Routing r Also known as Interior Gateway Protocols (IGP) r Most common Intra-AS routing protocols: m RIP: Routing Information.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
7400 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. -0/35- OfficeServ 7x00 Enterprise IP Solutions Quick Install Guide.
22.1 Chapter 22 Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 14 1 Unicast Routing Protocols There isn’t a person anywhere that isn’t capable of doing more than he thinks he can. - Henry Ford.
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
1 Kyung Hee University Chapter 11 Unicast Routing Protocols (RIP, OSPF, and BGP)
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
(How the routers’ tables are filled in)
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Ch 22. Routing Direct and Indirect Delivery.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is referred.
Inter-domain Routing Outline Border Gateway Protocol.
1. 2  An autonomous system is a region of the Internet that is administered by a single entity.  Examples of autonomous regions are:  UVA’s campus.
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Chapter 4: Network Layer
Chapter 14 Routing Protocols (RIP, OSPF, and BGP)
(How the routers’ tables are filled in)
9 Network Layer Part VI Computer Networks Tutun Juhana
Border Gateway Protocol
Routing Information Protocol (RIP)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Chapter 4: Network Layer
Net 323 D: Networks Protocols
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Routing.
Net 323 D: Networks Protocols
Chapter 13 Routing Protocols (RIP, OSPF, and BGP)
Chapter 11 Unicast Routing Protocols (RIP, OSPF, and BGP)
Chapter 13 Routing Protocols (RIP, OSPF, and BGP)
Chapter 4: Network Layer
Chapter 4: Network Layer
Chapter 4: Network Layer
Computer Networks Protocols
Routing.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many routers until it reaches the router attached to the destination network.

 In distance vector routing, the least cost route between any two nodes is the route with minimum distance. In this protocol each node maintains a vector (table) of minimum distances to every node.  Updates are send to directly connected neighbors only.

 The Routing Information Protocol (RIP) is an intra-domain (interior) routing protocol used inside an autonomous system. It is a very simple protocol based on distance vector routing. RIP implements distance vector routing directly with some considerations.

Periodic timer It controls the advertising of regular update message (25 ~ 30 sec). Expiration timer It governs the validity of a route (180 sec) The route is considered expired and the hop count of the route is set to 16. Garbage collection timer A invalid route is not purged from the routing table until this timer expires (120 sec).

 Route tag (autonomous system number) able receiving information from inter domain routing protocol.  Support classless addressing and CIDR (classless interdomain routing).  Authentication prevent from unauthorised advertisement.

 RIP messages are encapsulated with UDP Datagram.  Port assign to rip in UDP is 520.

 RIP treat all network as equal.  Periodic timer is of short time.  Not for large network.(infinity at 16).

Link state routing has a different philosophy from that of distance vector routing. In link state routing, if each node in the domain has the entire topology of the domain—the list of nodes and links, how they are connected including the type, cost (metric), and the condition of the links (up or down)—the node can use the Dijkstra algorithm to build a routing table. Updates are send to entire network.ie network have visibility of entire network of that area.

 The Open Shortest Path First (OSPF) protocol is an intradomain routing protocol based on link state routing. Its domain is also an autonomous system.

 A collection of networks with area ID  Routers inside an area flood the area with routing information  Area border routers summarize the information about the area and send it to other areas  Backbone area and backbone routers  All of the area inside an AS must be connected to the backbone

 Administrator assign cost to each route.  Cost based on types of services.(minimum delay,maximum throughput etc).  1 router can have many routing tables based on different types of service.

 Network mask :defines network mask over which hello message is send.  Hello interval : seconds between hello messages.  E Flag : if set then stub area.  T Flag : if set then router support multiple metric.  Priority : highest priority router chosen as designated router.  Dead interval : seconds must pass before neighbor is consider dead.  Neighbor routing address : Current list of all the neighbours from which the sending router has received the hello message.

 OSPF packets encapsulated in IP Datagram.

RIPOSPF  Keeps only track of closest router for each destination address.  It is simpler,older,easy to configure,uses less CPU.  Only metric used is hope count.  Can be used in small business needs.  Uses tree to keep track of entire paths.  More overhead.Provide more options,better,faster reaction time to faliure (convergence).  Build cost according to router’s services.  Widely used for business enterprises & isp’s.

 When the domain of operation becomes large?  Distance vector routing is subject to instability if there is more than a few hops in the domain of operation.  Link state routing needs a huge amount of resources to calculate routing tables. It also creates heavy traffic because of flooding.  Need for a third routing protocol.

 Path vector routing is similar to distance vector routing. There is at least one node, called the speaker node, in each AS that creates a routing table and advertises it to speaker nodes in the neighboring ASs..

 Speaker node : a node working on behalf of complete AS.A speaker node advertises the path, not the metric of the nodes, in its AS or other ASs.  Initialization : At beginning each speaker node can only the reachability of nodes inside its autonomous system.

Sharing –A speaker in an AS shares its table with immediate neighbors Updating –Adding the nodes that are not in its routing table and adding its own AS and the AS that sent the table –The routing table shows the path completely

 Border Gateway Protocol (BGP) is an interdomain routing protocol using path vector routing. It first appeared in 1989 and has gone through four versions.

Stub AS – Only one connection to another AS (only a source or sink for data traffic) eg small local ISP. Multihomed AS – More than one connection to other AS, but it is still only a source or sink for data traffic. Eg large corporation connecting regional AS. Transit AS – Multihomed AS that also allows transient traffic eg national and international isp’s

Well Known Mandatory attributes - ORIGIN – The source of the routing information (RIP, OSPF, etc) AS_PATH – The list of ASs through which the destination can be reached NEXT-HOP – The next router to which the data packet should be sent  Optional attribues  Optional transitive  Optional non transitine

 Open : to create neighbor relationship (open tcp connection).  Update : it is used by a router to withdraw destination that are previously advertised, announce a route to new destination or both.  Keep alive : regularly send by routers to confirm that they are alive or send in response of open message.  Notification : send when there is error or router want to close the connection.

 Once opened the connection update, keepalive and notification messages is continued until cease notification is sent.  BGP uses services of tcp on port 179.