Distance Vector Routing

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
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.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
Delivery, Forwarding, and Routing
Routing Protocol Pertemuan 21 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Chapter 27 Q and A Victor Norman IS333 Spring 2015.
Delivery, Forwarding and
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
1 Chapter 22 Network layer Delivery, Forwarding and Routing (part2)
Dr. Clincy1 Chapter 6 Delivery & Forwarding of IP Packets Lecture #4 Items you should understand by now – before routing Physical Addressing – with in.
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.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
TCP/IPTCP/IP Dr. Clincy1 Chapter 6 Delivery & Forwarding of IP Packets.
(How the routers’ tables are filled in)
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Routing Protocols COSC 541 Data Commun. System & Networks Yue Dou.
Cisco 2 - Routers Perrine modified by Brierley Page 13/21/2016 Chapter 4 Module 6 Routing & Routing Protocols.
© 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.
Network Layer Routing Networks: Routing.
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
Chapter 6 Delivery & Forwarding of IP Packets
CMPT 371 Data Communications and Networking Routing in the Internet
Routing Protocols (RIP, OSPF, and BGP)
(How the routers’ tables are filled in)
(How the routers’ tables are filled in)
Routing Information Protocol (RIP)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
COMP 3270 Computer Networks
TODAY’S TENTATIVE AGENDA
Chapter 6 Delivery & Forwarding of IP Packets
Chapter 6 Delivery & Forwarding of IP Packets
Net 323 D: Networks Protocols
Routing: Distance Vector Algorithm
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Working at a Small-to-Medium Business or ISP – Chapter 6
Introduction to Dynamic Routing Protocol
Routing.
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Chapter 6 Delivery & Forwarding of IP Packets
(How the routers’ tables are filled in)
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Delivery, Forwarding, and Routing
Introduction to Dynamic Routing Protocol
Dynamic Routing Protocols
Will Review Exam 3 Dr. Clincy Lecture.
UNICAST ROUTING PROTOCOLS
Routing Protocols (RIP, OSPF, BGP).
After 3.2 Revised
Network Layer Routing Networks: Routing.
Dynamic Routing Protocols
Chapter 22. Network Layer: Routing
Communication Networks
Working at a Small-to-Medium Business or ISP – Chapter 6
COMPUTER NETWORKS CS610 Lecture-41 Hammad Khalid Khan.
Chapter 4: Network Layer
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Computer Networks Protocols
Routing.
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Chapter 6 Delivery & Forwarding of IP Packets
Presentation transcript:

Distance Vector Routing Chapter 12 Remainder of Ch 12 Distance Vector Routing Section: 12.6.7, Pages 726-733 Dr. Clincy

(How the routers’ tables are filled in) Unicast Routing Protocols (RIP, OSPF, BGP) (How the routers’ tables are filled in) Dr. Clincy

Explain how a router uses a routing table when a packet arrives ? Before Starting Explain how a router uses a routing table when a packet arrives ? Dr. Clincy

Routing Protocols At this stage, we understand how a router uses a routing table in making a next hop decision However, what dictates HOW the routing tables are filled in ? Tables are concerned about the next hop only What’s responsible for looking across the entire path or route – what makes the decision of the best route ? Routing Protocols and Algorithms are used Routing protocols allow routers to share info with one another dynamically - as the Internet makes changes, the routing protocols allow routers to inform other routers Routers communicate to their neighboring routers - gossip Routing protocols implement the procedures for combining info received from other routers Routing Algorithms – decision making analysis – the “brains” – using the info provided Dr. Clincy

Autonomous systems Because the Internet is so large, one protocol cannot handle all of the updating of tables – create groups and networks and routers called Autonomous Systems Routing within the autonomous system is called “interior routing” Routing between the autonomous systems is called “exterior routing” NOTE: different interior routing protocols can be used for each autonomous systems HOWEVER, only one exterior routing protocol is used R1, R2, R3 and R4 use an interior and exterior routing protocol – all other routers only use an interior routing protocol Dr. Clincy

How does it work ? Tx Rx A certain “cost” or “metric” is assigned each network In figuring out the best route from Tx to Rx, the set of networks with the smallest sum is chosen More generically, the set of networks best meeting the “metric’s” objective is chosen If #hops was the metric, we would want to traverse the least number of networks in going from Tx to Rx If max throughput was the metric, a fiber optic network would have a better metric than a coaxial network. Dr. Clincy

Explain routing using your street/highway analogy Autonomous systems Default routing Dr. Clincy

Popular Unicast Routing protocols RIP – Routing Information Protocol – treats each network the same (assigns the same cost for each network) OSPF – Open Shortest Path First protocol – assigns a cost for passing through a network based on the type of service required – routes through the network can have different cost – each router would have several tables BGP – Border Gateway Protocol – is an exterior routing protocol that uses a policy that defines what paths should be chosen Dr. Clincy

RIP Algorithm Recall: each router sends message to it’s neighbor Distance Vector Algorithm built from Bellman-Ford Algorithm Recall: each router sends message to it’s neighbor For the router receiving a RIP response 1st – add one to hop count for each destination advertised 2nd – repeat the following steps for each advertised destination 1. If destination is not in table add destination to table 2. Else if destination is in table 1. If next-hop field is the same replace entry in table with advertised one 2. Else next-hop different replace entry if advertised hop count is less Dr. Clincy

Explain RIP in Simple English Dr. Clincy

Example RIP Algorithm Router receives RIP message for some router C The RIP message list destination networks, corresponding hop count and next hop (not listed in diagram) 1st step: increment hop count Net1: no news, don’t change Net2: same next hop, so replace 2 with 5 Net 3: new router, so add Net 6: different next hop, new hop count less, so replace Net 8: different next hop, new hop count the same, don’t change Net 9: different next hop, new hop count larger, do not change Dr. Clincy

Initial routing tables in a small autonomous system Initial tables are created from config file (and hop counts are set to 1) – next hop fields are empty initially because all networks are directly connected Dr. Clincy

Final routing tables for the previous figure For example, suppose packet hitting Router A first had a destination of Net 66 ? Dr. Clincy