 The Internet Control Message Protocol (ICMP) is one of the core protocols of the Internet protocol suite. It is chiefly used by networked computers'

Slides:



Advertisements
Similar presentations
The Future of TCP/IP Always evolving: –New computer and communication technologies More powerful PCs, portables, PDAs ATM, packet-radio, fiber optic, satellite,
Advertisements

Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
CE363 Data Communications & Networking Chapter 7 Network Layer: Internet Protocol.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CS 408 Computer Networks Chapter 08: Internet Protocols.
1 Internet Protocol Version 6 (IPv6) What the caterpillar calls the end of the world, nature calls a butterfly. - Anonymous.
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
1 Chapter 3 TCP and IP. Chapter 3 TCP and IP 2 Introduction Transmission Control Protocol (TCP) Transmission Control Protocol (TCP) User Datagram Protocol.
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Internet Control Message Protocol (ICMP). Introduction The Internet Protocol (IP) is used for host-to-host datagram service in a system of interconnected.
Chapter 5 The Network Layer.
EEE449 Computer Networks Internetworking.
Semester Copyright USM EEE442 Computer Networks Internetworking En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
IPv6 Fundamentals Chapter 2: IPv6 Protocol
4: Network Layer4a-1 IP datagram format ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier Internet checksum time.
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer ICMP and fragmentation.
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
1 Business Telecommunications Data and Computer Communications Chapter 15 Internetwork Protocols.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
UNIT IP Datagram Fragmentation Figure 20.7 IP datagram.
CSC 581 Communication Networks II Chapter 8a: Internetworking and Internet Protocol(IP) Dr. Cheer-Sun Yang.
1 Internet Control Message Protocol (ICMP) Used to send error and control messages. It is a necessary part of the TCP/IP suite. It is above the IP module.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
The New Internet Protocol
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
Transport Layer3-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.
1 Chapter 23 Internetworking Part 3 (Control Messages, Error Handling, ICMP)
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 20 Network Layer: Internet Protocol
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
CSC 600 Internetworking with TCP/IP Unit 5: IP, IP Routing, and ICMP (ch. 7, ch. 8, ch. 9, ch. 10) Dr. Cheer-Sun Yang Spring 2001.
ICMPv6 Error Message Types Informational Message Types.
CSCI 465 D ata Communications and Networks Lecture 24 Martin van Bommel CSCI 465 Data Communications & Networks 1.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer NAT, IPv6.
William Stallings Data and Computer Communications Chapter 15 Internetwork Protocols.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
CSE5803 Advanced Internet Protocols and Applications (13) Introduction Existing IP (v4) was developed in late 1970’s, when computer memory was about.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
CSCI 465 D ata Communications and Networks Lecture 25 Martin van Bommel CSCI 465 Data Communications & Networks 1.
1 IPv6: Packet Structures Dr. Rocky K. C. Chang 29 January, 2002.
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IPv4 IPv4 The Internet Protocol version 4 (IPv4) is the delivery mechanism used by the TCP/IP protocols. Datagram Fragmentation Checksum Options Topics.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IPv6 Internet Protocol, Version 6 Yen-Cheng Chen NCNU
CS 408 Computer Networks Chapter 08: Internet Protocols.
Next Generation: Internet Protocol, Version 6 (IPv6) RFC 2460
The New Internet Protocol
The New Internet Protocol
CS 457 – Lecture 10 Internetworking and IP
Guide to TCP/IP Fourth Edition
Chapter 20 Network Layer: Internet Protocol
Chapter 08: Internet Protocols
University of Houston Internetwork Protocols Datacom II Lecture 2
Net 323 D: Networks Protocols
Chapter 15. Internet Protocol
The New Internet Protocol
Fred Kuhns Applied Research Laboratory
32 bit destination IP address
Presentation transcript:

 The Internet Control Message Protocol (ICMP) is one of the core protocols of the Internet protocol suite. It is chiefly used by networked computers' operating systems to send error messages—indicating, for instance, that a requested service is not available or that a host or router could not be reached.Internet protocol suiteoperating systems  ICMP differs in purpose from TCP and UDP in that it is usually not used directly by user network applications.TCPUDP  One exception is the ping tool, which sends ICMP Echo Request messages (and receives Echo Response messages) to determine whether a host is reachable and how long packets take to get to and from that host.ping

 RFC 792 (get it and study it)  ICMP message is constructed and then passed down to IP layer, usually from a normal IP datagram that has generated an ICMP response.  ICMP provides a means for transferring messages from routers and other host to a host.  E.g when a datagram cannot reach its destination, when the router does not have the buffering capacity to forward a datagram, and when the router can direct the station to send traffic on a shorter route

 An ICMP message starts with a 64-bit header consisting of the following:  Type (8 bits):  Specifies the type of ICMP message  Code (8 bits):  used to specify parameters of the message that can be encoded in one or a few bits  Checksum: (16 bits):  checksum of the entire ICMP message. This is the same checksum algorithm used for IP  Parameters (32 bits):  used to specify more lengthy parameters

 Destination unreachable  A router may return this message if it does not know how to reach the destination network  Time exceeded  Message if the lifetime of the datagram expires, a host it cannot complete reassembly within the time limit  Parameter problem  A semantic error in an IP header  Source quench  Message provides a rudimentary form of flow control

 Redirect  A message to a host on a directly connected router to advise the host of a better route to a particular destination  Echo and echo reply  Messages provide a mechanism for testing that communication is possible between entities  Timestamp and timestamp reply  Messages provide a mechanism for sampling the delay characteristic of the internet  Address mask request and address mask reply  The address mask request and reply messages allow a host to learn the address mask for the LAN to which it connects

 IP v 1-3 defined and replaced  IP v4 - current version  IP v5 - streams protocol  IP v6 - replacement for IP v4  During development it was called IPng  Next Generation

 The decision to standardize on a 32 bit address space meant that there were only 2 32 (4,294,967,296) IPv4 addresses available.  During the early days of the Internet, the seemingly unlimited address space allowed IP addresses to be allocated based on requests rather than its actual need.  Over the next few years, conventional computers will be joined by Personal Digital Assistants, Mobile Phones with data processing capability, smart set-up boxes with integrated web browsers, and from copy machines to kitchen appliances.

 Class C, which supports 254 hosts, is too small.  Class B, which supports hosts is too large.  In the past, sites with several hundred hosts have been assigned as single Class B address rather than couple of Class C addresses.  Unfortunately, this has resulted in a premature depletion of the Class B network address space.

 Subnetting -  In 1985, RFC 950 defined a standard procedure to support the subnetting, or division, of a single Class A, B, or C network number into smaller pieces.

 Internet routers use only the network-prefix of the address to route traffic to a subnetted environment.  Routers within the subnetted environment use the extended-network-prefix to route traffic between the individual subnet.

 CIDR was officially documented in September 1993 in RFC 1517, 1518, 1519, 1520  Eliminates the traditional concept of Class A, B and C networks and replaces it with concept of “network prefix”  CIDR supports the deployment of arbitrary size networks rather than the standard 8-bit, 16-bit, or 24 bit network numbers associated with classful addressing.

 Good News - CIDR is working.  Bad News - Recent growth trends indicate that the number of Internet routes is beginning to increase at an exponential rate.

 Recommendations for the IP Next Generation Protocol  Overall specification  addressing structure  others (find them) 

 Expanded address space  128 bit addresses instead of 32-bit addresses of IPv4. This is an increase of address space by a factor of This allows on the order of 6 x unique addresses per square meter of the surface of the earth.  Improved option mechanism  Separate optional headers between IPv6 header and transport layer header  Most are not examined by intermediate routes ▪Improved speed and simplified router processing ▪Easier to add additional options  Address autoconfiguration  This capability provides for dynamic assignment of IPv6 addresses

 Increased addressing flexibility  Anycast - delivered to one of a set of nodes  Improved scalability of multicast addresses  Support for resource allocation  Replaces type of service field in IPv4  Labeling of packets to particular traffic flow  Sender requests special handling  e.g. real time video

Example: FEDC:BA98:7654:3210:FEDC:BA98:7664:3210  128 bit is represented as:  8 integers (16-bit) separated by colons ▪each integer is represented by 4 hex digits

 Skip leading zeros  Example:1080:0000:0000:0000:0008:0800:200C: 417A  is reduced to: 1080:0:0:0:8:800:200C:417A  A set of consecutive nulls is replaced by :: (at most one :: inside an address)  the above address is reduced to: ▪1080::8:800:200C:417A

 128 bits long  Three types of address  Unicast addresses: An identifier for a single interface. A packet sent to a unicast address is delivered to the interface identified by that address  Anycast addresses: An identifier for a set of interfaces (typically belonging to different nodes). A packet sent to an anycast address is delivered to one of the interfaces (the “nearest” one) identified by that address

 Multicast: An identifier for a set of interfaces (typically belonging to different nodes). A packet sent to mulitcast address is delivered to all interfaces identified by that address.

 V6: 6 fields + 2 addr  V4: 10 fields + 2 addr + options  Deleted: ▪Header length ▪type of service ▪identification, flags, fragment offset ▪Header Checksum  Added: ▪Priority ▪Flow label  Renamed: ▪length -> Payload length ▪Protocol -> Next header ▪time to live -> Hop Limit  Redefined: Option mechanism

 Hop-by-Hop Options  Require processing at each router  Routing  Similar to v4 source routing  Fragment  Authentication  Encapsulating security payload  Destination options  For destination node

 Version (4 bits): Internet protocol version number; the value is 6.  DS/ECN (8 bits): used by originating nodes and/or forwarding routers for differentiated services and congestion functions, see IPv4 DS/ECN field.  Flow Label (20 bits): used by a host to label those packets for which it is requesting special handling by routers within a network.  Payload Length (16 bits): Length of the remainder of the IPv6 packet following the header, in octets. In other words, this is the total length of all of the extension headers plus the transport- level PDU.  Next Header (8 bits): Identifies the type of header immediately following the IPv6 header; this will either be an IPv6 extension header or a higher-layer header, such as TCP or UDP.

 Hop Limit (8 bits): The remaining number of allowable hops for this packet. The hop limit is set to some desired maximum value by the source and decremented by 1 by each node that forwards the packet. The packet is discarded if Hop Limit is decremented to zero.  Source Address (128 bits): address of originator of the packet.  Destination Address (128 bits): address of intended recipient of the packet.  Although the IPv6 header is longer than the mandatory portion of the IPv4 header (40 octets versus 20 octets), it contains fewer fields (8 versus 12). Thus, routers have less processing to do per header, which should speed up routing.

 Next header  Identifies the type of header immediately following this header  Header extension length  Length of this header in 64-bit units  Options  A variable length field consisting of one or more option definitions

 Fragmentation only allowed at source  No fragmentation at intermediate routers  Node must perform path discovery to find smallest MTU of intermediate networks  Source fragments to match MTU  Otherwise source limit all packets to 1280 octets which is the minimum MTU that must be supported by each network

 Next Header (8 bits)  Identifies the type of header immediately following this header  Reserved (8 bits) for future use  Fragmentation offset (13 bits)  Indicates where in the original packets the payload of this fragment belongs  Reserved (2 bits) reserved for future use  More flag (1 bit)  1= more fragments, 0= last fragment  Identification(32 bits)

 List of one or more intermediate nodes to be visited  Next Header  Identifies the type of header immediately following this header  Header extension length  Length of this header in 64-bit units  Routing type  Identifies a particular routing header variant. If a router does not recognize the routing type value, it must discard the packet  Segments left  i.e. number of route segments remaining, nodes still to be visited

 carries optional info for destination node  Same format as Hop-by-Hop options header

 Stallings chapter 18  All RFCs mentioned plus any others connected with these topics   Loads of Web sites on TCP/IP and IP version 6

 basic protocol functions  internetworking principles  connectionless internetworking  IP  ICMP  IPv6