The Internet. The Internet is an interconnected collection of netw orks.

Similar documents
Internetwork Protocols

Internet Protocols (chapter 18)

ET4254 Communications and Networking 1

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms

Introduction to Internetworking


SEN366 (SEN374) (Introduction to) Computer Networks

CHAPTER 18 INTERNET PROTOCOLS ANSWERS TO QUESTIONS

TSIN02 - Internetworking

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Introduction to routing in the Internet

TSIN02 - Internetworking

Introduction to routing in the Internet

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

The Interconnection Structure of. The Internet. EECC694 - Shaaban

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Router Architecture Overview

EEC-484/584 Computer Networks

Network Layer (4): ICMP

Chapter 4: Network Layer

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

The Internet Protocol (IP)

Lecture 3. The Network Layer (cont d) Network Layer 1-1

CHAPTER-2 IP CONCEPTS

Chapter 5 OSI Network Layer

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

EEC-684/584 Computer Networks

To make a difference between logical address (IP address), which is used at the network layer, and physical address (MAC address),which is used at

Internet Routing Protocols Part II

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

Network Layer. Goals of This Lecture. Internet Reference Model. Outline of the Class

(Chapters 2 3 in Huitema) E7310/Internet basics/comnet 1

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

OSI Network Layer. Chapter 5

7010INT Data Communications Lecture 7 The Network Layer

CS 455 Internet Architecture, Page 3 ffl By 1985, the ARPANET was heavily used and congested; the National Science Foundation (NSF) initiated the NSFN

Lecture 8. Network Layer (cont d) Network Layer 1-1

PART X. Internetworking Part 1. (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution)

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

II. Principles of Computer Communications Network and Transport Layer

Network Layer/IP Protocols

ICMP (Internet Control Message Protocol)

Internet Protocol, Version 6

Table of Contents. Cisco TCP/IP

Module 7 Internet And Internet Protocol Suite

Computer Networks with Internet Technology William Stallings. Chapter 2 Protocols and the TCP/IP Protocol Suite

IPv6 is Internet protocol version 6. Following are its distinctive features as compared to IPv4. Header format simplification Expanded routing and

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

Internetworking Part 2

TCP/IP Protocol Suite

The Internetworking Problem. Internetworking. A Translation-based Solution

Dongsoo S. Kim Electrical and Computer Engineering Indiana U. Purdue U. Indianapolis

IP Protocols. ALTTC/Oct

IP : Internet Protocol

CS519: Computer Networks. Lecture 2: Feb 2, 2004 IP (Internet Protocol)

HY 335 Φροντιστήριο 8 ο

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Internet Control Message Protocol (ICMP)

ECE4110 Internetwork Programming. Introduction and Overview

Vorlesung Kommunikationsnetze

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August

Each ICMP message contains three fields that define its purpose and provide a checksum. They are TYPE, CODE, and CHECKSUM fields.

NET2-2 Internet Protocol and Routing Network Science Certificate George Mason University

(ICMP), RFC

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

INTERNET SYSTEM. Internet Protocol. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Large Scale Networking

Chapter 20 Network Layer: Internet Protocol 20.1

Position of IP and other network-layer protocols in TCP/IP protocol suite

Chapter 4 Network Layer

Chapter 5 TCP/IP SUITE

Chapter 7. Local Area Network Communications Protocols

Chapter 12 Network Protocols

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

ECE 4450:427/527 - Computer Networks Spring 2017

Introduction Layer 3. IP-Header: and RFC-760 Addressing schemes Subnetting Routing. Layer 3 Solution in Trains

Chapter Motivation For Internetworking

Data & Computer Communication

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

Chapter 5 Network Layer

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Chapter 19 Network Layer: Logical Addressing

Lecture 18 Overview. Last Lecture. This Lecture. Next Lecture. Internet Protocol (1) Internet Protocol (2)

CS 477/677 Computer Communications & Networks The Network Layer: IP

Transcription:

The Internet The Internet is an interconnected collection of netw orks. Internetw orking-1

Internetworking! Communications Network: A facility that provides a data transfer service among stations attached to the network.! Internet: A collection of interconnected communications netw orks.! Subnetwork: A constituent network of an internet.! Intermediate System (IS) or Interw orking Unit (IWU): A device used to interconnect two subnetworks and permit communications between end systems attached to different subnetworks.! Bridge: An IWU used to interconnect tw o or more LANs. A bridge operates at layer 2 of the OSI model.! Router: A device used to interconnect two or more networks at layer 3 of the OSI model. Internetw orking-2

Requirements for Internetworking! Provide a link betw een netw orks.! Provide for routing and delivery of data between processes on different netw orks.! Provide an accounting service that keeps track of the use and status of the various netw orks and IWUs.! Accommodate differences among netw orks: - network service - addressing - routing - quality of service - maximum packet size - flow and congestion control - error reporting Internetw orking-3

Addressing! Network Service Access Point (NSAP): - Uniquely identifies a DTE w ithin the internet (global internet address). - A DTE may have more than one NSAP. - Usually has the form (network, host).! Subnetwork Attachment Point Address (Network Point of Attachment): - Each subnetw ork must maintain a unique address for each DTE attached to that subnetwork. - One must assume that the subnetwork attachment point address has significance only within a particular subnet. - The interw orking facility must translate betw een the global address and the locally significant address. Internetw orking-4

Bridge Operation! A bridge is considered a MAC-layer relay betw een LANS (IEEE 802.1). Functions of a Bridge between LAN A and LAN B:! Read all frames transmitted on LAN A, and copy those addressed to stations on LAN B.! Using the MAC protocol for LAN B, retransmit those frames onto LAN B.! Do the same for LAN B - to - LAN A traffic. Bridge Operation Internetw orking-5

LAN Interconnection Internetw orking-6

Internetw orking-7

Connectionless Internetworking - The IP Approach The Internet Protocol (IP) is a DoD standard. It provides connectionless service betw een stations. A connectionless internet facility is flexible in that it requires very little of its constituent netw orks. Internetw orking-8

Internet Protocol Operation Internetw orking-9

Design Issues Routing: Routing is generally accomplished by maintaining a routing table at each station and each router that gives, for each possible destination network, the next router to which the IP datagram should be sent. The routing table may be static or dynamic. A static table could contain alternate routes for use when a router is unavailable. Source routing may also be used. Datagram Lifetime: Each datagram is marked with a lifetime (e.g., hop count). Once the lifetime expires, the datagram is discarded. Segmentation and Reassembly: Where should the reassembly take place? Error Control: When a router discards a datagram, it should attempt to return some information to the source. Internetw orking-10

IP Services:! Send Primitive: DoD Internetwork Protocol Standard Used to request transmission of a data unit Includes the follow ing fields: a) Source Address - internetw ork address b) Destination Address - internetw ork address c) Protocol - identifies the recipient protocol entity (IP user). d) Type of Service Indicators: i) Precedence - 8 levels ii) Reliability - 2 levels iii) Delay - 2 levels iv) Throughput - 2 levels e) Identifier - used, along with source and destination addresses and user protocol, to uniquely identify the data unit. f) Don't Fragment Flag g) Time to Live - measured in netw ork hops. h) Data Length - length of user data field. i) Option Data - options requested by the IP user i) Security - add security label to data unit (e.g., SECRET, CONFIDENTIAL, etc.) Internetw orking-11

ii) Source Routing - a sequenced list of routers. iii) Record Routing - track the route iv) Stream Identification - Reserve resources for stream service (e.g., voice). IP must endeavor to maintain a constant delay per datagram. v) Timestamp - routers add a timestamp. j) Data - user data to be transmitted! Deliver Primitive: Used by IP to notify a user of the arrival of a data unit. Contains the follow ing fields: a) Source Address b) Destination Address c) Protocol d) Type of Service Indicators e) Data Length f) Option Data g) Data Internetw orking-12

IP Protocol IP Datagram Format:! Version (4 bits)! Internet Header Length (IHL) (4 bits) Length of header in 32-bit w ords (min value is 5)! Type of Service (8 bits) Precedence, Delay, Throughput! Total Length (16 bits) Total data unit length, including header, in octets! Identifier (16 bits) Used to uniquely identify the datagram! Flags (3 bits) - More Flag - Don' t Fragment Flag - Not Used Currently! Fragment Offset (13 bits) In 64-bit units (or 8-octet units)! Time to Live (8 bits) In seconds! Protocol (8 bits) Next level protocol w hich is to receive the data field at the destination.! Header Checksum (16 bits) One's complement of all 16-bit words in the header.! Source Address (32 bits) Internetw orking-13

! Destination Address (32 bits) Coded to specify netw ork and station. (Options: 7 and 24, 14 and 16, 21 and 8, or 28 bit multicast.)! Options (variable) Encodes the options requested by the user! Padding (variable) Used to ensure that header ends on a 32-bit boundary.! Data (variable number of octets) Max length of data field + header is 65,535 octets. Internetw orking-14

IP Datagram Format 0 15 16 31 Ver IHL Type of Service Total Length Identifier D M Fragment Offset Time to Live Protocol Header Checksum Source Address Destination Address Options and Padding Data Internetw orking-15

IP Address Structure! IP addresses are communicated as four bytes using dotted decimal notation. e.g., 00001010 00000000 00000000 00000000 = 10.0.0.0 (Class A netid= 10 (ARPANET)) 10000000 00000011 00000010 00000011 = 128.3.2.3 (Class B netid= 128.3 hostid= 2.3) 11000000 00000000 00000001 11111111 = 192.0.1.255 (Class C netid= 192.0.1 all hosts broadcast) Internetw orking-16

IP Subnet Addressing! A Campus Netw ork w ith Several Subnets:! Subnet Mask: Internetw orking-17

Example of Subnet Addressing Internetw orking-18

IP Fragmentation and Reassembly Concerned w ith issues relating to the transfer of user messages across subnets w hich support smaller packet sizes than the user data.! Intranet Fragmentation: Fragmentation and reassembly are performed on a per network basis. Reassembly takes place at each IS.! Internet Fragmentation: Reassemble occurs only at the destination ES. Internetw orking-19

Internet Control Message Protocol (ICMP)! Provides feedback about problems in the internet communications environment.! ICMP is a user of IP. ICMP Message Formats: 0 15 16 31 Type = 1..11 Code Checksum Parameters Information! Type (8 bits) 1. Destination Unreachable 2. Time Exceeded 3. Parameter Error 4. Source Quench - (used to reduce datagram rate) 5. Redirect - (use alternate gateway) 6. Echo - (used to check reachability) 7. Echo Reply 8. Timestamp - (used to determine transit delay) 9. Timestamp Reply 10. Address Mask Request - (used to determine address) 11. Address Mask Reply mask of a subnet) Internetw orking-20

IPv6 (IPng) The driving motivation for the adoption of a new version of IP was the limitation imposed by the 32-bit address field of IP. The Internet Engineering Task Force (IETF) is the parent body of IPv6. IPv6 includes the following enhancements over IPv4:! Expanded Address Space: IPv6 uses 128-bit addresses.! Improved Option Mechanism: Options are placed in optional headers that need not be examined by routers on the packet' s path.! Address Autoconfiguration: Provides for dynamic assignment of IPv6 addresses.! Increased Addressing Flexibility: IPv6 includes the concept of an anycast address in which a packet is delivered to just one of a set of nodes. In addition, the scalability of multicasting is improved.! Support of Resource Allocation: IPv6 enables the labeling of packets belonging to a particular traffic flow for which special handling is requested (e.g., real-time video).! Security Capabilities: Support for authentication and privacy. Internetw orking-21

! IPv6 Packet Format: General Form of an IPv6 Packet! Extension Headers: - Hop-by-Hop Options Header: Defines options that require hop-by-hop processing. - Routing Header: Provides extended routing (similar to source routing). - Fragment Header: Contains fragmentation and reassembly information. - Authentication Header: Provides packet integrity and authentication. - Encapsulating Security Payload Header: Provides privacy. - Destination Options Header: Contains optional information to be examined by the destination node. Internetw orking-22

IPv6 Base Header! VERSION: ip VERSION NUMBER - 6! FLOW LABEL: Used by routers to associate a packet with specific flow and priority requirements.! PAYLOAD LENGTH: Length of the IPv6 packet following the base header.! NEXT HEADER: Identifies the type of header immediately following the IPv6 base header.! HOP LIMIT: Remaining number of allowable hops for this packet. Each node that forwards this packet, decrements this value by 1. The packet is discarded when HOP LIMIT reaches 0. Internetw orking-23

Sample IPv6 Packets Internetw orking-24

ICMPv6 Message Formats Internetw orking-25

Internet Routing! The Internet is viewed as a collection of separately managed and run internets.! Each component internet is treated as an autonomous system with its own internal routing algorithms and management authority.! The combined Internet. therefore, is considered as being made up of a core backbone network to which are attached a number of autonomous systems.! Exterior Gateways (or Routers) (EGs) connect an autonomous system to the core network.! Interior Gateways (or Routers) (IGs) are used to interconnect subnets w ithin an autonomous system. Internetw orking-26

Application of Exterior and Interior Routing Protocols Internetw orking-27

Routing Protocols - Scope and Sample Tables Internetw orking-28

Internet Routing Protocols Address Resolution Protocol (ARP)! Each interior gateway maintains a local routing table with the IP/NPA (hostid/npa) address pair for all hosts that are attached to each of the netw orks to which it itself is attached. (Each host informs the interior gatew ay of its existence by sending it its IP/NPA pair.)! The IP in each host maintains a local routing table of IP/NPA (hostid/npa) address pairs for all hosts on its netw ork w ith w hich it communicates. ARP is used to obtain an NPA address when it is not present in the table. Interior Router Protocol (IRP): Used to pass routing information between routers w ithin an autonomous system (e.g. RIP, OSPF). Exterior Router Protocol (ERP): Used to pass routing information between routers in different autonomous systems (e.g. EGP, BGP). Internetw orking-29