ICMP - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

ICMP

Description:

Traceroute uses TTL field ... Traceroute Usage Continued. Traceroute does not discover absolute route as routes change on a per-datagram basis ... – PowerPoint PPT presentation

Number of Views:34
Avg rating:3.0/5.0
Slides: 12
Provided by: elliot8
Category:
Tags: icmp | traceroute

less

Transcript and Presenter's Notes

Title: ICMP


1
ICMP
2
Errors
  • Many different kinds of errors
  • Checksums, networks/hosts not reachable, etc.
  • Internet Control Message Protocol - at layer 3
    with IP
  • IP uses ICMP to send messages
  • ICMP uses IP for transport
  • Error messages not allowed to create new error
    messages

3
(No Transcript)
4
Examples
  • Source quench
  • Sent by routers when overwhelmed no more
    buffers
  • Sender must slow down
  • Time exceeded
  • TTL decremented to zero
  • Loop in route or traceroute

5
Examples Continued
  • Destination unreachable
  • Network, host, protocol
  • Redirect
  • Used for route changes
  • Now not used, typically an attack
  • Parameter problem bad parameter in message
  • Two non-error types
  • Echo Request/Reply
  • Address mask request

6
Encapsulation
7
Uses of ICMP Messaging
  • Ping uses echo requests
  • Traceroute uses TTL field
  • Datagram sent with TTL 1, error comes back from
    first router (with routers IP address)
  • Datagram sent with TTL 2, error comes back from
    second router
  • Etc.
  • Path MTU determination

8
Traceroute Usage Continued
  • Traceroute does not discover absolute route as
    routes change on a per-datagram basis
  • Its data most meaningful in cases where NW routes
    are stable
  • Getting last address message to ultimate
    destination
  • Microsoft echo usage to ultimate destination
    returns same address as sent
  • Unix datagram to non-existent application UDP
    to app level get back destination unreachable
    with address of interface over which error
    message is sent
  • Difference if ultimate destination is multi-homed

9
Path MTU Trying to Preempt Fragmentation
  • Communication most efficient if sender creates
    datagrams of smallest MTU along path
  • Routers dont have to fragment
  • Destination doesnt have to reassemble
  • Learn path MTU iteratively trial and error
    probing repeated sending
  • Send datagram of native LAN size with Dont
    Fragment bit set

10
Path MTU Continued
  • If receive error, reduce size
  • Repeat until no errors

11
Exercises
  • 23.2, 23.4
Write a Comment
User Comments (0)
About PowerShow.com