4.TCP IP Model
4.TCP IP Model
7 Application
Process
6 Presentation
Application
5 Session
4 Transport Host to Host
3 Network Internet
2 Data Link Network Access
1 Physical 3
2 Models
Side-By-Side
7 Application
6 Presentation Process
5 Session Application
5
The Transport Layer
7
The Network Access Layer
The network access layer is also called the host-to-network
layer. It the layer that is concerned with all of the issues that
an IP packet requires to actually make a physical link to the
network media. It includes LAN and WAN details, and all the
details contained in the OSI physical and data-link layers. NOTE:
ARP & RARP work at both the Internet and Network Access
Layers.
8
Comparing TCP/IP & OSI Models
NOTE: TCP/IP transport layer using UDP does not always guarantee reliable
delivery of packets as the transport layer in the OSI model does.
9
Introduction to the Transport Layer
The primary duties of the transport layer, Layer 4 of the OSI model, are
to transport and regulate the flow of information from the source to
the destination, reliably and accurately.
10
More on The Transport Layer
The transport layer provides transport services from the source host
to the destination host.
Flow control avoids the problem of a transmitting host overflowing the buffers in the
receiving host.
12
3-Way Handshake
TCP requires connection establishment before data transfer begins.
For a connection to be established or initialized, the two hosts must
synchronize their Initial Sequence Numbers (ISNs).
13
Basic Windowing
Data packets must be
delivered to the
recipient in the same
order in which they
were transmitted to
have a reliable,
connection-oriented
data transfer.
The protocol fails if any
data packets are lost,
damaged, duplicated, or
received in a different
order.
An easy solution is to
have a recipient
acknowledge the
receipt of each packet
before the next packet
is sent.
14
Sliding Window
15
Sliding Window
with Different Window Sizes
16
TCP Sequence & Acknowledgement
17
TCP
Transmission Control Protocol (TCP) is a connection-oriented Layer 4 protocol
that provides reliable full-duplex data transmission.
19
UDP
User Datagram Protocol (UDP) is the connectionless transport protocol in the
TCP/IP protocol stack.
21
Well Known Port Numbers
The following port numbers should be memorized:
NOTE:
The curriculum forgot to mention one of the most important port numbers.
Port 80 is used for HTTP or WWW protocols. (Essentially access to the internet.)
22
URL
23
SNMP – Managed Network
24
25
Base 2 Number System
101102 = (1 x 24 = 16) + (0 x 23 = 0) + (1 x 22 = 4) +
(1 x 21 = 2) + (0 x 20 = 0) = 22
26
Converting Decimal to Binary