Chapter 8
Chapter 8
DATAGRAM
IP Datagram
2 XXXX11 Local
1 ICMP
2 IGMP
6 TCP
17 UDP
89 OSPF
Figure 8-5
DeMultiplexing
ç 45000028000100000102...................
How many hops can this packet travel before
being dropped? The data belong to what
upper layer protocol?
The McGraw-Hill Companies, Inc., 2000
Solution
FRAGMENTATION
MTU
IP Datagram
Flag Field
Fragmentation Example
Detailed Example
o If the M bit is 0
n There are no more fragments
n The fragment is the last one
o However, we cannot say if the original packet
was fragmented or not
o A nonfragmented packet is considered the last
fragment
Example 6
o If the M bit is 1
n There is at least one more fragment
o This fragment can be the first one or a middle one,
but not the last one
o We don’t know if it is the first one or a middle one;
we need more information
n The value of the fragmentation offset
o However, we can definitely say the original packet
has been fragmented because the M bit value is 1
Example 7
o The M bit is 1
n Either the first fragment or a middle one.
OPTIONS
Option Format
Categories of Options
Timestamp Option
$ ping fhda.edu
PING fhda.edu (153.18.8.1) 56(84) bytes of data.
64 bytes from tiptoe.fhda.edu (153.18.8.1): ....
Example 13
o We can also use the ping utility with the -R
option to implement the record route option
$ ping -R fhda.edu
PING fhda.edu (153.18.8.1) 56(124) bytes of data.
64 bytes from tiptoe.fhda.edu (153.18.8.1): icmp_seq=0 ttl=62 time=2.70 ms
RR: voyager.deanza.fhda.edu (153.18.17.11)
Dcore_G0_3-69.fhda.edu (153.18.251.3)
Dbackup_V13.fhda.edu (153.18.191.249) tiptoe.fhda.edu (153.18.8.1)
Dbackup_V62.fhda.edu (153.18.251.34)
Dcore_G0_1-6.fhda.edu (153.18.31.254)
voyager.deanza.fhda.edu (153.18.17.11)
Example 14
o The traceroute utility can also be used to keep
track of the route of a packet
$ traceroute fhda.edu
traceroute to fhda.edu (153.18.8.1), 30 hops max, 38 byte packets
1 Dcore_G0_1-6.fhda.edu (153.18.31.254) 0.972 ms 0.902 ms 0.881 ms
2 Dbackup_V69.fhda.edu (153.18.251.4) 2.113 ms 1.996 ms 2.059 ms
3 tiptoe.fhda.edu (153.18.8.1) 1.791 ms 1.741 ms 1.751 ms
CHECKSUM
IP Datagram
Checksum Concept
IP PACKAGE
IP Components
MTU Table
Reassembly Table