(CCNA) 3.transport Layer Protocols
(CCNA) 3.transport Layer Protocols
Protocols
TCP and UDP
Both TCP and UDP use port numbers to pass to the upper layers.
Port numbers have the following ranges:
0-255 used for public applications, 0-1023 also called well-known
ports, regulated by IANA (Internet assigned numbers authority).
Numbers from 255-1023 are assigned to marketable applications
1024 through 49151 Registered Ports, not regulated.
49152 through 65535 are Dynamic and/or Private Ports .
Source Port
5512 Destination Port
23
TRANSPORT
LAYER TCP Header
NETWORK
LAYER 6
IP Header Source IP Address; 128.66.12.2
ETHERNET
DATA LINK
LAYER PREAMBLE
DESTINATION ADDR SOURCE ADDR
00 00 1B 09 08 07
FIELD
IP
HEADER
TCP
HEADER DATA FCS
00 00 1B 12 23 34 TYPE
Source Port
5512 Destination Port
TRANSPORT UDP 69
LAYER
NETWORK
IP Header
LAYER 17
Source IP Address; 128.66.12.2
ETHERNET
DATA LINK
LAYER PREAMBLE
DESTINATION ADDR SOURCE ADDR
00 00 1B 09 08 07
FIELD
IP
HEADER
TCP
HEADER DATA FCS
00 00 1B 12 23 34 TYPE
ETHERNET
2 4
8 6 6
Dr. Muazzam A. Khan 15
TCP Segment Format
Number of the calling port Number of the called port
set to zero
Control setup and
termination of session
Number of octets sender is
Indicates the end of the urgent data willing to accept
Data
. . .
ETHERNET FCS
DESTINATION SOURCE FIELD IP HEADER UDP DATAGRAM
PREAMBLE TYPE
ADDRESS ADDRESS
8 6 6 2 8-1500 4