Ch11 Transport
Ch11 Transport
Ch11 Transport
ELEC 99.05
Transport Layer (4)
Layer 4
FTP
HTTP
DNS
TFTP
:21
:80
:53
:69
TCP
UDP
(connection-oriented)
(connectionless)
ICMP
Layer 3
Layer 1 & 2
CISCO NETWORKING ACADEMY
ARP
Token Ring
IP
Ethernet
FDDI
Layer 4
FTP
HTTP
DNS
TFTP
:21
:80
:53
:69
TCP
UDP
(connection-oriented)
(connectionless)
ICMP
Layer 3
Layer 1 & 2
CISCO NETWORKING ACADEMY
ARP
Token Ring
IP
Ethernet
FDDI
Layer 3 Limitations
No way to assure delivery of packets.
No way to control traffic flow to prevent
hosts from being overwhelmed by
data arriving too fast.
No way to keep track of multiple
conversations between between pairs
of hosts running multiple applications.
(e.g. mail & web)
CISCO NETWORKING ACADEMY
Layer 4
FTP
HTTP
DNS
TFTP
:21
:80
:53
:69
TCP
UDP
(connection-oriented)
(connectionless)
ICMP
Layer 3
Layer 1 & 2
CISCO NETWORKING ACADEMY
ARP
Token Ring
IP
Ethernet
FDDI
TCP vs UDP
TCP - Transmission Control Protocol
connection-oriented, reliable (virtual circuit)
divides outgoing messages into segments
reassembles messages at the destination
re-sends anything not received
provides flow control
more overhead than UDP (less efficient)
TCP vs UDP
UDP - User Datagram Protocol
connectionless, unreliable, does not
check message delivery
sends datagrams
does not reassemble incoming messages
provides no flow control
low overhead - faster than TCP
TCP
FTP
HTTP
DNS
TFTP
:21
:80
:53
:69
TCP
UDP
(connection-oriented)
(connectionless)
IP
Ethernet
CISCO NETWORKING ACADEMY
UDP
FTP
HTTP
DNS
TFTP
:21
:80
:53
:69
TCP
UDP
(connection-oriented)
(connectionless)
IP
Ethernet
CISCO NETWORKING ACADEMY
TCP is connection-oriented
TCP establishes a connection with
a host by using the three-way
handshake.
handshake
URG
ACK
PSH
RST
SYN
FIN
URG
ACK
PSH
RST
SYN
FIN
0 0 0 0 1 0
URG
ACK
PSH
RST
SYN
FIN
URG
ACK
PSH
RST
SYN
FIN
URG
ACK
PSH
RST
SYN
FIN
URG
ACK
PSH
RST
SYN
FIN
Code:
Window Size
Specifies number of octets a host is willing
to accept in the next TCP segment to be
sent.
Defines the amount of data that can be
transmitted without receiving an ack
(acknowledgement).
Packet 5
not
received