COMP 3270 Computer Networks

Slides:



Advertisements
Similar presentations
1 Chapter 22 Network layer Delivery, Forwarding and Routing.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Routing So how does the network layer do its business?
Unicast Routing Protocols: RIP, OSPF, and BGP
Delivery, Forwarding, and Routing
MULTICASTING Network Security.
Chapter 27 Q and A Victor Norman IS333 Spring 2015.
INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is.
NETWORK LAYER (2) T.Najah AlSubaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Routing and Routing Protocols Routing Protocols Overview.
Introduction to Dynamic Routing Protocol
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
1 Routing Table  The seven fields Mask: for finding (sub)network address of the destination l Host-specific routing: (/32) l Default routing:
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
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.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
Routing protocols. Static Routing Routes to destinations are set up manually Route may be up or down but static routes will remain in the routing tables.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
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.
Chapter 20 Unicast Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Ch 22. Routing Direct and Indirect Delivery.
1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is referred.
Prof. Alfred J Bird, Ph.D., NBCT Office – Science 3rd floor – S Office Hours – Monday and Thursday.
22.1 Network Layer Delivery, Forwarding, and Routing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Kapitel 19: Routing. Kapitel 21: Routing Protocols
Lec4: Introduction to Dynamic Routing Protocol
Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
Computer Networks Routing Algorithms.
Теми: Routing Concepts Static Routing Dynamic Routing
Routing Protocols (RIP, OSPF, and BGP)
(How the routers’ tables are filled in)
Routing and Routing Protocols: Routing Static
TODAY’S TENTATIVE AGENDA
Chapter 6 Delivery & Forwarding of IP Packets
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Distance Vector Routing
Net 323 D: Networks Protocols
Delivery, Forwarding, and Routing
Introduction to Internet Routing
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Introduction to Dynamic Routing Protocol
Routing.
UNIT III ROUTING.
(How the routers’ tables are filled in)
Delivery, Forwarding, and Routing
Routing and Routing Protocols: Routing Static
Introduction to Dynamic Routing Protocol
Dynamic Routing Protocols
Delivery and Routing of IP Packets
UNICAST ROUTING PROTOCOLS
Routing Protocols (RIP, OSPF, BGP).
After 3.2 Revised
Introduction To ROUTING PROTOCOLS
Dynamic Routing Protocols
Chapter 22. Network Layer: Routing
Delivery, Forwarding, and Routing
Working at a Small-to-Medium Business or ISP – Chapter 6
COMPUTER NETWORKS CS610 Lecture-41 Hammad Khalid Khan.
EE 122: Intra-domain routing: Distance Vector
Computer Networks Protocols
Routing.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
OSPF Protocol.
Presentation transcript:

COMP 3270 Computer Networks Routing COMP 3270 Computer Networks Computing Science Thompson Rivers University

Learning Objectives Update the routing table after a RIP router receives the routing information from a neighbor RIP router. Understand the motivations of Link State Routing and Path Vector Routing.

UNICAST ROUTING PROTOCOLS A routing table can be either static or dynamic. A static table is one with manual entries. A dynamic table is one that is updated automatically when there is a change somewhere in the Internet. [Q] How? A routing protocol is a combination of rules and procedures that lets routers in the Internet inform each other of changes. Topics discussed in this section: Autonomous Systems Intra- and Inter-domain Routing Distance Vector Routing and RIP Link State Routing and OSPF Path Vector Routing and BGP

Autonomous Systems An Autonomous System (AS) is a collection of connected Internet Protocol (IP) routing prefixes (i.e., address blocks) under the control of one or more network operators that presents a common, clearly defined routing policy to the Internet. [Q] What is the definition of the Internet? Another definition of the Internet with ASes: The internet is a network of ASes. AS-1 AS-2 AS-N

Intra- and Interdomain Routing The Internet of autonomous systems Border gateways At a router, When the destination of a packet is in another AS, Packet forwarding using default routing entry, up to a border gateway. When the destination of a packet is in the same AS, Packet forwarding using network specific routing entry to the destination host. At a border gateway, Forwarded to another border gateway, or Forwarded to a router in the same AS OSPF RIP BGP OSPF BGP BGP RIP

Popular routing protocols i.e., within an AS i.e., between ASes (Routing Information Protocol) (Open Shortest Path First) (Border Gateway Protocol)

 How to update routing tables? Distance Vector Routing Algorithm Initialization of routing tables  How to update routing tables?

In distance vector routing, each node shares its routing table with its immediate neighbors periodically and when there is a change, i.e., exchange routing tables between immediate neighbors.

 The cost between A and C ? Updating  The cost between A and C ? 1. Add the cost (cost 2 between A and C in this example) to the cost for each advertised destination. 2. Repeat the following steps for each advertised destination: If (destination is not in the routing table) Add the advertised information to the table. Else If (next-hop field is the same) Replace entry in the table with the advertised one. If (advertised hop count smaller than one in the table) Replace entry in the routing table. 3. Return.

RIP uses cost 1 for any link. Another example of RIP (Routing Information Protocol) that uses DVR algorithm RIP uses cost 1 for any link.

Link State Routing Algorithm Concept of link state routing – OSPF (Open Shortest Path First) Link state information of each router is transmitted to all the other routers. After each router builds up the topology for the network, the router runs the Dijkstra’s shortest path algorithm to build up the routing table.

Path Vector Routing Algorithm Initial routing tables in path vector routing – BGP (Border Gateway Protocol) BGP between border gateways, i.e., between ASes. (Path information, not cost, is exchanged.)

Stabilized tables for three autonomous systems (AS1) (AS2) (AS3) (AS4) Packets from A1 to D4 does not go through AS1 – AS3 – AS4 that looks like a short cut.