0% found this document useful (0 votes)
375 views210 pages

Transport Layer: Chapter - 7

The document discusses port numbers in computer networking. It explains that a port is a communication endpoint identified by a 16-bit number, and the most common protocols that use ports are TCP and UDP. It describes the three ranges of port numbers: well-known ports from 0-1023, registered ports from 1024-49151, and dynamic or private ports from 49152-65535. It provides examples of common well-known ports like HTTP (80) and HTTPS (443).

Uploaded by

Aviral
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
375 views210 pages

Transport Layer: Chapter - 7

The document discusses port numbers in computer networking. It explains that a port is a communication endpoint identified by a 16-bit number, and the most common protocols that use ports are TCP and UDP. It describes the three ranges of port numbers: well-known ports from 0-1023, registered ports from 1024-49151, and dynamic or private ports from 49152-65535. It provides examples of common well-known ports like HTTP (80) and HTTPS (443).

Uploaded by

Aviral
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 210

CHAPTER - 7

Transport
Layer

Neso Academy
OSI Reference Model - A Recap
OSI Reference Model






Transport Layer
Transport Layer
Transport Layer
Transport Layer
Computer Networks
A Bottom up approach

Port Numbers
Outcomes
Upon the completion of this session, the learner will be able to

★ Understand the role of port numbers.


★ Know the various ranges of port numbers.
★ Understand well-known, registered and dynamic port numbers.
★ Know how port number is used in URLs.
Transport Layer
Transport Layer
Port Numbers
★ In computer networking, a port is a communication endpoint.
★ At the software level, within an operating system, a port is a logical
construct that identifies a specific process or a type of network
service.
★ A port is identified for each transport protocol and address
combination by a 16-bit unsigned number, known as the port number.
★ The most common transport protocols that use port numbers are the
Transmission Control Protocol (TCP) and the User Datagram Protocol
(UDP).
Port Numbers
★ In computer networking, a port is a communication endpoint.
★ At the software level, within an operating system, a port is a logical
construct that identifies a specific process or a type of network
service.
★ A port is identified for each transport protocol and address
combination by a 16-bit unsigned number, known as the port number.
★ The most common transport protocols that use port numbers are the
Transmission Control Protocol (TCP) and the User Datagram Protocol
(UDP).
Port Numbers

★ This includes the registration of commonly used port numbers for


well-known Internet services.
★ The port numbers are divided into three ranges:
○ Well-known ports,
○ Registered ports, and
○ Dynamic or private ports.
1. Well-known ports
Port Number Assignment

20 File Transfer Protocol (FTP) Data Transfer


21 File Transfer Protocol (FTP) Command Control
22 Secure Shell (SSH) Secure Login
23 Telnet remote login service, unencrypted text messages
25 Simple Mail Transfer Protocol (SMTP) E-mail routing
53 Domain Name System (DNS) service
67, 68 Dynamic Host Configuration Protocol (DHCP)
80 Hypertext Transfer Protocol (HTTP) used in the World Wide Web
110 Post Office Protocol (POP3)
123 Network Time Protocol (NTP)
143 Internet Message Access Protocol (IMAP) Management of digital mail
161 Simple Network Management Protocol (SNMP)
443 HTTP over SSL/TLS (or) HTTP Secure
2. Registered Ports
★ The registered ports are those from 1024 through 49151.
★ IANA maintains the official list of well-known and registered ranges.
★ IANA is responsible for the global coordination of the DNS Root, IP
addressing, and other Internet protocol resources.
★ This includes the registration of commonly used port numbers for
well-known Internet services.
3. Dynamic Ports
★ The dynamic or private ports are those from 49152 through 65535.
★ Assigned by the Operating System dynamically.
Port Number in URLs
★ Port numbers are sometimes seen in web or other uniform resource
locators (URLs).
★ By default, HTTP uses port 80 and HTTPS uses port 443.
★ URL - http://www.example.com:8080/path/ specifies the web browser
to connect to port 8080 of the HTTP server.
Homework
The port number of Simple Mail Transfer Protocol (SMTP) is _____.

A) 45
B) 65
C) 25
D) 35
Outcomes
Upon the completion of this session, the learner will be able to

★ Understand the role of port numbers.


★ Know the various ranges of port numbers.
★ Understand well-known, registered and dynamic port numbers,
★ Know how port number is used in URLs.
Thank you!
Outcomes




Transport Layer Protocols
Process to Process to
Process Process

TCP/IP Model TCP/IP Model


Transport Layer Protocols - TCP and UDP
Applications that use TCP





Applications that use UDP







Outcomes



UDP











UDP


UDP




UDP




Use of UDP


Use of UDP


Outcomes



UDP Header Format
UDP Header Format
0 15 31

= =
UDP Header Format




UDP Header Format



UDP Header Format


UDP Header Format


Question
UDP Header Format

= =
UDP Header Format

→ →

= =
UDP Header Format

→ →


Answer

→ →


Question 1


Question 2


Question 3


Outcomes



Pseudo-header in UDP






Pseudo-header in UDP



UDP Header Pseudo-Header
Pseudo-header in UDP
Example

01101001
00010100
Outcomes



TCP










Features of TCP









TCP Stream Delivery
TCP Sending and Receiving Buffers
TCP Segments

....
Outcomes





TCP Stream Delivery
TCP Sending and Receiving Buffers
TCP Segments

....
Outcomes



Protocol Data Unit (PDU)
TCP Header Format

U A P R S F
R C S S Y I
G K H T N N
TCP Header Format


TCP Header Format


TCP Header Format


TCP Header Format


TCP Header Format




TCP Header Format



Outcomes



TCP Header Format

U A P R S F
R C S S Y I
G K H T N N
TCP Header Format



TCP Header Format







TCP Header Format



TCP Header Format


TCP Header Format


TCP Header Format



Outcomes



TCP Connection









Analogy
Three phases of TCP connection
Outcomes



Three phases of TCP connection
TCP Connection Establishment
TCP Connection Establishment
Outcomes




Three phases of TCP transmission
TCP Data transfer




TCP Data transfer
Outcomes



Three phases of TCP transmission
TCP Connection Termination




TCP Connection Termination
TCP Connection Termination
Outcomes



Flow Control







TCP Sliding Window
Points to Ponder




Outcomes



TCP Sliding Window
TCP Sliding Window
Points to Ponder




TCP Sliding Window
Question
Question 2
TCP Sliding Window
Points to Ponder




Question 1


Question 2
TCP Data transfer
Question 2


Question 3
Question 4
Question 4
Question 5
Outcomes



Switching Techniques
Congestion - Analogy

Neso Academy
proudly
presents….
Congestion
When packet arrives at incoming interface?
Congestion Control
Outcomes



Congestion
Congestion Control
Congestion Control
Congestion Control






Congestion Control






Congestion Control




Congestion Control





Congestion Control


Outcomes



Congestion Control
Congestion Control
Congestion Control
Congestion Control
Congestion Control


Congestion Control







Outcomes



Congestion
Congestion Control in TCP
Congestion Control in TCP
Congestion Control in TCP


Congestion Control in TCP



Congestion Control in TCP


Congestion Control in TCP
Outcomes



Congestion Control in TCP
Slow start
Slow start
Slow start



Outcomes



Congestion Control in TCP
2. Additive Increase



Additive Increase
Additive Increase
Outcomes



Congestion Control in TCP
3. Multiplicative Decrease









3. Multiplicative Decrease
Multiplicative Decrease
Outcomes



Analogy
The Internet
QoS






Flow characteristics




Flow characteristics




Flow characteristics





Flow characteristics



Outcomes



Analogy
Flow characteristics




Flow characteristics




Flow characteristics





Flow characteristics



Outcomes



Techniques to improve QoS
Techniques to improve QoS
Scheduling



Scheduling



FIFO Queuing
Scheduling



Priority Queuing
Weighted Fair Queuing
Outcomes



Techniques to improve QoS
Techniques to improve QoS
Traffic shaping



Traffic shaping



Leaky Bucket
Leaky Bucket
Leaky Bucket
Leaky Bucket



Token Bucket
Token Bucket








Outcomes






Techniques to improve QoS
Techniques to improve QoS
Traffic shaping



Traffic shaping



Leaky Bucket
Token Bucket
Combining Leaky and Token Buckets




Techniques to improve QoS
Admission Control




Techniques to improve QoS
Resource Reservation








Neso Academy

You might also like