1 Routing. 2 Routing is the act of deciding how each individual datagram finds its way through the multiple different paths to its destination. Routing.

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts – Chapter.
Advertisements

Mod 10 – Routing Protocols
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Routing.
Chapter 27 Q and A Victor Norman IS333 Spring 2015.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Routing in the Internet Internal Routing Protocols.
OSPF To route, a router needs to do the following: Know the destination address Identify the sources it can learn from Discover possible.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.
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.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Dr. John P. Abraham Professor University of Texas Pan American Internet Routing and Routing Protocols.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Interior Gateway Protocols: RIP & OSPF
Introduction to Routing and Routing Protocols By Ashar Anwar.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Sybex CCENT Chapter 8: IP Routing Instructor & Todd Lammle.
Routing and Routing Protocols Routing Protocols Overview.
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 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 6 Routing and Routing Protocols.
Introduction to Dynamic Routing Protocol
Routing -2 Dynamic Routing
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
1 Chapter Overview Routing Principles Building Routing Tables.
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:
10/8/2015CST Computer Networks1 IP Routing CST 415.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 6 Delivery and Routing of IP Packets.
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.
Institute of Technology Sligo - Dept of Computing Sem 2 Chapter 12 Routing Protocols.
Netprog: Routing and the Network Layer1 Routing and the Network Layer (ref: Interconnections by Perlman)
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
Routing and Routing Protocols
1 Version 3.1 Module 6 Routed & Routing Protocols.
1 Kyung Hee University Chapter 6 Delivery Forwarding, and Routing of IP Packets.
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
© 2002, Cisco Systems, Inc. All rights reserved..
 RIP — A distance vector interior routing protocol  IGRP — The Cisco distance vector interior routing protocol (not used nowadays)  OSPF — A link-state.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Routing Algorithms Lecture Static/ Dynamic, Direct/ Indirect, Shortest Path Routing, Flooding, Distance Vector Routing, Link State Routing, Hierarchical.
1 © 2004, Cisco Systems, Inc. All rights reserved. Routing and Routing Protocols: Routing Static.
Prof. Alfred J Bird, Ph.D., NBCT Office – Science 3rd floor – S Office Hours – Monday and Thursday.
Sem 2 v2 Chapter 12: Routing. Routers can be configured to use one or more IP routing protocols. Two of these IP routing protocols are RIP and IGRP. After.
+ Dynamic Routing Protocols 2 nd semester
Kapitel 19: Routing. Kapitel 21: Routing Protocols
Introduction to Dynamic Routing Protocol
Routing and Routing Protocols: Routing Static
COMP 3270 Computer Networks
Chapter 6 – Routing.
Introduction to Networking
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Troubleshooting IP Addressing
Chapter 5 Network and Transport Layers
Routing.
Routing and Routing Protocols: Routing Static
Delivery and Routing of IP Packets
After 3.2 Revised
Routing and the Network Layer (ref: Interconnections by Perlman
CCE1030 Computer Networking
Routing.
Presentation transcript:

1 Routing

2 Routing is the act of deciding how each individual datagram finds its way through the multiple different paths to its destination. Routing is concerned with finding the right network for a datagram. Once the right network has been found the datagram can be delivered to the host. Most hosts (and gateways) on the Internet maintain a routing table. The entries in the routing table contain the information describing where to send datagrams for a particular network.

3 One Example Network Host A’s routing table

4 Packet Forwarding netstat -rn shows the routing table for a given host. At a minimum, it describes routing to the machine’s own network and the machine itself. These entries exist so that forwarding to directly connected networks need not be handled as a special case. It also has a default route, which is used when the target network is not found in the routing table.

5 Internet Control Message Protocol The principal ICMP message types. 5-61

6 Illustration Of ICMP Message Encapsulation Two levels of encapsulation IP type field specifies ICMP

7 ICMP Redirects Although IP generally does not concern itself with the management of routing information, it does define a small damage control feature called ICMP redirect. When a router forwards a packet to a machine on the same network from which the packet was originally received, something is clearly wrong. Since the sender, the router and the nexthop router are all on the same network, the packet could have been forwarded in one hop rather than two. In this situation, the router notifies the sender a ICMP redirect packet, which in turn will enter a host route into its routing table.

8 Routing Daemons and Protocols When networks become too complicated, it becomes hard to manage routing tables manually. The routing daemons and routing protocols can be used to manage the networks. Routing protocols have a major advantage over static routing systems in that they can react and adapt to changing network conditions. If a link goes down, the routing daemons can quickly discover and propagate alternate routes to the networks that link served, if any exist.

9 Routing Daemons and Protocols Routing daemons collect information from three sources: configuration files, the existing routing tables and routing daemons on other systems. This information is merged to compute an optimal set of routes, and the new routes are then fed back into the system routing table. Because network conditions change over time, routing daemons must periodically check in with each other to make sure that the routing information is current.

10 Routing Protocols There are two types of protocols that are used commonly. –Distance vector protocol A machine announces how far it thinks it is from the network. If no one knows any better, they figure that you are the best gateway. –Link state protocol information is distributed in a relatively unprocessed form. Each router computes its own routing table.

11 RIP This is the protocol used by routed. RIP is a simple distance-vector protocol that uses hop counts as a cost metric. Therefore, large local networks that have more than 15 routers along any single path cannot use the RIP protocol. Although RIP is a resource hog because of its broadcasting, it is good for a network that changes often or when the topology of remote networks is not know. However, it can be slow to stabilize after a link goes down.

12 RIP-2 and OSPF This is a revision of RIP, where the most important change is that netmasks along with next-hop addresses are provided. Open shortest path first is a link-state protocol.

13 OSPF – The Interior Gateway Routing Protocol (a) An autonomous system. (b) A graph representation of (a).

14 OSPF (2) The relation between ASes, backbones, and areas in OSPF.

15 OSPF (3) The five types of OSPF messages. 5-66

16 routed This is the standard UNIX routing daemon. routed can be run in server mode or in quite mode. Both modes listen for broadcasts, but only servers distribute their own information. routed adds its discovered routes to the kernel’s routing table. Routes must be heard at lest every four minutes or they will be removed. It knows the routes that it adds and does not remove any routed added with the route command.

17 Routing Strategy Routing for a network can be managed in many ways: –no routing a stand-alone network –static routes only If there is only one way out of a network –mostly static routes, but clients listen for RIP updates If you have several gateways, some to specific networks and some to the outside –dynamic routing everywhere when networks cross political or administrative boundaries