Kapitel 19: Routing. Kapitel 21: Routing Protocols

Slides:



Advertisements
Similar presentations
McGraw-Hill © The McGraw-Hill Companies, Inc., 2004 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies,
Advertisements

1 Chapter 22 Network layer Delivery, Forwarding and Routing.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
Routing Basics By Craig Lindstrom. Overview Routing Process Routing Process Default Routing Default Routing Static Routing Static Routing Dynamic Routing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts – Chapter.
© 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.
Mod 10 – Routing Protocols
CS335 Networking & Network Administration Tuesday, May 18, 2010.
Routing and Routing Protocols
Delivery, Forwarding, and Routing
Institute of Technology Sligo - Dept of Computing Chapter 11 Layer 3 Protocols Paul Flynn.
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
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.
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 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 6 Routing and Routing Protocols.
Introduction to Dynamic Routing Protocol
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
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.
The Saigon CTT Semester 1 CHAPTER 11 Le Chi Trung.
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:
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Routing Protocols and Concepts Introduction to Dynamic Routing Protocol.
Institute of Technology Sligo - Dept of Computing Sem 2 Chapter 12 Routing Protocols.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Routing Overview.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 Version 3.1 Module 6 Routed & Routing Protocols.
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.
1 Layer 3: Protocols Honolulu Community College Cisco Academy Training Center Semester 1 Version
© 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.
VCC Semester 1 CHAPTER 11. VCC  Content Layer 3 Devices ARP concept Network layer services Routed and routing protocols Protocol analyzer.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
+ Dynamic Routing Protocols 2 nd semester
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Lec4: Introduction to Dynamic Routing Protocol
Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
Routing Protocols (RIP, OSPF, and BGP)
Routing and Routing Protocols: Routing Static
Forwarding and Routing IP Packets
COMP 3270 Computer Networks
Chapter 6 Delivery & Forwarding of IP Packets
Chapter 4: Routing Concepts
Introduction to Networking
Introduction To Networking
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Troubleshooting IP Addressing
Distance Vector Routing
Introduction to Dynamic Routing Protocol
Routing.
Delivery, Forwarding, and Routing
Routing and Routing Protocols: Routing Static
Introduction to Dynamic Routing Protocol
Dynamic Routing Protocols
After 3.2 Revised
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 4: Planning and Configuring Routing and Switching.
Routing Fundamentals and Subnets
Dynamic Routing Protocols
Working at a Small-to-Medium Business or ISP – Chapter 6
CCE1030 Computer Networking
Routing.
CCNA 2 JEOPARDY Module 6.
Presentation transcript:

Kapitel 19: Routing. Kapitel 21: Routing Protocols

Hosts and Routers The computers in Internet terminology are called hosts. They usually have one NIC (network interface card = network adapter = nätverkskort) Routers are special purpose computers and they have more than one NIC An old name for routers is gateways Forward packets between networks (route and switch) Transform packets as necessary to meet standards for each network A Windows PC can act as a router if it has more than one NIC, and IP forwarding is enabled in the networking settings.

What Does a Router Do? Accepts incoming packets Checks the destination address in the IP header Look up for destination in the forwarding table Sends packet to the appropriate next hop The packet may be dropped if There is no space in the router’s buffers The TTL=0 There is no matching row in the routing table

Forwarding (Routing) Table The forwarding table consists of two columns: “Destination network” and “Next hop”. Destination network is some network address and the next hop is the address of the next router. When the router is connected directly to a network, the “Next hop” is labeled as “Direct” meaning “Directly connected”

Figure 19.29 Network-specific routing

Figure 19.31 Default routing

Default Route In order to make the forwarding table shorter (smaller number of rows) the default route is introduced “Default” or “Else” is a row that points to some “Next hop” and is used whenever a destination is not found in the forwarding table. Hosts send all packets out of their network to the default router (or gateway)

Figure 19.32 Example: Subnet mask based routing table

Example 10 Using the table in Figure 19.32, the router receives a packet for destination 192.16.7.1. For each row, the mask is applied to the destination address until a match with the destination address is found. In this example, the router sends the packet through interface m0 (host specific).

Example 11 Using the table in Figure 19.32, the router receives a packet for destination 193.14.5.22. For each row, the mask is applied to the destination address until a match with the next-hop address is found. In this example, the router sends the packet through interface m2 (network specific).

Example 12 Using the table in Figure 19.32, the router receives a packet for destination 200.34.12.34. For each row, the mask is applied to the destination address, but no match is found. In this example, the router sends the packet through the default interface m0.

Example: Unicast Routing Host with IP address 128.47.92.67 sends a packet to host 128.47.23.10 Router R1 checks its table and sends it to R2 through its interface 2. Router R2 checks its table and sends it to its interface 1 128.47.23.10 1 128.47.23.00 /24 R2 2 128.47.92.67 2 R3 1 R1 3 128.47.36.00 /24 128.47.36.97

The Forwarding Table Necessary in every host and the router On Windows OS it can be seen using the command netstat –rn at the command prompt Entries in the destination column are networks, not hosts Once the interface on the router through which the packet is to be delivered is known, the physical address is used for delivery Contains the columns: Destination (Network destination), Mask (Netmask), Next hop (Gateway), Interface and Metric

Example

How Routers Build the Routing Tables Preprogrammed or Static Routes The table is manually configured by a human The routes cannot be dynamically changed if something fails Dynamically calculated routes Calculated by the software built in the routers that provide communication among routers Algorithms that calculate shortest path are used Complexity is increased, but the routes change automatically if some part of the network fails

Metric A metric is a cost assigned for passing through a network The total cost of the path is the sum of the metrics for the networks that are on the path Metrics are assigned in such a way that the “best pat” is the path with the minimum total cost

The “best path” from S to D is Factors determining the best path Bandwidth Delay Hop-count Load Money Reliability The cost or the metric can involve a single or several of these factors The “best path” from S to D is A C  B S B D A 4 C 1 2

Interior vs. Exterior Protocols The worldwide Internet is a very large network It needs to be segmented in areas based upon the entity that administrates the networks and routers in the area Autonomous System (AS) is a collection of networks and routers under single administration authority Interior protocols or IGP (Interior Gateway Protocols) Used for routing inside AS Exterior protocols or EGP (Exterior Gateway Protocols) Used for routing between ASs

Figure 21.3 Autonomous systems

Figure 21.5 Initial routing tables in a small autonomous system

Figure 21.6 Final routing tables for Figure 21.5

Interior Routing Protocols The goal: To choose the best path, among a set of alternatives based on some or a combination of criteria (e. g. minimum delay, maximum throughput etc.) The objectives are to use the network resources (bandwidth and the router’s buffers and processing power) in the best way Two groups of interior protocols Distance Vector protocols Link State protocols

RIP = Routing Information Protocol OSPF = Open Shortest Path First Figure 21.2 Popular routing protocols RIP = Routing Information Protocol OSPF = Open Shortest Path First BGP = Boarder Gateway Protocol

Unicast vs. Multicast Unicast: Multicast: One source to one destination Multicast: One source to many destinations Many sources to many destinations Many sources to one destination Motivation for multicast routing Growing demand (vide/audio conferences, vide streaming etc) Bandwidth need to be saved

Example Router 3 Receiver 1 Router 1 Receiver 2 Sender Router 2 Receiver 3 If unicast routing is used, the links between the sender and the Router 1 will be overloaded (bandwidth required will depend on the number of receivers)

Figure 21.23 Multicasting

Group Membership vs. Multicast Routing IGMP (Internet Group Management Protocol) Keeps router up-to-date with group membership of entire LAN A device can join or leave a group at any moment Multicast Routing Protocols MBone – A set of routers on the Internet that are running multicast routing protocols Tunneling (encapsulation of multicast packets into unicast packets) is used in the rest of the network

Note: In multicast routing, the router may forward the received packet through several of its ports.

Note: IGMP is a group management protocol. It helps a multicast router create and update a list of loyal members related to each router interface.

Figure 21.32 MBONE