1 Chapter 22 Network layer Delivery, Forwarding and Routing.

Slides:



Advertisements
Similar presentations
Network Layer Delivery Forwarding and Routing
Advertisements

IP Forwarding Relates to Lab 3.
Delivery and Forwarding of
RIP V1 W.lilakiatsakun.
Chapter 22 Network Layer: Delivery, Forwarding, and 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.
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.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.
NETWORK LAYER (2) T.Najah AlSubaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
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.
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
18-WAN Technologies and Dynamic routing Dr. John P. Abraham Professor UTPA.
1 Chapter Overview Routing Principles. Understanding Routing--important Routing refers to the process of taking a packet from one device and sending it.
Copyright © Lopamudra Roychoudhuri
資 管 Lee Lesson 5 IP Packets: Delivery and Routing IP Layer operation.
Routers. What is a Router? A multi-port connectivity device Can connect different types of LANs as well as WANS Works at Layer 3 – Network Layer using.
10/8/2015CST Computer Networks1 IP Routing CST 415.
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.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 27/03/2007.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2003 Chapter 6 Delivery and Routing of IP Packets.
Chapter 6 Delivery and Forwarding of IP Packets
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:
Delivery, Forwarding, and Routing of IP Packets
The Routing Table Last Update Copyright Kenneth M. Chipps Ph.D.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer: 19.1 Internetworks 19.2 Addressing Classful, Classless addressing, NAT 19.3 Routing.
TCP/IPTCP/IP Dr. Clincy1 Chapter 6 Delivery & Forwarding of IP Packets.
1 Kyung Hee University Chapter 6 Delivery Forwarding, and Routing of IP Packets.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Delivery and Forwarding Chapter 18 COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Powerpoint Templates Computer Communication & Network Week # 14.
22.1 Network Layer Delivery, Forwarding, and Routing.
Configuration for routing example
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Kapitel 19: Routing. Kapitel 21: Routing Protocols
Chapter 6 Delivery & Forwarding of IP Packets
Routing Protocols (RIP, OSPF, and BGP)
Routing Information Protocol (RIP)
Forwarding and Routing IP Packets
PART IV Network Layer.
COMP 3270 Computer Networks
Chapter 6 – Routing.
Chapter 6 Delivery & Forwarding of IP Packets
Introduction to Networking
Chapter 6 Delivery & Forwarding of IP Packets
5 Network Layer Part II Computer Networks Tutun Juhana
Net 323 D: Networks Protocols
Delivery, Forwarding, and Routing
Chapter 6 Delivery & Forwarding of IP Packets
UNIT III ROUTING.
Delivery, Forwarding, and Routing
Subject Name: Computer Communication Networks Subject Code: 10EC71
Delivery and Routing of IP Packets
Delivery and Routing of IP Packets
UNICAST ROUTING PROTOCOLS
Delivery, Forwarding, and Routing of IP Packets
Delivery and Forwarding of
18-WAN Technologies and Dynamic routing
Net 323 D: Networks Protocols
Delivery, Forwarding, and Routing of IP Packets
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
Chapter 6 Delivery & Forwarding of IP Packets
Presentation transcript:

1 Chapter 22 Network layer Delivery, Forwarding and Routing

2 Network layer

3 Direct and indirect delivery

4 Forwarding means to place the packet in its route to its destination. Forwarding requires a host or a router to have a routing table. When a host has a packet to send or when a router has received a packet to be forwarded, it looks at this table to find the route to the final destination. Forwarding Techniques Forwarding Process Routing Table Topics discussed in this section: FORWARDING

5 Route method versus next-hop method Forwarding means to place the packet in its route to its destination using routing table. Next-Hop Method is technique to reduce the contents of a routing table,the routing table holds only the address of the next hop instead of information about the complete route

6 Host-specific versus network-specific method Instead of having an entry for every destination host connected to the same physical network One entry that defines the address of the destination network itself. All hosts connected to the same network treated as one single entity.

7 Default method

Simplified forwarding module in classless address 8 In classless addressing, we need at least four columns in a routing table. Note

9 Example 1: ( )(/0) m3 Make a routing table for router R1, using the following configuration

10 Show the forwarding process if a packet arrives at R1 with the destination address Routing table for R1: (/0)( ) Example

11 Solution: The router performs the following steps: 1. The first mask (/26) is applied to the destination address. The result is , which does not match the corresponding network address. 2. The second mask (/25) is applied to the destination address. The result is , which matches the corresponding network address. The next-hop address and the interface number m0 are passed to ARP for further processing.

12 Show the forwarding process if a packet arrives at R1 in with the destination address Example Solution: The router performs the following steps: 1. The first mask (/26) is applied to the destination address. The result is , which does not match the corresponding network address. 2. The second mask (/25) is applied to the destination address. The result is , which does not match the corresponding network address (row 2). 3. The third mask (/24) is applied to the destination address. The result is , which matches the corresponding network address. The destination address of the packet and the interface number m3

13 Show the forwarding process if a packet arrives at R1 in Figure 22.6 with the destination address Solution This time all masks are applied, one by one, to the destination address, but no matching network address is found. When it reaches the end of the table, the module gives the next-hop address and interface number m2 to ARP. This is probably an outgoing package that needs to be sent, via the default router, to someplace else in the Internet. Example

Routing  Packet go from source to destination via routers.  Routing means to place the packet in its route to its destination.  Routing requires a host or a router to have a routing table. When a host has a packet to send or when a router has received a packet to be forwarded, it looks at this table to find the route to the final destination 14

Routing Table Static :  A static routing table contains information entered manually.  The table must be manually altered by the administrator when there is a change in the Internet.  used in a small internet that does not change very often or in an experimental internet for troubleshooting. Dynamic:  Updated automatically when there is change in the Internet. For instance, they need to be updated when a router is down, and they need to be updated whenever a better route has been found  Routing protocols are needed to create the routing tables dynamically.  A routing protocol is a combination of rules and procedures that:  Lets routers in the internet inform one another of changes.  Allows routers to share whatever they know about the internet or their neighbourhood.  big internet such as the Internet need to be updated dynamically for efficient delivery of the IP packets. 15

Routing Table Format routing table for classless addressing has a minimum of four columns. the number of columns is vendor-dependent. Common fields in a routing table: Mask. This field defines the mask applied for the entry. Network address. This field defines the network address to which the packet is finally delivered. In the case of host-specific routing, this field defines the address of the destination host. Next-hop address. This field defines the address of the next-hop router to which the packet is delivered. Interface. This field shows the name of the interface. Flags. This field defines up to five flags. Flags are on/off switches that signify either presence or absence. The five flags are U (up), G (gateway), H (host-specific), (added by redirection), and M (modified by redirection). Reference count. This field gives the number of users of this route at the moment. Use. This field shows the number of packets transmitted through this router for the corresponding destination. 16

 In unicast routing, there is only one source and only one destination.  When a router receives a packet, it forwards the packet through only one of its ports (the one belonging to the optimum path) as defined in routing table.  Discard the packet, if there is no route. 17 Unicast Routing

Solid lines show the communication between routers that use interior routing protocols. Broken lines show the communication between routers that use an exterior routing protocols. 18 Autonomous systems  Autonomous System (AS): Group of networks and routers under the authority of a single administration.  Routers inside an autonomous system is referred to as interior routing (Intradomain).  Routing between autonomous systems is referred to as exterior routing (Interdomain).