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.

Slides:



Advertisements
Similar presentations
,< 資 管 Lee 附錄 A0 IGMP vs Multicast Listener Discovery.
Advertisements

Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
Helper Protocols Protocols that either make it easier for IP to do its job, or extend the capabilities of the network layer.
Internet Control Message Protocol (ICMP)
Subnetting.
Internet Control Message Protocol (ICMP)
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 03/04/2007.
1 CCNA 2 v3.1 Module 8. 2 TCP/IP Suite Error and Control Messages CCNA 2 Module 8.
McGraw-Hill©The McGraw-Hill Companies, Inc., Chapter 20 Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6.
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.
TCP/IP Protocol Suite 1 Chapter 9 Upon completion you will be able to: Internet Control Message Protocol Be familiar with the ICMP message format Know.
TCP/IP Protocol Suite 1 Chapter 9 Upon completion you will be able to: Internet Control Message Protocol Be familiar with the ICMP message format Know.
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Network Administration
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 9 Internet Control Message.
Internet Control Message Protocol (ICMP)
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
23-Support Protocols and Technologies Dr. John P. Abraham Professor UTPA.
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
1 Version 3.1 modified by Brierley Module 8 TCP/IP Suite Error and Control Messages.
Covering ICMP (Ch 9) and IGMP (Section 12.3)
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 8 TCP/IP Suite Error and Control Messages.
© 2002, Cisco Systems, Inc. All rights reserved..
CCNA 2 Week 8 TCP/IP Suite Error Control Messages.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 15 Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
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.
Connecting The Network Layer to Data Link Layer. ARP in the IP Layer The Address Resolution Protocol (ARP) The Address Resolution Protocol (ARP) Part.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 9 Internet Control Message Protocol (ICMP)
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
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.
Internet Protocols. Address Resolution IP Addresses are not recognized by hardware. If we know the IP address of a host, how do we find out the hardware.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
Error and Control An IP datagram travels from node to node on the way to its destination Each router operates autonomously Failures or problems may occur.
Chapter 23 Internet Control Message Protocol used to report information and errors IP uses ICMP when it sends an error message ICMP uses IP to transport.
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
TCP/IP Protocol Suite 1 Chapter 10 Upon completion you will be able to: Internet Group Management Protocol Know the purpose of IGMP Know the types of IGMP.
1 Kyung Hee University Chapter 8 ARP(Address Resolution Protocol)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 10 Internet Group Management Protocol (IGMP)
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 Connectivity with ARP and RARP. 2 There needs to be a mapping between the layer 2 and layer 3 addresses (i.e. IP to Ethernet). Mapping should be dynamic.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
Network Layer 3 Application Presentation Session Transport Network Data Link Physical OSI Model.
ADDRESS MAPPING ADDRESS MAPPING The delivery of a packet to a host or a router requires two levels of addressing: logical and physical. We need to be able.
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
ICMP The IP provides unreliable and connectionless datagram delivery. The IP protocol has no error-reporting or error-correcting mechanism. The IP protocol.
Chapter 21 Address Mapping
Chapter 8 ARP(Address Resolution Protocol)
6 Network Layer Part III Computer Networks Tutun Juhana
21-2 ICMP(Internet control message protocol)
Chapter 9 ICMP.
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
8 Network Layer Part V Computer Networks Tutun Juhana
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
Net 323: NETWORK Protocols
Net 323: NETWORK Protocols
Advanced Computer Networks
ARP: Address Resolution Protocol
Chapter 10 IGMP Prof. Choong Seon HONG.
Internet Control Message Protocol
Internet Control Message Protocol
TCP/IP Protocol Suite 1 Chapter 9 Upon completion you will be able to: Internet Control Message Protocol Be familiar with the ICMP message format Know.
Presentation transcript:

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

Computer Networks21-2 Address Resolution Protocol (ARP) Two levels of addresses: Physical address (local address: MAC address) and Logical address (network address: IP address) 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

Computer Networks21-3 ARP operation ARP associates an IP address with its MAC addresses An ARP request is broadcast; an ARP reply is unicast.

Computer Networks21-4 ARP Packet Format Protocol Type: 0800 for IPv4, Hardware length: 6 for Ethernet, Protocol length: 4 for IPv4

Computer Networks21-5 Encapsulation of ARP packet ARP packet is encapsulated directly into a data link frame (example: Ethernet frame)

Computer Networks21-6 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

Computer Networks21-7 Four different cases using ARP

Computer Networks21-8 ARP: Example

Computer Networks21-9 Proxy ARP A technique used to create a subnetting effect An ARP that acts on behalf of a set of hosts

Computer Networks21-10 Mapping Physical to Logical Address RARP, BOOTP, and DHCP RARP(Reverse ARP): serious problem due to broadcasting at the data link layer. RARP server required for each network or subnet. BOOTP and DHCP are replacing RARP BOOTP(Bootstrap Protocol) is a client/server protocol designed to provide physical address to logical address mapping BOOTP is an application layer protocol BOOTP is not a dynamic configuration protocol DHCP(Dynamic Host Configuration Protocol) provides static and dynamic address allocation that can be manual or automatic

Computer Networks21-11 BOOTP Client and Server

Computer Networks21-12 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

Computer Networks21-13 Error Reporting 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

Computer Networks21-14 ICMP Error Messages Important points about ICMP error messages: –No ICMP error message will be generated in response to a datagram carrying an ICMP error message –No ICMP error message will be generated for a fragmented datagram that is not the first fragment –No ICMP error message will be generated for a datagram having a multicast address –No ICMP error message will be generated for a datagram having a special address such as or

Computer Networks21-15 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

Computer Networks21-16 Debugging Tools Two tools that use ICMP for debugging or tracing the route of a packet: ping and traceroute Ping: ICMP echo-request message and echo-reply message

Computer Networks21-17 Debugging Tools: Traceroute Traceroute program in UNIX or tracert in Windows can be used to trace the route of a packet from the source to the destination

Computer Networks21-18 IGMP Internet Group Management Protocol (IGMP) is one of the necessary, but not sufficient, protocol for multicasting. IGMP is a companion to the IP protocol IGMP is a group management protocol. It helps a multicast router create and update a list of loyal members related to each router interface

Computer Networks21-19 IGMP Message Format

Computer Networks21-20 IGMP Operation Joining a group –In IGMP, a membership report is sent twice, one after the other Leaving a group Monitoring membership –The general query message does not define a particular group

Computer Networks21-21 IGMP: Delayed Response To prevent unnecessary traffic, IGMP uses a delayed response strategy Example: –Time 12: The timer for in host A expires, and a membership report is sent, which is received by the router and every host including host B which cancels its timer for –Time 30: The timer for in host A expires, and a membership report is sent which is received by the router and every host including host C which cancels its timer for –Time 50: The timer for in host B expires, and a membership report is sent, which is received by the router and every host.

Computer Networks21-22 IGMP: Encapsulation at Network Layer IP encapsulation The IP packet that carries an IGMP packet has a value of 1 in its TTL field

Computer Networks21-23 IGMP: Encapsulation at Data Link Layer ARP cannot find the corresponding MAC (physical) address to forward the packet at the data link layer because the IP packet has a multicast IP address Mapping class D to Ethernet physical address An Ethernet multicast physical address is in the range 01:00:5E:00:00:00 to 01:00:5E:7F:FF:FF Most WAN do not support physical multicast address. To send a multicast packet through these networks, tunneling is used.

Computer Networks21-24 IGMP: Tunneling Most WAN do not support physical multicast address. To send a multicast packet through these networks, tunneling is used. Netstat utility can be used to find the multicast addresses supported by an interface

Computer Networks21-25 ICMPv6

Computer Networks21-26 ICMPv6 Comparison of query messages in ICMPv4 and ICMPv6