What is a router? A router is a device that connects multiple computers together. Not to be confused with a switch Routers transmit packets of data across.

Slides:



Advertisements
Similar presentations
Network Layer – Routing 2 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Advertisements

Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer The service should be independent of the router.
RD-CSY /09 Distance Vector Routing Protocols.
Routing.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
1 Computer Networks Routing Algorithms. 2 IP Packet Delivery Two Processes are required to accomplish IP packet delivery: –Routing discovering and selecting.
Chapter 27 Q and A Victor Norman IS333 Spring 2015.
Layer-3 Routing Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is.
Routing. A world without networks and routing  No connection between offices, people and applications  Worldwide chaos because of the lack of centralized.
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
Chapter 12 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Read a routing table  Configure a static route 
Routing Concepts Warren Toomey GCIT. Introduction Switches need to know the link address and location of every station. Doesn't scale well, e.g. to several.
Introduction to Routing and Routing Protocols By Ashar Anwar.
Review: routing algorithms. –Choose the appropriate paths. –Routing algorithms Flooding Shortest path routing (example). –Dijkstra algorithm. –Bellman-Ford.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
1 3-Oct-15 Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
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.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.
ITI-510 Computer Networks ITI 510 – Computer Networks Meeting 3 Rutgers University Internet Institute Instructor: Chris Uriarte.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
Distance Vector Routing Protocols Dynamic Routing.
Cisco Systems Networking Academy S2 C 11 Routing Basics.
(How the routers’ tables are filled in)
Routing Protocols Brandon Wagner.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
RIP Routing Protocol. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Spring Routing: Part I Section 4.2 Outline Algorithms Scalability.
Network Layer (2). Review Physical layer: move bits between physically connected stations Data link layer: move frames between physically connected stations.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
Chapter 11 Routing. Objectives Routing BasicsRouting Basics Why Routing Protocols are NecessaryWhy Routing Protocols are Necessary Distance-Vector RoutingDistance-Vector.
Distance Vector and Link State Routing Pragyaditya Das.
Prof. Alfred J Bird, Ph.D., NBCT Office – Science 3rd floor – S Office Hours – Monday and Thursday.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607 Office Hours – Monday 3:00 to 4:00 and.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
Network Layer.
Dynamic Routing Protocols part2
(How the routers’ tables are filled in)
What Are Routers? Routers are an intermediate system at the network layer that is used to connect networks together based on a common network layer protocol.
Routing Protocols and Concepts
COMP 3270 Computer Networks
Link-State Routing Protocols
Routing Information Protocol (RIP)
Chapter 5 Network and Transport Layers
Network Components.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing: Distance Vector Algorithm
Routing.
Dynamic Routing Protocols part2
Link-State Routing Protocols
Intradomain Routing Outline Introduction to Routing
CS 640: Introduction to Computer Networks
Introduction To ROUTING PROTOCOLS
ECE453 – Introduction to Computer Networks
Link-State Routing Protocols
Communication Networks
Communication Networks
CCE1030 Computer Networking
Distance Vector Routing
Network Layer.
Computer Networks Protocols
Routing.
OSPF Protocol.
Presentation transcript:

Routers IP – V4 and V5 Routing Information Protocol (RIP) Open shortest path first (OSPF)

What is a router? A router is a device that connects multiple computers together. Not to be confused with a switch Routers transmit packets of data across different networks whilst switches can only transmit packets of data across the same network.

IP addresses An identifier assigned to each computer on a network. This address is logical and dynamic (it can change and does not physically tell you where the computer is)

Routing tables Every router on a network will build a table of possible routes to other machines. This table is known as the routing table. These tables are used to route traffic across a computer network.

RIP – Routing information protocol RIP is a routing protocol for exchanging routing tables between routers. Routers share their tables with each other so that they know where to pass packets of information. RIP looks for the route that requires the least amount of “Hops”. You add a “hop” for each device that a packet passes through at layer 3 of the OSI model. Each router in a network will share part of its routing table during periodic updates (about every 30 seconds). Only the neighbours are sent the updates.

RIP – hop count RIP uses hop counts to determine the best possible route. This may mean that at times packets of data are sent down slower routes. This is due to the fact the number of hops is usesed and not speed or time. Rip will discard any packet that takes more than 15 hops

RIP - Timers Rip makes use of timers to ensure everything works. These include… + Routing update timer Every 30 sends routing table updates are shared (A small random number is added to the 30- seconds to reduce collisions) + route timeout A packet can not travel indefinitely. After a set amount of time the packet is discarded and considered “timeout” + Route-flush timer After a predetermined amount of time the route in the table is “flushed”. A timer deletes the route after a set amount of time to ensure bad routes are not maintained.

RIP RIP is normally only useful for small networks. It does not scale well as it uses a maximum of 15 hops It does not react fast to topology updates (slow convergence) It uses large amounts of update packets

Open Shortest Path First (OSPF) As with RIP OSPF allows routes to build routing tables that indicate which route a packet of information should take. Like RIP routers will share OSPF data about the routes that have been learned. OSPF routers rely on cost to compute the shortest path through the network between themselves and other network detestations. The cost for OSPF is not based solely on “hops” built can be used based on connection speeds or reliability. Every router in an OSPF has a full picture of its “Area”. New updates are sent within seconds rather than waiting for routes to expire. It uses Dijkstra’s algorithm to determine the weight of each route to react when new pathways are added.

Dijkstra’s Algorithm A Level Only We use Dijkstra’s shortest path algorithm to help us find the shortest path between vertices in a weighted graph. a b c d e f g h 12 9 8 14 4 3 5 © ZigZag Education, 2016

The distance is only updated if a shorter route is found. Worked Example A Level Only We start by finding the distance from the starting vertex (A) to its neighbours. Next we repeat the process with the vertex with the shortest distance from the starting vertex. The distance is only updated if a shorter route is found. Node Shortest Distance Previous Node A B C D E F G A a 4 f B 5 A 5 e g C 5 G 3 5 4 D 9 C 2 5 3 E 7 G b c d F 4 A 3 4 G 3 A © ZigZag Education, 2016

Common Uses A Level Only There are a number of uses for the shortest path algorithm. Finding the shortest route to drive between two addresses. Finding the shortest route for packets to take between two devices in a network. 10587521 © ZigZag Education, 2016