Tcp/Ip: © 2002, Cisco Systems, Inc. All Rights Reserved. 1

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 36

TCP/IP

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—1-1 1


Objectives

•Upon completion of this lesson, you should be able to perform the


following tasks: 
•State the purpose of Transmission Control Protocol/Internet Protocol
(TCP/IP).
•Describe the services provided by TCP/IP Application Layer
protocols.
•Given a diagram of the UDP segment format, identify and state the
purpose of each field.
•Given a diagram of the TCP segment format, identify and state the
purpose of each field.
•Identify "well-known port numbers" with their respective applications.
•Describe the operation of the TCP "three-way handshake "
synchronization process.
•Describe the TCP sequence and acknowledgment process.
•State the purpose of TCP "windowing".
•State the purpose of each of the TCP Internet Layer protocols.
•Describe the difference between ARP and Reverse ARP.
ICND v2.0—1-2
TCP/IP Overview

• E-mail
• Remote login
• Terminal emulation
• File transfer

ICND v2.0—1-3
TCP/IP compare OSI

ICND v2.0—1-4
Application

ICND v2.0—1-5
Transport

ICND v2.0—1-6
Internet

ICND v2.0—1-7
TCP Segment

ICND v2.0—1-8
UDP Segment

ICND v2.0—1-9
Port numbers

ICND v2.0—1-10
TCP Port numbers

ICND v2.0—1-11
TCP Connection.

ICND v2.0—1-12
TCP Connection (c)

ICND v2.0—1-13
TCP Connection (c)

ICND v2.0—1-14
Window

ICND v2.0—1-15
Window

ICND v2.0—1-16
Window size

ICND v2.0—1-17
Window size

ICND v2.0—1-18
Window size

ICND v2.0—1-19
Window size

ICND v2.0—1-20
Window size

ICND v2.0—1-21
TCP Sequence and
Acknowledgment Numbers

ICND v2.0—1-22
TCP Sequence and ACK (c)

ICND v2.0—1-23
TCP Sequence and ACK (c)

ICND v2.0—1-24
TCP Sequence and ACK (c)

ICND v2.0—1-25
TCP Flow control

ICND v2.0—1-26
TCP Flow control

ICND v2.0—1-27
TCP Flow control

ICND v2.0—1-28
TCP Flow control

ICND v2.0—1-29
TCP Flow control

ICND v2.0—1-30
DataGram

ICND v2.0—1-31
ICMP

ICND v2.0—1-32
ARP (Address Resolution Protocol)

ICND v2.0—1-33
RARP (Reverse ARP)

ICND v2.0—1-34
Summary.

• This lesson provided an overview of TCP/IP and describes the protocols and protocol functions of the
transport and internet layers of the TCP/IP stack. 
• The TCP/IP protocol suite includes not only Layer 3 and 4 specifications (such as IP and TCP), but also
specifications for such common applications as e-mail, remote login, terminal emulation, and file
transfer.
• Application protocols exist for file transfer, e-mail, and remote login. Network management is also
supported at the application layer.
• UDP is connectionless and unacknowledged. Although UDP is responsible for transmitting messages,
no software checking for segment delivery is provided at this layer.
• TCP is a connection-oriented, reliable protocol. TCP is responsible for breaking messages into
segments, reassembling them at the destination station, resending anything that is not received, and
reassembling messages from the segments.
• Both TCP and UDP use port (or socket) numbers to pass information to the upper layers. Port numbers
are used to keep track of different conversations crossing the network at the same time.
• The "three-way-handshake" is a synchronization process requiring each side to send its own initial
sequence number and to receive a confirmation of it in acknowledgment (ACK) from the other side.
Each side must also receive the other side's initial sequence number and send a confirming ACK.
• TCP has a sequence and acknowledgement process in which if a sequence number is missing in a
series of transmitted segments, that segment is retransmitted. Segments that are not acknowledged
within a given time period result in retransmission.
• "Windowing" is a flow control mechanism in which the receiving TCP reports a "window" to the sending
TCP. If there are any dropped packets, such as due to congestion, the windowing is adjusted.
• Several protocols operate at the TCP/IP Internet layer, which corresponds to the OSI network layer: IP,
ICMP, ARP, and RARP.
• ARP is used to resolve or map a known IP address to a MAC sublayer address to allow communication
on a multi-access medium such as Ethernet. RARP performs the opposite function, determining the IP
address from a known MAC address.

ICND v2.0—1-35
ICND v2.0—1-36

You might also like