Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6 20.1 ARP 20.2 IP 20.3 ICMP 20.4 IPv6.

Slides:



Advertisements
Similar presentations
Ch 20. Internet Protocol (IP) Internetworking PHY and data link layers operate locally.
Advertisements

TCP/IP Protocol Suite 1 Chapter 27 Upon completion you will be able to: Next Generation: IPv6 and ICMPv6 Understand the shortcomings of IPv4 Know the IPv6.
1 Chapter 11 Next Generation: IPv6 Chapter 11 Next Generation: IPv6 Mi-Jung Choi Dept. of Computer Science and Engineering
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.
U N I T - 3.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IPv4 - The Internet Protocol Version 4
Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
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.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
Internet Control Message Protocol (ICMP)
McGraw-Hill©The McGraw-Hill Companies, Inc., Chapter 20 Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6.
Group members:- Himasweta pattanaik M.A.Sravni Liakat ali khan Agamani karmakar.
Chapter Overview TCP/IP Protocols IP Addressing.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Chapter 27 Next Generation: IPv6 and ICMPv6
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 8 TCP/IP Suite Error and Control Messages.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 15 Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6.
Chapter 22 Next Generation IP 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.
UNIT IP Datagram Fragmentation Figure 20.7 IP datagram.
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.
Network Layer: Internet Protocol.
Chapter 19 Network Layer Protocols 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.
1 Kyung Hee University Chapter 27 Next Generation: IPv6 and ICMPv6.
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.
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
Chapter 20 Network Layer: Internet Protocol
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer NAT, IPv6.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Network Layer: Address Mapping, Error Reporting, and Multicasting
1 Chapter 4: Internetworking (Internet Protocol) Dr. Rocky K. C. Chang 16 March 2004.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
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.
Packet Switch Network Server client IP Ether IPTCPData.
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.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Next Generation: IPv6 and ICMPv6
ICMP The IP provides unreliable and connectionless datagram delivery. The IP protocol has no error-reporting or error-correcting mechanism. The IP protocol.
Chapter 19 Network Layer Protocols
Chapter 8 ARP(Address Resolution Protocol)
Chapter 9 ICMP.
The New Internet Protocol
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
The New Internet Protocol
Department of Computer and IT Engineering University of Kurdistan
Chapter 20 Network Layer: Internet Protocol
Chapter 20 Network Layer: Internet Protocol
CPEG512 Advanced Computer Networks
Chapter 20. Network Layer: IP
Net 323 D: Networks Protocols
Chapter 15. Internet Protocol
NET 323D: Networks Protocols
Presentation transcript:

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

Fall 2005Computer Networks20-2 Protocols at network layer In TCP/IP suite, five network layer protocols: ARP, RARP, IP, ICMP, and IGMP

Fall 2005Computer Networks20-3 Address Resolution Protocol (ARP) Two levels of addresses: IP and MAC Need to be able to map an IP address to its corresponding MAC address Two types of mapping : static and dynamic Static mapping has some limitations and overhead against network performance Dynamic mapping: ARP and RARP ARP: mapping IP address to a MAC address RARP (replaced by DHCP): mapping a MAC address to an IP address

Fall 2005Computer Networks20-4 ARP operation ARP associates an IP address with its MAC addresses An ARP request is broadcast; an ARP reply is unicast.

Fall 2005Computer Networks20-5 ARP packet format Protocol Type: 0800 for IPv4, Hardware length: 6 for Ethernet, Protocol length: 4 for IPv4

Fall 2005Computer Networks20-6 Encapsulation of ARP packet ARP packet is encapsulated directly into a data link frame (example: Ethernet frame)

Fall 2005Computer Networks20-7 ARP Operation The sender knows the IP address of the target IP asks ARP to create an ARP request message The message is encapsulated in a frame (destination address = broadcast address) Every host or router receives the frame. The target recognizes the IP address The target replies with an ARP reply message (unicast with its physical address) The sender receives the reply message knowing the physical address of the target The IP datagram is now encapsulated in a frame and is unicast to the destination

Fall 2005Computer Networks20-8 Four different cases using ARP

Fall 2005Computer Networks20-9 Example

Fall 2005Computer Networks20-10 Internet Protocol (IP) IP: Host-to-host network layer delivery protocol Unreliable and connectionless datagram protocol for a best-effort delivery service The total length field defines the total length of the datagram including the header.

Fall 2005Computer Networks20-11 IP Header Version: IPv6, IPv4 Differentiated services defines the class of the datagram for Quality if Servicre(QoS) Total length = Length of data + header length : (2 16 – 1) Identification, flag, and offset for fragmentation Time to live (TTL): Used to control the max. number of hops (router) visited by the datagram Protocol for Multiplexing: 1: ICMP, 2: IGMP, 6: TCP, 17: UDP, 89: OSPF

Fall 2005Computer Networks20-12 Checksum

Fall 2005Computer Networks20-13 Fragmentation Ethernet and ATM : Fragmentation Maximum Transfer Unit (MTU) : 65,535 bytes for IP datagram

Fall 2005Computer Networks20-14 Field related to fragmentation Identification: identifies a datagram originating form the source host Flags: the first bit (reserved), the second bit (do not fragment bit), the third bit (more fragment bit, 0 means this is the last or only fragment) Fragmentation offset: (13 bits cannot represent a sequence of bytes greater than 8191

Fall 2005Computer Networks20-15 ICMP IP has no error-reporting or error-correcting mechanism IP also lacks a mechanism for host and management queries Internet Control Message Protocol (ICMP) is designed to compensate for two deficiencies, which is a companion to the IP Two types messages: error-reporting messages and query messages

Fall 2005Computer Networks20-16 Error-reporting messages ICMP always reports error messages to the original source. Source quench: There is no flow control or congestion control mechanism in IP. Time exceed: (1) TTL related, (2) do not receive all fragments with a certain time limit Redirection: To update the routing table of a host

Fall 2005Computer Networks20-17 Query messages To diagnose some network problems A node sends a message that is answered in a specific format by the destination node Echo for diagnosis; Time-stamp to determine RTT or synchronize the clocks in two machines; Address mask to know network address, subnet address, and host id; Router solicitation to know the address of routers connected and to know if they are alive and functioning

Fall 2005Computer Networks20-18 IPv6 address The use of address space is inefficient Minimum delay strategies and reservation of resources are required to accommodate real-time audio and video transmission No security mechanism (encryption and authentication) is provided IPv6 (IPng: Internetworking Protocol, next generation) –Larger address space (128 bits) –Better header format –New options –Allowance for extention –Support for resource allocation: flow label to enable the source to request special handling of the packet –Support for more security

Fall 2005Computer Networks20-19 IPv6 address CIDR address

Fall 2005Computer Networks20-20 IPv6 datagram IPv6 defines three types of addresses: unicast, anycast (a group of computers with the same prefix address), and multicast

Fall 2005Computer Networks20-21 IPv6 Header Version: IPv4, IPv6 Priority (4 bits): the priority of the packet with respect to traffic congestion Flow label (3 bytes): to provide special handling for a particular flow of data Payload length Next header (8 bits): to define the header that follows the base header in the datagram Hop limit: TTL in IPv4 Source address (16 bytes) and destination address (16 bytes): if source routing is used, the destination address field contains the address of the next router

Fall 2005Computer Networks20-22 ICMPv6 ICMPv4 has been modified to make it more suitable for IPv6 ARP and IGMP in version 4 are combined in ICMPv6 and RARP dropped

Fall 2005Computer Networks20-23 Three transition strategies from IPv4 to IPv6 Transition should be smooth to prevent any problems between IPv4 and IPv6 systems

Fall 2005Computer Networks20-24 Dual stack All hosts have a dual stack of protocols before migrating completely to version 6

Fall 2005Computer Networks20-25 Tunneling IPv6 packet is encapsulated in an IPv4 packet

Fall 2005Computer Networks20-26 Header translation Necessary when the majority of the Internet has moved to IPv6 but some systems still use IPv4 Header format must be changed totally through header translation