Professional Documents
Culture Documents
PROTOCOL ANALYSIS
• TCP/IP (Transmission Control Protocol/Internet Protocol) is not simply one protocol, but
rather a suite of specialized protocols-including TCP, IP, UDP, ARP, and many others called sub
protocols.
• TCP/IP is a de facto standard on the Internet and has become the protocol of choice on LANs
and WANs.
• TCP/IP would not have become so popular if it weren’t routable. Protocols that can span
more than one LAN (or LAN segment) are routable, because they carry Network layer
addressing information that can be interpreted by a router.
• TCP (Transmission Control Protocol) operates in the Transport layer of the OSI model
and provides reliable data delivery services.
• TCP is a connection-oriented sub protocol
Problem Related to TCP
• Packet replication
• Checksum error
• Bottleneck bandwidth
• Packet loss
• PACKET REPLICATION
- Packets are retransmitted over the network if there is congestion or if
the packet lost.
- When the packet is retransmitted, the packet is replicated.
• CHECKSUM ERROR
- The checksum is part of the TCP header field.
- The purpose of a checksum is to ensure data integrity.
- A failed checksum indicates a problem with the data in a packet.
- In this case, the packet has to be retransmitted.
• BOTTLENECK BANDWIDTH
- Bottleneck bandwidth is the rate at which all bandwidth is used and
even a single additional packet cannot be accommodated.
- The self-interference time can be calculated if the bottleneck
bandwidth is known.
- It is good to measure at the buffer of the receiver.
• PACKET LOSS
- Packet loss occurs when one or more packets of data travelling across
a computer network fail to reach their destination.
- Packet loss is typically caused by network congestion.
- Packet loss is measured as a percentage of packets lost with respect
to packets sent.
IP Datagram
• Maximum Transfer Unit (MTU)
• Fragmentation
• Encapsulation
• Packets in the network (internet) layer are called datagrams.
• A datagram is a variable-length packet consisting of two parts:
header and data.
• The header is 20 to 60 bytes in length and contains information
essential to routing and delivery.
Maximum Transmission Unit
• Maximum size of IP datagram is 65535, but the data link layer protocol generally
imposes a limit that is much smaller
• Example:
• Ethernet frames have a maximum payload of 1500 bytes
IP datagrams encapsulated in Ethernet frame cannot be longer than 1500
bytes
• The limit on the maximum IP datagram size, imposed by the data link protocol is
called maximum transmission unit (MTU)
Ethernet
FDDI
Ring
Host A Router Host B
MTUs: FDDI: 4352 Ethernet: 1500
• Fragmentation:
• IP router splits the datagram into several datagram
• Fragments are reassembled at receiver
14
Where is Fragmentation done?
Router
15
Example of Fragmentation
• A datagram with size 2400 bytes must be fragmented according to an MTU
limit of 1000 bytes