Forwarding and Routing IP Packets

Slides:



Advertisements
Similar presentations
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Advertisements

IP Forwarding Relates to Lab 3.
Discussion Monday ( ). ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier header checksum time to live.
Delivery and Forwarding of
1 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.
Delivery, Forwarding, and Routing
TCP/IP Protocol Suite 1 Chapter 6 Upon completion you will be able to: Delivery, Forwarding, and Routing of IP Packets Understand the different types of.
© N. Ganesan, All rights reserved. Chapter IP Routing.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
TCP/IP Protocol Suite 1 Chapter 6 Upon completion you will be able to: Delivery, Forwarding, and Routing of IP Packets Understand the different types of.
Introduction to networking (Yarnfield) Introduction to routing.
Introduction to networking (Yarnfield) Introduction to routing.
TCP/IP Protocol Suite 1 Chapter 6 Upon completion you will be able to: Delivery, Forwarding, and Routing of IP Packets Understand the different types of.
1 Internet Protocol: Forwarding IP Datagrams Chapter 7.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Copyright © Lopamudra Roychoudhuri
資 管 Lee Lesson 5 IP Packets: Delivery and Routing IP Layer operation.
Delivery, Forwarding, and Routing of IP Packets
Dr. Clincy1 Chapter 6 Delivery & Forwarding of IP Packets Lecture #4 Items you should understand by now – before routing Physical Addressing – with in.
Chapter 6 Delivery and Forwarding of IP Packets
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 6 Delivery and Routing of IP Packets.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 7 Internet Protocol (IP) Routing.
CS4550 Computer Networks II IP : internet protocol, part 2 : packet formats, routing, routing tables, ICMP read feit chapter 6.
Delivery, Forwarding, and Routing of IP Packets
Internet Protocol: Routing IP Datagrams Chapter 8.
1 Kyung Hee University Chapter 6 Delivery Forwarding, and Routing of IP Packets.
Delivery and Forwarding Chapter 18 COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Introduction to OSPF Campus Networking Workshop These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license.
Configuration for routing example
Ethernet switches and IP routers
ROUTING.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Kapitel 19: Routing. Kapitel 21: Routing Protocols
Chapter 6 Delivery & Forwarding of IP Packets
Static and Default Routing
IP Forwarding Covers the principles of end-to-end datagram delivery in IP networks.
Chapter 6 – Routing.
Chapter 6 Delivery & Forwarding of IP Packets
Routing and routing tables
Introduction to Networking
Troubleshooting IP Addressing
Chapter 6 Delivery & Forwarding of IP Packets
5 Network Layer Part II Computer Networks Tutun Juhana
Net 323: NETWORK Protocols
CS 428 Computer Networking
IP Forwarding Relates to Lab 3.
Chapter 6 Delivery & Forwarding of IP Packets
Chapter 3: Dynamic Routing
Delivery, Forwarding, and Routing
Delivery and Routing of IP Packets
Delivery and Routing of IP Packets
IP Forwarding Relates to Lab 3.
Chapter 2: Static Routing
Static and Default Routing
Delivery, Forwarding, and Routing of IP Packets
Delivery and Forwarding of
Introduction to networking (Yarnfield)
Net 323 D: Networks Protocols
Delivery, Forwarding, and Routing of IP Packets
IP Forwarding Relates to Lab 3.
The Routing Table: A Closer Look
Networking and Network Protocols (Part2)
IP Forwarding Relates to Lab 3.
Example 9 (Continued) 1. The first mask (/26) is applied to the destination address. The result is , which does not match the corresponding network.
Figure 6.11 Configuration for Example 4
Delivery, Forwarding, and Routing of IP Packets
Figure 6.6 Default routing
Longest Mask Matching What happens if one of the organizations is not geographically close to the others, like in Figure No problem, as long as the.
Presentation transcript:

Forwarding and Routing IP Packets Don't ask for a light load, but rather ask for a strong back. - Unknown Chapter 6

Objectives Describe how packets are delivered from a source to a destination using direct and indirect delivery methods Explain how routers forward packets based on the entries in their routing table(s) Explain what is meant by address aggregation (or, route aggregation) Describe how routers build their routing tables Chapter 6

Direct versus Indirect Delivery of Packets Source and destination of the packet are on the same network, or Delivery is between the last router and the destination host Chapter 6

Indirect Delivery of Packets If source and destination of the packet are NOT on the same network, the packet is forwarded from one router to another until it reaches a router connected to the same network as the destination host Chapter 6

Routing and Forwarding Routing is the task of finding a path from a sender to a desired destination. Forwarding means sending the packet towards its destination, based on the routing information. Routing Table: A compilation of all the networks (and sometimes hosts) that the router can reach Entries in the routing table are known as “routes” and consist of a network address, a “next hop” (the IP address of the next router in the path to the destination), and a metric indicating how “good” the path is Chapter 6

Understanding Forwarding When a packet is received on a router interface, after checking its validity (by checking the Header Checksum, etc.) the router must find out the packet’s final destination The router reads the Destination IP Address, and then looks in the Network field of its routing table for a match If a match is found, then the packet is forwarded to the corresponding next hop, which is usually another router on a directly connected network If a match is not found, the packet is sent to the router listed as the default next hop in the routing table (normally with a network address of 0.0.0.0) Chapter 6

Forwarding Example - Fig. 6.13 Chapter 6

Table 6.1 Routing table for router R1 in Figure 6.13 Show the forwarding process if a packet arrives at R1 in Figure 6.13 with the destination address: 180.70.65.140 (Eg: 8) --> Forwards through m0 201.4.22.35 (Eg: 9) --> Forwards through m3 18.24.32.78 (Eg:10) --> Forwards through m2 Chapter 6

Address (or, Route) Aggregation Router R1 (in Fig. 6.15) is connected to networks of 4 organizations. R1’s routing table contains 4 entries (or, routes) for these 4 networks. In router R2’s routing table, these 4 separate route entries are aggregated into a single route entry. As the 4 blocks of addresses for the 4 organizations are aggregated into one larger block (i.e., 140.24.7.0/24) in router R2, this is called Address Aggregation. As the 4 route entries in R1 are aggregated into a single route entry in R2’s routing table, this is also called Route Aggregation. Chapter 6

Figure 6.15 Address aggregation Chapter 6

Longest Mask (or, Prefix) Matching When there are routes with different masks (or, network prefixes), the routing table is sorted from the longest mask to the shortest mask. This ensures that, when forwarding a packet, if there are multiple matches to the destination network in a routing table, the route with the longest mask (or, prefix) is chosen. Chapter 6

Figure 6.16 Longest mask matching Chapter 6

How does the Routing Table get built? A route entry can be placed in a routing table in three basic ways Through direct connection. A router knows about its directly connected networks through interface configuration (Connected routes) Manual configuration (Static routes) Dynamically, by using a routing protocol (Dynamic routes) Routers use routing protocols to exchange information periodically about various networks they are connected to, and use that information to build up their routing tables Chapter 6

Chapter 6