McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer: 19.1 Internetworks 19.2 Addressing Classful, Classless addressing, NAT 19.3 Routing.

Slides:



Advertisements
Similar presentations
Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.
Advertisements

Delivery and Forwarding of
1 Chapter 22 Network layer Delivery, Forwarding and Routing.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
Chapter 18 Introduction to Network Layer 18.# 1
Chapter 21 Exercises 1. A router forwards packets between networks. (Given a destination host address, it must be able to figure out which network that.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Routing Basics By Craig Lindstrom. Overview Routing Process Routing Process Default Routing Default Routing Static Routing Static Routing Dynamic Routing.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Routing.
ECE 4110 – Internetwork Programming TCP/IP Protocol (cont’d)
1 CCNA 3 v3.1 Module 1. 2 CCNA 3 Module 1 Introduction to Classless Routing.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 PART IV NETWORK LAYER.
Routing and Routing Protocols Introduction to Static Routing.
Delivery, Forwarding, and Routing
7/3/2015 Unit-3 : Network Layer 1 CS 1302 Computer Networks — Unit - 3 — — Network Layer — Text Book Behrouz.A. Forouzan, “Data communication and Networking”,
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.
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
Static Route. Identify Default gateway What is the default gateway for PC1 PC2 r1 r2 PC1PC2.
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.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
November 29, 2004 Prof. Paul Lin 1 CPET Internetworking, Addressing, and Routing Paul I-Hai Lin, Professor Electrical and Computer Engineering.
Copyright © Lopamudra Roychoudhuri
資 管 Lee Lesson 5 IP Packets: Delivery and Routing IP Layer operation.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 SUBNETTING.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 4 Network Layer.
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.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 13 Routing Protocols (RIP, OSPF, BGP)
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:
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 7 Internet Protocol (IP) Routing.
Delivery, Forwarding, and Routing of IP Packets
Chapter 13 The Internet.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Delivery and Routing of IP Packets.
Routing and Routing Protocols
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.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Delivery and Forwarding Chapter 18 COMP 3270 Computer Networks Computing Science Thompson Rivers University.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Subnetting.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Routing Talbles Routing Protocols 7.0.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
UNIT 4 NETWORK LAYER. Position of network layer 7/8/2016 UNIT-3 : NETWORK LAYER 2.
Configuration for routing example
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Network Layer, and Logical Addresses
Routing and Routing Protocols: Routing Static
PART IV Network Layer.
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
5 Network Layer Part II Computer Networks Tutun Juhana
CS 1302 Computer Networks — Unit - 3 — — Network Layer —
Introduction  Hector Macleod  CCNA student  Systems Integration Engineer  Subject - IP addressing.
Chapter 6 Delivery & Forwarding of IP Packets
Delivery, Forwarding, and Routing
Routing and Routing Protocols: Routing Static
Delivery and Routing of IP Packets
Delivery and Routing of IP Packets
Delivery and Forwarding of
Delivery, Forwarding, and Routing of IP Packets
Figure 6.11 Configuration for Example 4
Presentation transcript:

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer: 19.1 Internetworks 19.2 Addressing Classful, Classless addressing, NAT 19.3 Routing

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure 19.2 Links in an internetwork

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure 19.3 Network layer in an internetwork

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure 19.4 Network layer at the source

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 IP Packet Header bits

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure 19.5 Network layer at a router

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Example A router inside the organization receives the same packet with destination address Show how it finds the subnetwork address to route the packet. Solution The router follows three steps: 1.The router must know the mask. Assume it is /19. 2.The router applies the mask to the address, The subnet address is The router looks in its routing table to find how to route the packet to this destination.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Next-hop addressInterface f1 f2 f

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure 19.6 Network layer at the destination

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure 19.7 Switching

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure 19.7 Switching

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure 19.7 Switching

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure 19.8 Datagram approach

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Switching at the network layer in the Internet is done using the datagram approach to packet switching. Note:

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Communication at the network layer in the Internet is connectionless. Note:

McGraw-Hill©The McGraw-Hill Companies, Inc., Routing Routing Techniques Static Versus Dynamic Routing Routing Table for Classful Addressing Routing Table for Classless Addressing

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Routing Techniques Next-hop routing Network-specific routing Host-specific routing Default routing

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure Next-hop routing

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure Network-specific routing

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure Host-specific routing

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure Default routing Network address

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Static and Dynamic Routing Tables Routes manually entered By administrator If Internet changes, table is updated manually Good for small internet, experiments, troubleshooting Routes periodically updated By protocols like RIP, OSPF, BGP (ch21) If Internet changes, protocols update tables. Good for big internet such as the Internet. StaticDynamic

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure Classful addressing routing table

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Example 10 Using the table in Figure 19.32, the router receives a packet for destination 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) /

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Example 11 Using the table in Figure 19.32, the router receives a packet for destination 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) /

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Example 12 Using the table in Figure 19.32, the router receives a packet for destination 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 m /

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Figure Classless addressing routing table MaskDestination address Next-hop address Interface /24 … /24 / … … m0 m1 … m3 m0 m2

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 An example of address allocation and distribution by an ISP

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 No Hierarchical routing MaskDestination address Next-hop address Interface /24 /25 /24 /25 /24 /25 ABCDEFGHIJKLMOPQABCDEFGHIJKLMOPQ -BCBBBBBBCCCCCCC-BCBBBBBBCCCCCCCC - M0 M1 M0 M1

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Hierarchical routing (2-level) MaskDestination address Next-hop address Interface /24 /25 /24 A B C Region 2 Region 3 Region 4 Region 5 -BCBBCC-BCBBCC - M0 M1 M0 M1

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Geographic routing A U.S. backbone A European backbone Leased transatlantic lines Leased lines to Asia Regional network National network

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Summary Classful addressing (obsolete) Wasteful address archetecture Network boundaries are fixed at 8, 16 and 24 bits (class A, B, and C) Classless addressing Efficient address architecture Network boundaries may occur at any bit (/12, /16,/19,/24, etc) Best Current Practice

McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Summary NAT allows private network to use a set of private addresses internally, and global addresses externally. Routing Static / Dynamic Classful / Classless routing Hierarchical / Geographical routing Alleviates IP depletion Prevent immense routing table sizes Used for the Internet