November 29, 2004 Prof. Paul Lin 1 CPET 355 16. Internetworking, Addressing, and Routing Paul I-Hai Lin, Professor Electrical and Computer Engineering.

Slides:



Advertisements
Similar presentations
1 Computer Communication & Networks Lecture 17 & 18 Network Layer: Logical Addressing Waleed Ejaz.
Advertisements

Network Layer: Logical Addressing. 4-1 IPv4 ADDRESSES An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
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.
ECE 4110 – Internetwork Programming TCP/IP Protocol (cont’d)
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
1 Computer Networks IP: The Internet Protocol. 2 IP is a connection-less, unreliable network layer protocol IP provides best effort services in the sense.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
Introduction to TCP/IP
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 PART IV NETWORK LAYER.
Extending Networks. Three Levels of Extension Physical Layer –Repeaters Link Layer –Bridges –Switches Network –Routers: “Connecting networks”
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”,
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
Network Layer IS250 Spring 2010
1 Chapter Overview Subnet. What is a subnet When you break a network into a few smaller networks, you have created several subnets Like IP address where.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP-adresses and subnet masks. Figure 19.9 Dotted-decimal notation.
1 1- What is the fundamental difference between network layer and data-link layer? Data-link layer only deals with efficient transmission of information.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
1 Kyung Hee University Part 4 : Network Layer. 2 Kyung Hee University Role and Position of Network Layer o Network layer in the Internet model is responsible.
Introduction to Network Layer
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
Cisco 1 - Networking Basics Perrine. J Page 19/17/2015 Chapter 9 What transport layer protocol does TFTP use? 1.TCP 2.IP 3.UDP 4.CFTP.
CSISCSIS Dr. ClincyLecture1 SUPERNETTING Although class A and B addresses are dwindling – there are plenty of class C addresses The problem with C addresses.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
CIS 3360: Internet: Network Layer Introduction Cliff Zou Spring 2012.
April 5, 2004 Prof. Paul Lin 1 CPET The Network Layer Paul I-Hai Lin, Professor Electrical and Computer Engineering Technology Purdue University,
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 4 Network Layer.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2003 Chapter 6 Delivery and Routing of IP Packets.
Network Protocols Chapter 5 (TCP/IP Suite Book): IPv4 Addresses
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 7 Internet Protocol (IP) Routing.
1 Kyung Hee University Prof. Choong Seon HONG Subnetting/ Supernetting and Classless Addressing.
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.
Page 1 Network Addressing CS.457 Network Design And Management.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer: 19.1 Internetworks 19.2 Addressing Classful, Classless addressing, NAT 19.3 Routing.
Chapter 5 IPv4 Address.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer PART IV.
1 Addressing, Internetworking. 2 Collection of Subnetworks The Internet is an interconnected collection of many networks.
8/28/ Network Models - Lin 1 CPET/ECET Network Models Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical and.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
TCP/IP & INTERNET Unit 2 Department Of Computer Science & Engineeing.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
1 Lecture-3: The Network Layer. 2 Where is the network layer? a)There are 7 layers from OSI model and 5 layers from TCP/IP model (as discussed previously!)
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
Delivery and Forwarding Chapter 18 COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Computer Networks 0110-IP Gergely Windisch
TCP/IP Protocol Suite 1 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes Identify.
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
1 Kyung Hee University Chapter 19 Network Layer: Logical Addressing.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
UNIT 4 NETWORK LAYER. Position of network layer 7/8/2016 UNIT-3 : NETWORK LAYER 2.
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
Network Layer, and Logical Addresses
COMPUTER NETWORKS CS610 Lecture-45 Hammad Khalid Khan.
PART IV Network Layer.
4 Network Layer Part I Computer Networks Tutun Juhana
Introduction to Networking Prof. Ananjan Maiti. Overview of the course OSI and TCP/IP Models:  Open Systems Interconnection (OSI)  Transmission Control.
CS 1302 Computer Networks — Unit - 3 — — Network Layer —
IDC part II (week 6-12) 6 weeks will cover three layers of interest
Review of Internet Protocols Network Layer
Introduction to Network
Presentation transcript:

November 29, 2004 Prof. Paul Lin 1 CPET Internetworking, Addressing, and Routing Paul I-Hai Lin, Professor Electrical and Computer Engineering Technology Purdue University, Fort Wayne Campus

November 29, 2004 Prof. Paul Lin 2 Network Layer - an Overview Getting data packets from the source all the way to the destination Getting data packets from the source all the way to the destination Dealing with end-to-end transmission Dealing with end-to-end transmission Need to know Need to know Topology of the communication subnet (routers)Topology of the communication subnet (routers) Chose paths (routing algorithms)Chose paths (routing algorithms)

November 29, 2004 Prof. Paul Lin 3 Position of Network Layer Courtesy - From Fig. 1, Page 467, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 4 Network Layer Duties Courtesy - From Fig. 2, Page 468, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 5 Network Layer Topics of Discussion Network Layer Design Issue Network Layer Design Issue Services to the TCP LayerServices to the TCP Layer Connectionless Services (Datagram) Connectionless Services (Datagram) Connection-Oriented Services (Virtual Circuit) Connection-Oriented Services (Virtual Circuit) SubnetsSubnets Internetworking Internetworking Addressing Addressing Routing Routing

November 29, 2004 Prof. Paul Lin 6 Internetworks Courtesy - From Fig. 19.1, Page 471, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Host A -> Host D 4 LANS, 1 WAN S1, S2, S3: Switch or Router f1, f2: Interface Three links: S1 -> S2 -> s3

November 29, 2004 Prof. Paul Lin 7 Links in an Internetwork Courtesy - From Fig. 19.2, Page 472, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 8 Network Layer in an Internetwork Courtesy - From Fig Page 473, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 9 Network Layer at the Source Courtesy - From Fig Page 473, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Creating Source and Destination Address, Fragmentation

November 29, 2004 Prof. Paul Lin 10 Network Layer at Router or Switch Courtesy - From Fig Page 474, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Routing Table, Fragmentation

November 29, 2004 Prof. Paul Lin 11 Network Layer at Destination Courtesy - From Fig. 196 Page 475, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Corrupted packet, Fragments

November 29, 2004 Prof. Paul Lin 12 Quality of Service Requirements From Fig. 5-30, Page 397, Computer Networks, 4 th edition, Andrew S. Tanenbaum, Prentice Hall

November 29, 2004 Prof. Paul Lin 13 Packet-Switched Network - Internet Courtesy - From Fig. 196 Page 475, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Packets – Variable Length Data Blocks; Node to Node Delivery Virtual Circuit – WAN, Frame Relaying, ATM applications, call setup a single route

November 29, 2004 Prof. Paul Lin 14 Packet-Switched Network - Internet Courtesy - From Fig. 196 Page 475, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Datagram Approach – no fixed path, routing, out of order Packets == Datagrams

November 29, 2004 Prof. Paul Lin 15 Addressing Internet Address – IP Address Classful addressing – original architecture Class A, B, C, D, and E Classless addressing – mid 1990s IPv4 32-bit binary number Dotted-Decimal Notation IPv bit

November 29, 2004 Prof. Paul Lin 16 Addressing – IPV4 Courtesy - From Fig Page 479, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Network ID, Host ID Class A – 128 blocks (First Byte), 16,777,216 hosts Class B – 16,384 blocks (First & Second Byte), hosts Class C – 2,097,152 blocks (First, Second, Third byte), 256 hosts Class D – 1 block, Multicasting

November 29, 2004 Prof. Paul Lin 17 Finding the Class Courtesy - From Fig Page 480, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 18 Netid and Hostid Courtesy - From Fig Page 481, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 19 Classes and Blocks - Netid 73 Courtesy - From Fig Page 482, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill 128 Blocks; 16,777,216 Hosts

November 29, 2004 Prof. Paul Lin 20 Blocks in Class B Network Courtesy - From Fig Page 483, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Blocks; Hosts

November 29, 2004 Prof. Paul Lin 21 Blocks in Class C Network Courtesy - From Fig Page 484, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill 2,097,152 Blocks; 255 Hosts

November 29, 2004 Prof. Paul Lin 22 Network Address Courtesy - From Fig Page 484, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill An address defines a network with all host-id = 0

November 29, 2004 Prof. Paul Lin 23 Sample Internet Courtesy - From Fig Page 486, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 24 Subnetting Courtesy - From Fig Page 487, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Class B – 1 block, hosts (16-bit) Subnets 2 sub-blocks (1-bit), hosts (15-bit) 4 sub-blocks (2-bit), hosts (14-bit) … 128 sub-blocks (7-bit), 512 host (9-bit)

November 29, 2004 Prof. Paul Lin 25 Subnetting – 3 Level Hierarchy Courtesy - From Fig Page 487, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Three levels: Site, Subnet, Host

November 29, 2004 Prof. Paul Lin 26 A Network With and Without Subnetting Courtesy - From Fig Page 488, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 27 Masks Courtesy - From Table 19.1 Page 489, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Class In Binary In Dotted- Decimal Using Slash A /8 B /16 C /24

November 29, 2004 Prof. Paul Lin 28 Supernetting An organization can combine several class C block to form a larger range of addresses

November 29, 2004 Prof. Paul Lin 29 Classless Addressing Variable-Length Block (2, 4, 128, etc) Mask Finding the Network Address Subnetting CIDR (Classes InterDomain Routing)

November 29, 2004 Prof. Paul Lin 30 Dynamic Address Configuration DHCP (Dynamic Host Configuration Protocol) Database 1 (static) - Physical addresses to IP addresses Database 2 (dynamic) – Available IP, Lease Time

November 29, 2004 Prof. Paul Lin 31 Network Address Translation Courtesy – Table 19.2 Page 494, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill RangeTotal to to to Internally, a large set of addresses Externally, one address, or a small set of addresses

November 29, 2004 Prof. Paul Lin 32 A NAT Example Courtesy – Fig Page 495, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Private address: to NAT Router address:

November 29, 2004 Prof. Paul Lin 33 Address Translation Courtesy – Fig Page 495, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Private address: to NAT Router address:

November 29, 2004 Prof. Paul Lin 34 Address Translation (cont.) Courtesy – Fig Page 495, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 35 Translation Table Courtesy – Table 19.3 Page 497, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Private Address Private Port External Address External Port Transport Protocol TCP TCP

November 29, 2004 Prof. Paul Lin 36 Routing Techniques Routing Tables Next-Hop Routing Network-Specific Routing Host-Specific Routing Default Routing

November 29, 2004 Prof. Paul Lin 37 Translation Table Courtesy – Fig Page 496, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 38 Next-Hop Routing Courtesy – Fig Page 498, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 39 Network-Specific Routing Courtesy – Fig Page 498, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 40 Host-Specific Routing Courtesy – Fig Page 499, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 41 Default Routing Courtesy – Fig Page 500, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

November 29, 2004 Prof. Paul Lin 42 More on Routing Static vs Dynamic Static Routing Table Dynamic Routing Table and Protocols RIP – Routing Information Protocol OSPF – Open Shortest Path First BGF – Border Gateway Protocol Routing Tables For Classful Addressing For Classless Addressing (CIDR)