Net 323 D: Networks Protocols

Slides:



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

Delivery and Forwarding of
1 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.
© Jörg Liebeherr ECE 1545 Forwarding 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.
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.
1 Internet Protocol: Forwarding IP Datagrams Chapter 7.
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
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.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer PART IV.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Ch 22. Routing Direct and Indirect Delivery.
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
1 Lecture 11 Routing in Virtual Circuit Networks Internet Addressing.
CS4500CS4500 Dr. ClincyLecture1 Lecture #1 Chapter 5: Addressing (part 1 of 3)
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
ROUTING.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Kapitel 19: Routing. Kapitel 21: Routing Protocols
Chapter 6 Delivery & Forwarding of IP Packets
Forwarding and Routing IP Packets
PART IV Network Layer.
IP Forwarding Covers the principles of end-to-end datagram delivery in IP networks.
Chapter 6 – Routing.
Chapter 6 Delivery & Forwarding of IP Packets
CS4470 Computer Networking Protocols
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
NET302 Lecture#3 IPV4 Addressing Asma AlOsaimi.
Introduction to Networking
5 Network Layer Part II Computer Networks Tutun Juhana
CS 1302 Computer Networks — Unit - 3 — — Network Layer —
Net 323 D: Networks Protocols
Net 323: NETWORK Protocols
IP Forwarding Relates to Lab 3.
Chapter 6 Delivery & Forwarding of IP Packets
Delivery, Forwarding, and Routing
Subject Name: Computer Communication Networks Subject Code: 10EC71
Delivery and Routing of IP Packets
Delivery and Routing of IP Packets
IP Forwarding Relates to Lab 3.
Lecture#3 IPV4 Addressing Net 302- Asma AlOsaimi.
Delivery, Forwarding, and Routing of IP Packets
Delivery and Forwarding of
INTERNET PROTOCOL Presented by: Md:Faruque-A-Azam ID:1642CSE00570 Batch:42 CSE,MIU.
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
Delivery, Forwarding, and Routing of IP Packets
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
Introduction to Network
Lecture#3-IPV4 Addressing
Presentation transcript:

Net 323 D: Networks Protocols Networks and Communication Department Lecture 4:Network Layer: Delivery, Forwarding, and Routing

Delivery, forwarding, and routing This chapter describes the delivery, forwarding, and routing of IP packets to their final destinations. Delivery refers to the way a packet is handled by the underlying networks under the control of the network layer. Forwarding refers to the way a packet is delivered to the next station. Routing refers to the way routing tables are created to help in forwarding. 13-Jan-19 Networks and Communication Department

Delivery, forwarding, and routing cont. Routing protocols are used to continuously update the routing tables that are consulted for forwarding and routing. In this chapter, we also briefly discuss common unicast and multicast routing protocols. 13-Jan-19 Networks and Communication Department

1. DELIVERY The network layer supervises the handling of the packets by the underlying physical networksWe define this handling as the delivery of a packet. Methods of delivery: Direct Indirect 13-Jan-19 Networks and Communication Department

1. DELIVERY cont. Networks and Communication Department

a. Direct Delivery Direct delivery occurs when the source and destination of the packet are located on the same physical network or when the delivery is between the last router and the destination host. The sender can easily determine if the delivery is direct It can extract the network address of the destination (using the mask) and compare this address with the addresses of the networks to which it is connected.If a match is found, the delivery is direct. 13-Jan-19 Networks and Communication Department

b. Indirect Delivery If the destination host is not on the same network as the deliverer, the packet is delivered indirectly. In an indirect delivery, the packet goes from router to router until it reaches the one connected to the same physical network as its final destination. 13-Jan-19 Networks and Communication Department

Note A delivery always involves one direct delivery but zero or more indirect deliveries. Note also that the last delivery is always a direct delivery. 13-Jan-19 Networks and Communication Department

2. FORWARDING 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. However, this simple solution is impossible today in an internetwork such as the Internet because the number of entries needed in the routing table would make table lookups inefficient. 13-Jan-19 Networks and Communication Department

Forwarding Techniques Several techniques can make the size of the routing table manageable. Next-Hop Method Versus Route Method Network-Specific Method Versus Host-Specific Method Default Method 13-Jan-19 Networks and Communication Department

a. Next-Hop Method Versus Route Method One technique to reduce the contents of a routing table is called the next-hop method. In this technique, the routing table holds only the address of the next hop instead of information about the complete route (route method). The entries of a routing table must be consistent with one another. 13-Jan-19 Networks and Communication Department

a. Next-Hop Method Versus Route Method cont. 13-Jan-19 Networks and Communication Department

b. Network-Specific Method Versus Host-Specific Method Here, instead of having an entry for every destination host connected to the same physical network (host-specific method), we have only one entry that defines the address of the destination network itself. In other words, we treat all hosts connected to the same network as one single entity. For example, if 000 hosts are attached to the same network, only one entry exists in the routing table instead of 1000. 13-Jan-19 Networks and Communication Department

b. Network-Specific Method Versus Host-Specific Method cont. 13-Jan-19 Networks and Communication Department

c. Default Method Networks and Communication Department

c. Default Method cont. Host A is connected to a network with two routers. Router Rl routes the packets to hosts connected to network N2. However, for the rest of the Internet, router R2 is used. So instead of listing all networks in the entire Internet, host A can just have one entry called the default (normally defined as network address 0.0.0.0). 13-Jan-19 Networks and Communication Department

Forwarding Process We assume that hosts and routers use classless addressing because classful addressing can be treated as a special case of classless addressing. In classless addressing, the routing table needs to have one row of information for each block involved. The table needs to be searched based on the network address (first address in the block). Unfortunately, the destination address in the packet gives no clue about the network address. To solve the problem, we need to include the mask(/n) in the table; we need to have an extra column that includes the mask for the corresponding block 13-Jan-19 Networks and Communication Department

Forwarding Process cont. 13-Jan-19 Networks and Communication Department

Example 1 m3 13-Jan-19 Networks and Communication Department

Example 1 cont. 13-Jan-19 Networks and Communication Department

Example 2 13-Jan-19 Networks and Communication Department

Example 2 Row 1: IP: 10110100 01000110 0100000 1 10001100 Mask: 11111111 11111111 11111111 11000000 Result : 10110100 01000110 0100000 1 10000000 180 . 70 . 65 .128 ≠ 𝑛𝑒𝑡𝑤𝑜𝑟𝑘 𝑎𝑑𝑑𝑟𝑒𝑠𝑠 𝑜𝑓 𝑡ℎ𝑖𝑠 𝑟𝑜𝑤 Row 2: IP: 10110100 01000110 0100000 1 10001100 Mask: 11111111 11111111 11111111 10000000 Result : 10110100 01000110 0100000 1 10000000 180 . 70 . 65 .128 = network address of this row 13-Jan-19 Networks and Communication Department

Example 3 13-Jan-19 Networks and Communication Department

Example 3 cont. Row 1: Row 2: IP: 11001001 00000100 00010110 00100011 Mask: 11111111 11111111 11111111 11000000 Result : 11001001 00000100 00010110 00000000 201.4.22.0 ≠𝑛𝑒𝑡𝑤𝑜𝑟𝑘 𝑎𝑑𝑑𝑟𝑒𝑠𝑠 𝑜𝑓 𝑡ℎ𝑖𝑠 𝑟𝑜𝑤 Row 2: IP: 11001001 00000100 00010110 00100011 Mask: 11111111 11111111 11111111 10000000 Result : 11001001 00000100 00010110 00000000 201.4.22.0 ≠ 𝑛𝑒𝑡𝑤𝑜𝑟𝑘 𝑎𝑑𝑑𝑟𝑒𝑠𝑠 𝑜𝑓 𝑡ℎ𝑖𝑠 𝑟𝑜𝑤 13-Jan-19 Networks and Communication Department

Example 3 cont. Row 3: IP: 11001001 00000100 00010110 00100011 Mask: 11111111 11111111 11111111 00000000 Result : 11001001 00000100 00010110 00000000 201.4.22.0 = 𝑛𝑒𝑡𝑤𝑜𝑟𝑘 𝑎𝑑𝑑𝑟𝑒𝑠𝑠 𝑜𝑓 𝑡ℎ𝑖𝑠 𝑟𝑜𝑤 13-Jan-19 Networks and Communication Department

Example 4 13-Jan-19 Networks and Communication Department

18.24.32.0≠ 𝑛𝑒𝑡𝑤𝑜𝑟𝑘 𝑎𝑑𝑑𝑟𝑒𝑠𝑠 𝑜𝑓 𝑡ℎ𝑖𝑠 𝑟𝑜𝑤 Example 4 Row 1: IP: 00010010 00011000 0010000 01001110 Mask: 11111111 11111111 11111111 11000000 Result : 00010010 00011000 0010000 01000000 18.24.32.64≠ 𝑛𝑒𝑡𝑤𝑜𝑟𝑘 𝑎𝑑𝑑𝑟𝑒𝑠𝑠 𝑜𝑓 𝑡ℎ𝑖𝑠 𝑟𝑜𝑤 Row 2: IP: 00010010 00011000 0010000 01001110 Mask: 11111111 11111111 11111111 10000000 Result : 00010010 00011000 0010000 00000000 18.24.32.0≠ 𝑛𝑒𝑡𝑤𝑜𝑟𝑘 𝑎𝑑𝑑𝑟𝑒𝑠𝑠 𝑜𝑓 𝑡ℎ𝑖𝑠 𝑟𝑜𝑤 13-Jan-19 Networks and Communication Department

Example 4 cont. Row 3: Row 4: IP: 00010010 00011000 0010000 01001110 Mask: 11111111 11111111 11111111 00000000 Result : 00010010 00011000 0010000 00000000 18.24.32.0≠ 𝑛𝑒𝑡𝑤𝑜𝑟𝑘 𝑎𝑑𝑑𝑟𝑒𝑠𝑠 𝑜𝑓 𝑡ℎ𝑖𝑠 𝑟𝑜𝑤 Row 4: IP: 00010010 00011000 0010000 01001110 Mask: 11111111 11111111 11111100 00000000 Result : 00010010 00011000 0010000 00000000 18.24.32.0≠ 𝑛𝑒𝑡𝑤𝑜𝑟𝑘 𝑎𝑑𝑑𝑟𝑒𝑠𝑠 𝑜𝑓 𝑡ℎ𝑖𝑠 𝑟𝑜𝑤 13-Jan-19 Networks and Communication Department