CS 453 Computer Networks Lecture 24 IP Routing. See…

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

Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 22 Omar Meqdadi Department of Computer Science and Software Engineering University.
Courtesy: Nick McKeown, Stanford
© 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.
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination Network layer must.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
Mod 10 – Routing Protocols
CCNA 2 v3.1 Module 6.
Routing and Routing Protocols
Routing.
14 – Inter/Intra-AS Routing
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination. The network layer.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
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)
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
1 CS 4396 Computer Networks Lab Dynamic Routing Protocols - II OSPF.
Introduction to Routing and Routing Protocols By Ashar Anwar.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
Routing and Routing Protocols Routing Protocols Overview.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
CCNA 1 Module 10 Routing Fundamentals and Subnets.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
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.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
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:
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.
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.
Copyright 1999, S.D. Personick. All Rights Reserved. Telecommunications Networking II Lecture 34 Routing Algorithms Ref: Tanenbaum pp ;
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
6: Routing Working at a Small to Medium Business.
Routing and Routing Protocols
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
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.
1 Version 3.1 Module 6 Routed & Routing Protocols.
4: Network Layer4b-1 OSPF (Open Shortest Path First) r “open”: publicly available r Uses Link State algorithm m LS packet dissemination m Topology map.
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.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
Routing and Routing Protocols PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
© 2002, Cisco Systems, Inc. All rights reserved..
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Routing Protocols Brandon Wagner.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
Routing Protocols COSC 541 Data Commun. System & Networks Yue Dou.
1 Chapter 14-16a Internet Routing Review. Chapter 14-16: Internet Routing Review 2 Introduction Motivation: Router performance is critical to overall.
Cisco 2 - Routers Perrine modified by Brierley Page 13/21/2016 Chapter 4 Module 6 Routing & Routing Protocols.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
© 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 and Routing Protocols CCNA 2 v3 – Module 6.
Network Layer Routing Networks: Routing.
Working at a Small-to-Medium Business or ISP – Chapter 6
Computer Networks Routing Algorithms.
COMP 3270 Computer Networks
Dynamic Routing Protocols part2
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing.
Network Layer Routing Networks: Routing.
Working at a Small-to-Medium Business or ISP – Chapter 6
Computer Networks Protocols
Routing.
CCNA 2 JEOPARDY Module 6.
Network Layer Routing.
Presentation transcript:

CS 453 Computer Networks Lecture 24 IP Routing

See…

Routing In layer 1 and layer 2 we, logically and conceptually anyway, treated communications links as point-to-point… While that was not technically true is a viable was to organize networks because The layer hardware and protocols took care of the point-to-pointness for us

Routing Remember that the Internet is a network of networks… … of autonomous networks (or automous systems – we get back to this idea later)… With a conglomerations of networks – layer 3) we introduce … A number of new issues and complications

Routing Notably – paths and routes Recall one of the principles of the internet is that … Any node is reachable (in principle) from any other node

Routing Our packets and messages must be able to navigator through an immensely complete irregular mesh of nodes and links to get from A to B But A and B don’t know how to do this …so in reality the packets and message are navigated through the network… …by the network This is Routing

Routing Devices (routers) within the network are waypoints for messages… …and must make decisions about the “best” path to get the messages from A to B… … and, then, move the messages along that path

Routing Routing is the job of moving message across the network…..by the routers A B How to get from A to B?

Routing It can get very complex How many routes Which one to use A B

Routing Non-adaptive Routing (Static Routing) Routes from any source to any destination… Predefined Fixed Established when routers boot Does reflect router/link failures, loads, etc

Routing Adaptive Routing Routes are dynamic Routers “teach” other routers routes Routers swap routing information to reflect changes in available routes, down links, …many other things

Routing Shortest Path Routing Conceptualize a network as an undirected graph (easy to do!) Better yet, a weighted undirected graph Shortest Path algorithm finds the short path through this graph from A to B Shortest, that is distance can be defined in a number of ways Hops, physical distance, delay, etc. Such metrics are the weights Most common: Dijkstra’s Shortest Path Algorithm

Routing Flooding Algorithm Router sends message out on every port except the one that it came in on – concurrently So, the same message “flying” on every route but one Selective routing – flood routes that make sense …all routes to Europe, rather than all routes

Routing Flooding Algorithm Very inefficient Wastes a lot of bandwidth Resilient Good for high failure networks Military – combat deployments Catastrophe deployment

Routing Distance Vector Routing Algorithms Bellman-Ford algorithm Each router maintains a table of routes Initially each router table has entry or each neighbor and distance to that neighbor Periodically each router swaps with its neighbor all of the routes and distances to every location that it knows about

Routing Distance Vector Routing Algorithms Over time, due to this swapping, each router builds and maintains a table of routes and distances to all destinations Networks changes (link or router failures) are reflected in these route swaps “Distance” in this algorithm can be any defined network metric Hops, delay, cost,…

Routing Distance Vector Routing Algorithms From: Tanenbaum (2003) pg. 358

Routing Count-to-infinity problem ABCD Consider – each link = 1 hop B has message for A – distance = 1 A-B link goes down, B knows this and looks for another route to A B has route to C and C has route to A – distance 2 + 1(from B)… So update the routing table in B, C, D in this scenario

Routing Link State Algorithms Replaced distance vector routing on Internet in 1979 Each router – Floods the network to discover its neighbors Measures the cost/delay to discovered neighbors Floods network with information about every node it can reach (LSA) Constructs a topology map with this information Calculates shortest path to every router/node in network (Dijkstra’s Shortest Path algorithm

Routing Link State Algorithms Result Tree graph with each router as the root … … and the least cost path to every other node Build a routing table with best next hop for from current node to every other node in network

Routing Each router is responsible for maintaining its own route tables Although it may follow principles, there is no single router or control point responsible for selecting routes In a sense it is like politics All routing is local routing

Routing Hot-potato routing Carrier X Carrier Y 125 ms latency 100 ms latency AC BD 10 ms latency5 ms latency Router A needs to get a packet to Route D What is the best way to get it there? …but…

Routing Internal Gateway Routing Protocol

Routing Remember the idea of Autonomous Systems One of the key principles that makes the Internet work is that it is a network of Autonomous Systems (AS) Issues associated with routing within an AS (interior) are different from routing between AS (exterior)

Routing Intra-AS routing RIP – Routing Information Protocol One the earliest interior routing protocols Distance Vector algorithm Distance = hop count Hops = number of subnets to tranverse to get from source router to destination subnet Hops max limited to 15

Routing Intra-AS routing RIP – Routing Information Protocol DV algorithm – neighbors exchange distance vectors RIP – distance vector messages are called RIP advertisements In RIP – RIP advertisements occur every 30 seconds Collections of RIP information used for routing tables at each router

Routing Intra-AS routing OSPF – Open Shortest Path First protocol OSPF successor to RIP Link-State algorithm Avoids count-to-infinity problem

Routing Intra-AS routing OSPF – Open Shortest Path First protocol OSPF – floods AS with Link State information – Called Link State Advertisements (LSAs) Each router uses LSA to build a complete map (graph) of the AS Router then runs Dijkstra’s Shortest Path algorithm to find shortest to each destination

Routing Intra-AS routing OSPF – Open Shortest Path First protocol AS are organized in to areas Areas have boundary routers to route from one area to another (can have more than one inter area router)

Routing Border Gateway Protocol – BGP Exterior Gateway Routing Protocol Inter- AS routing DV algorithm, except rather than exchanging costs… BGP exchanges complete routes After all paths come in from neighboring routers… BGP router examines them and discards useless ones…

Routing Border Gateway Protocol – BGP OSPF does not consider politics BGP deals with politics …through routing policies

Routing Border Gateway Protocol – BGP …then scores each possible route from x to y Scoring function can be anything… Determined by network administrator

Routing Border Gateway Protocol – BGP See

Routing From: Tanenbaum (2003) pg. 458