SlideShare une entreprise Scribd logo
1  sur  24
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Network Fundamentals
Abdelkhalik Elsaid Mosa
abdu.elsaid@yahoo.com
http://abdelkhalik.staff.scuegypt.edu.eg/
Last Update: 10/7/2011
“In God we trust,
all others bring data”
- W. Edwards Deming
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Introduction
• Layer 4, responsible for the overall end-to-end transfer of
application data.
• Transport layer also encompasses these functions:
1. Enables multiple applications to communicate over the
network at the same time on a single device.
2. Ensures that, if required, all the
data is received reliably and
in order by the correct
application.
3. Employs error
handling mechanisms.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Applications Requirements Vary
• Because different applications have different
requirements, there are multiple Transport layer protocols.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Data Encapsulation
Transport
Data Link
Physical
Network
Data
Header Data
Presentation
Application
Session
Segment-Datagram
Packet
Bits
Frame
Header Segment / Datagram
Header Packet Trailer
1000000111111000001110000
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
TCP and UDP
• UDP
 is a simple, low overhead, connectionless protocol, RFC 768
 Pieces of communication in UDP are called datagrams.
 Datagrams are sent as "best effort“ “Unreliable”.
 Applications that use UDP include:
 DNS,DHCP,SNMP,RIP, TFTP, Online games, Video Streaming, and VoIP.
• TCP
 is a connection-oriented, RFC 793, additional overhead
 Reliable delivery.
 Flow control which prevents overflow
 Applications that use TCP are:
 Web Browsers, E-mail, File Transfers.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Transport Layer Header
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
TCP Header Fields
• Source port : a random value above 1023.
• Destination port: Identifies the destination protocol or application.
• Sequence number: the first byte in the current segment.
Is the SYN flag set or not??
• Acknowledgement number: specifies the next expected byte by
the receiver.
• Window size: determines how many bytes can be sent before
waiting for acknowledgement.
• H.length (Offset): the length of the segment header in bytes.
• Checksum: used for error checking.
• Reserved: Reserved for future use and should be set to zero.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Port Addressing
• Port Number (L4 Addressing): Uniquely identifies applications.
 Server processes have static port numbers assigned to them.
 Clients dynamically choose a port number for each conversation.
• Socket: is the combination of the port number and the IP
address, Ex: 198.16.23.213:80.
• Socket Pair: consists of the source and destination IP addresses
and port numbers, is also unique and identifies the conversation
between the two hosts.
• IANA is responsible for assigning various addressing standards.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Types of port numbers
1. Well Known Ports (0 to 1023): are reserved for services and
applications such as HTTP (80), SMTP (25), DNS (53), ... .
2. Registered Ports (1024 to 49151): are assigned to user
processes or applications such as MSN Messenger (1863).
3. Dynamic or Private ‘Ephemeral’ Ports (49152 to 65535):
assigned dynamically to client applications when initiating a
connection.
Well Known UDP Ports
69 - TFTP
520 - RIP
Well Known TCP/UDP Ports
53 - DNS
161 - SNMP
Well Known TCP Ports
Telnet: 23, SMTP:25, HTTP:
80, POP3: 110, HTTPS:443
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Identifying Applications and hosts
• Netstat: examines the open connections on a host
192.168.1.101
172.16.5.5
Destination Port
80
80
Source Port
49890
49888
198.133.219.25
49888
www.cisco.com
66.13.29.25
80
Source Port
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Transport Layer Functions
• TCP/UDP Functions.
1.Segmentation and Reassembly.
2.Conversation Multiplexing using port numbers.
3.Error detection.
• TCP Additional functions
1.Connection Establishment (3-way handshake)
2.Connection Management.
 Reliability (acknowledgements).
 Flow control (Buffering, congestion avoidance, windowing).
 Error correction .
3. Connection Termination (4-way handshake)
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
At the source: Segmentation
• divides application data into blocks of data that are of
appropriate size
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
At the Destination: TCP in order Reassembly
• The Transport layer reassembles the data before sending it to the
destination application or service.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
At the Destination: UDP Out of order Reassembly
• The Transport layer reassembles the data before sending it to the
destination application or service.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Conversation Multiplexing
• Multiple Applications can use the network at the same time
where each application is identified by unique port number.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
TCP Connection Establishment (3-way handshake)
• When two hosts communicate using TCP, a connection
(Three-way handshake) is established before data can be
exchanged.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Connection Management - Reliability
• At the Transport layer the three basic operations of reliability are:
1. Tracking transmitted data: keep track of all the data pieces of
each conversation.
2. Acknowledging received data: The destination sends
acknowledgements to the source for the segments that it
receives.
3. Retransmitting any unacknowledged data: Retransmit any of
data that were not acknowledged by the destination.
If the source does not receive an acknowledgement within a predetermined
amount of time, it retransmits that data to the destination.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Connection Management - Flow Control
• Flow Control: the management of data flow between devices in
the network.
 is a method of making sure that an excessive amount of data
doesn't overrun the end station.
 Example: imagine that PC A is running at 100 Mbps and PC B is running at
10 Mbps. If PC A sends something to PC B at full speed, 90 percent of the
information will be lost because PC B cannot accept the information at 100
Mbps. This is the reason for flow control.
• Flow control Methods:
1. Buffering
2. Congestion Avoidance
3. Windowing
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Flow Control - Buffering & Congestion Avoidance
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Flow Control - Windowing
• Window Size: The amount of data that a source can transmit
before an acknowledgement must be received
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Flow Control - Windowing
• Flow control assists the reliability of TCP transmission by adjusting
the effective rate of data flow between the two services in the
session.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Flow Control – Reducing the window size
• If a receiving host has congestion, it may respond to the sending
host with a segment with a reduced window size.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
TCP Connection Termination (4-way Handshake)
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy

Contenu connexe

Tendances (20)

Transport Layer Description By Varun Tiwari
Transport Layer Description By Varun TiwariTransport Layer Description By Varun Tiwari
Transport Layer Description By Varun Tiwari
 
Network layer tanenbaum
Network layer tanenbaumNetwork layer tanenbaum
Network layer tanenbaum
 
Transport Layer Services : Multiplexing And Demultiplexing
Transport Layer Services : Multiplexing And DemultiplexingTransport Layer Services : Multiplexing And Demultiplexing
Transport Layer Services : Multiplexing And Demultiplexing
 
OSI Transport Layer
OSI Transport LayerOSI Transport Layer
OSI Transport Layer
 
Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issues
 
Transport layer
Transport layerTransport layer
Transport layer
 
transport layer
transport layertransport layer
transport layer
 
Transport layer services (cn)
Transport layer services (cn)Transport layer services (cn)
Transport layer services (cn)
 
Computer networks unit iv
Computer networks    unit ivComputer networks    unit iv
Computer networks unit iv
 
Transport layer
Transport layerTransport layer
Transport layer
 
Transport services
Transport servicesTransport services
Transport services
 
Transportlayer tanenbaum
Transportlayer tanenbaumTransportlayer tanenbaum
Transportlayer tanenbaum
 
Connection( less & oriented)
Connection( less & oriented)Connection( less & oriented)
Connection( less & oriented)
 
Week9 lec1
Week9 lec1Week9 lec1
Week9 lec1
 
Transport layer
Transport layerTransport layer
Transport layer
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Computer networks unit ii
Computer networks    unit iiComputer networks    unit ii
Computer networks unit ii
 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iii
 
Network Layer
Network LayerNetwork Layer
Network Layer
 

En vedette

Transport protocols
Transport protocolsTransport protocols
Transport protocolsOnline
 
the transport layer
the transport layerthe transport layer
the transport layertumetr1
 
Academic Poster Design, Review and Presentation
Academic Poster Design, Review and PresentationAcademic Poster Design, Review and Presentation
Academic Poster Design, Review and PresentationAbdelkhalik Mosa
 
Network Fundamentals: Ch3 - Application Layer Functionality and Protocols
Network Fundamentals: Ch3 - Application Layer Functionality and ProtocolsNetwork Fundamentals: Ch3 - Application Layer Functionality and Protocols
Network Fundamentals: Ch3 - Application Layer Functionality and ProtocolsAbdelkhalik Mosa
 
Network Fundamentals: Ch5 - Network Layer
Network Fundamentals: Ch5 - Network LayerNetwork Fundamentals: Ch5 - Network Layer
Network Fundamentals: Ch5 - Network LayerAbdelkhalik Mosa
 
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and ConfigurationLAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and ConfigurationAbdelkhalik Mosa
 
Network Fundamentals: Ch7 - Data Link Layer
Network Fundamentals: Ch7 - Data Link LayerNetwork Fundamentals: Ch7 - Data Link Layer
Network Fundamentals: Ch7 - Data Link LayerAbdelkhalik Mosa
 
Network Fundamentals: Ch8 - Physical Layer
Network Fundamentals: Ch8 - Physical LayerNetwork Fundamentals: Ch8 - Physical Layer
Network Fundamentals: Ch8 - Physical LayerAbdelkhalik Mosa
 
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and ConfigurationLAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and ConfigurationAbdelkhalik Mosa
 
Network Fundamentals: Ch9 - Ethernet
Network Fundamentals: Ch9 - EthernetNetwork Fundamentals: Ch9 - Ethernet
Network Fundamentals: Ch9 - EthernetAbdelkhalik Mosa
 
UDP - User Datagram Protocol
UDP - User Datagram ProtocolUDP - User Datagram Protocol
UDP - User Datagram ProtocolPeter R. Egli
 
Network Fundamentals: Ch11 - Configuring and Testing your Network
Network Fundamentals: Ch11 - Configuring and Testing your NetworkNetwork Fundamentals: Ch11 - Configuring and Testing your Network
Network Fundamentals: Ch11 - Configuring and Testing your NetworkAbdelkhalik Mosa
 
TCP protocol flow control
TCP protocol flow control TCP protocol flow control
TCP protocol flow control anuragjagetiya
 
The Network Layer
The Network LayerThe Network Layer
The Network Layeradil raja
 
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)Abdelkhalik Mosa
 

En vedette (20)

Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Transport layer
Transport layer Transport layer
Transport layer
 
Transport protocols
Transport protocolsTransport protocols
Transport protocols
 
the transport layer
the transport layerthe transport layer
the transport layer
 
Academic Poster Design, Review and Presentation
Academic Poster Design, Review and PresentationAcademic Poster Design, Review and Presentation
Academic Poster Design, Review and Presentation
 
Network Fundamentals: Ch3 - Application Layer Functionality and Protocols
Network Fundamentals: Ch3 - Application Layer Functionality and ProtocolsNetwork Fundamentals: Ch3 - Application Layer Functionality and Protocols
Network Fundamentals: Ch3 - Application Layer Functionality and Protocols
 
Network Fundamentals: Ch5 - Network Layer
Network Fundamentals: Ch5 - Network LayerNetwork Fundamentals: Ch5 - Network Layer
Network Fundamentals: Ch5 - Network Layer
 
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and ConfigurationLAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
 
Tcp and udp
Tcp and udpTcp and udp
Tcp and udp
 
Network Fundamentals: Ch7 - Data Link Layer
Network Fundamentals: Ch7 - Data Link LayerNetwork Fundamentals: Ch7 - Data Link Layer
Network Fundamentals: Ch7 - Data Link Layer
 
Network Fundamentals: Ch8 - Physical Layer
Network Fundamentals: Ch8 - Physical LayerNetwork Fundamentals: Ch8 - Physical Layer
Network Fundamentals: Ch8 - Physical Layer
 
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and ConfigurationLAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
 
Network Fundamentals: Ch9 - Ethernet
Network Fundamentals: Ch9 - EthernetNetwork Fundamentals: Ch9 - Ethernet
Network Fundamentals: Ch9 - Ethernet
 
UDP - User Datagram Protocol
UDP - User Datagram ProtocolUDP - User Datagram Protocol
UDP - User Datagram Protocol
 
Flow Control
Flow ControlFlow Control
Flow Control
 
OSI Layers
OSI LayersOSI Layers
OSI Layers
 
Network Fundamentals: Ch11 - Configuring and Testing your Network
Network Fundamentals: Ch11 - Configuring and Testing your NetworkNetwork Fundamentals: Ch11 - Configuring and Testing your Network
Network Fundamentals: Ch11 - Configuring and Testing your Network
 
TCP protocol flow control
TCP protocol flow control TCP protocol flow control
TCP protocol flow control
 
The Network Layer
The Network LayerThe Network Layer
The Network Layer
 
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
 

Similaire à Network Fundamentals: Ch4 - Transport Layer

Aplication and Transport layer- a practical approach
Aplication and Transport layer-  a practical approachAplication and Transport layer-  a practical approach
Aplication and Transport layer- a practical approachSarah R. Dowlath
 
Computer networks Module 3 Transport layer
Computer networks Module 3 Transport layerComputer networks Module 3 Transport layer
Computer networks Module 3 Transport layerclaudle200415
 
Lecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptxLecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptxRonoh Kennedy
 
07 coms 525 tcpip - udp [autosaved]
07    coms 525 tcpip - udp [autosaved]07    coms 525 tcpip - udp [autosaved]
07 coms 525 tcpip - udp [autosaved]Palanivel Kuppusamy
 
Get into Networking by Clearing Comptia Network+ Test
Get into Networking by Clearing Comptia Network+ TestGet into Networking by Clearing Comptia Network+ Test
Get into Networking by Clearing Comptia Network+ Testcertblaster
 
CCNA ppt Day 2
CCNA ppt Day 2CCNA ppt Day 2
CCNA ppt Day 2VISHNU N
 
Chapter 3 - Transport Layer for VN Students
Chapter 3 - Transport Layer for VN StudentsChapter 3 - Transport Layer for VN Students
Chapter 3 - Transport Layer for VN Studentsalberttochiro
 
Intternetworking With TCP/IP
Intternetworking With TCP/IPIntternetworking With TCP/IP
Intternetworking With TCP/IPBIT DURG
 
It nv51 instructor_ppt_ch9
It nv51 instructor_ppt_ch9It nv51 instructor_ppt_ch9
It nv51 instructor_ppt_ch9newbie2019
 
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSDeepak Shankar
 
Final networks lab manual
Final networks lab manualFinal networks lab manual
Final networks lab manualJaya Prasanna
 
20-datacenter-measurements.pptx
20-datacenter-measurements.pptx20-datacenter-measurements.pptx
20-datacenter-measurements.pptxSteve491226
 
Comptia Security + Chapter 1 501
Comptia Security           + Chapter 1 501Comptia Security           + Chapter 1 501
Comptia Security + Chapter 1 501AbdulalimBhnsawy
 
CN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxCN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxPondinesh2
 

Similaire à Network Fundamentals: Ch4 - Transport Layer (20)

Aplication and Transport layer- a practical approach
Aplication and Transport layer-  a practical approachAplication and Transport layer-  a practical approach
Aplication and Transport layer- a practical approach
 
Computer networks Module 3 Transport layer
Computer networks Module 3 Transport layerComputer networks Module 3 Transport layer
Computer networks Module 3 Transport layer
 
Lecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptxLecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptx
 
07 coms 525 tcpip - udp [autosaved]
07    coms 525 tcpip - udp [autosaved]07    coms 525 tcpip - udp [autosaved]
07 coms 525 tcpip - udp [autosaved]
 
Get into Networking by Clearing Comptia Network+ Test
Get into Networking by Clearing Comptia Network+ TestGet into Networking by Clearing Comptia Network+ Test
Get into Networking by Clearing Comptia Network+ Test
 
08 coms 525 tcpip - tcp 1
08   coms 525 tcpip - tcp 108   coms 525 tcpip - tcp 1
08 coms 525 tcpip - tcp 1
 
CCNA ppt Day 2
CCNA ppt Day 2CCNA ppt Day 2
CCNA ppt Day 2
 
Chapter 3 - Transport Layer for VN Students
Chapter 3 - Transport Layer for VN StudentsChapter 3 - Transport Layer for VN Students
Chapter 3 - Transport Layer for VN Students
 
Intternetworking With TCP/IP
Intternetworking With TCP/IPIntternetworking With TCP/IP
Intternetworking With TCP/IP
 
It nv51 instructor_ppt_ch9
It nv51 instructor_ppt_ch9It nv51 instructor_ppt_ch9
It nv51 instructor_ppt_ch9
 
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
 
Lecture set 7
Lecture set 7Lecture set 7
Lecture set 7
 
PACE-IT, Security+1.4: Common Network Protocols (part 2)
PACE-IT, Security+1.4: Common Network Protocols (part 2)PACE-IT, Security+1.4: Common Network Protocols (part 2)
PACE-IT, Security+1.4: Common Network Protocols (part 2)
 
Final networks lab manual
Final networks lab manualFinal networks lab manual
Final networks lab manual
 
20-datacenter-measurements.pptx
20-datacenter-measurements.pptx20-datacenter-measurements.pptx
20-datacenter-measurements.pptx
 
TCP /IP
TCP /IPTCP /IP
TCP /IP
 
Comptia Security + Chapter 1 501
Comptia Security           + Chapter 1 501Comptia Security           + Chapter 1 501
Comptia Security + Chapter 1 501
 
Mod4
Mod4Mod4
Mod4
 
1.CN-PPT.ppt
1.CN-PPT.ppt1.CN-PPT.ppt
1.CN-PPT.ppt
 
CN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxCN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptx
 

Plus de Abdelkhalik Mosa

Towards a Cloud Native Big Data Platform using MiCADO
Towards a Cloud Native Big Data Platform using MiCADOTowards a Cloud Native Big Data Platform using MiCADO
Towards a Cloud Native Big Data Platform using MiCADOAbdelkhalik Mosa
 
Virtual machine consolidation for cloud data centers using parameter based ad...
Virtual machine consolidation for cloud data centers using parameter based ad...Virtual machine consolidation for cloud data centers using parameter based ad...
Virtual machine consolidation for cloud data centers using parameter based ad...Abdelkhalik Mosa
 
Cloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesCloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesAbdelkhalik Mosa
 
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)Abdelkhalik Mosa
 
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)Abdelkhalik Mosa
 
Accessing the WAN: Ch4 - Network Security
Accessing the WAN: Ch4 - Network SecurityAccessing the WAN: Ch4 - Network Security
Accessing the WAN: Ch4 - Network SecurityAbdelkhalik Mosa
 
LAN Switching and Wireless: Ch1 - LAN Design
LAN Switching and Wireless: Ch1 - LAN DesignLAN Switching and Wireless: Ch1 - LAN Design
LAN Switching and Wireless: Ch1 - LAN DesignAbdelkhalik Mosa
 
Routing Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRPRouting Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRPAbdelkhalik Mosa
 
Network Fundamentals: Ch6 - Addressing the Network IP v4
Network Fundamentals: Ch6 - Addressing the Network IP v4Network Fundamentals: Ch6 - Addressing the Network IP v4
Network Fundamentals: Ch6 - Addressing the Network IP v4Abdelkhalik Mosa
 

Plus de Abdelkhalik Mosa (10)

Towards a Cloud Native Big Data Platform using MiCADO
Towards a Cloud Native Big Data Platform using MiCADOTowards a Cloud Native Big Data Platform using MiCADO
Towards a Cloud Native Big Data Platform using MiCADO
 
Virtual machine consolidation for cloud data centers using parameter based ad...
Virtual machine consolidation for cloud data centers using parameter based ad...Virtual machine consolidation for cloud data centers using parameter based ad...
Virtual machine consolidation for cloud data centers using parameter based ad...
 
Cloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesCloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling Technologies
 
IPv6
IPv6IPv6
IPv6
 
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
 
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
 
Accessing the WAN: Ch4 - Network Security
Accessing the WAN: Ch4 - Network SecurityAccessing the WAN: Ch4 - Network Security
Accessing the WAN: Ch4 - Network Security
 
LAN Switching and Wireless: Ch1 - LAN Design
LAN Switching and Wireless: Ch1 - LAN DesignLAN Switching and Wireless: Ch1 - LAN Design
LAN Switching and Wireless: Ch1 - LAN Design
 
Routing Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRPRouting Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRP
 
Network Fundamentals: Ch6 - Addressing the Network IP v4
Network Fundamentals: Ch6 - Addressing the Network IP v4Network Fundamentals: Ch6 - Addressing the Network IP v4
Network Fundamentals: Ch6 - Addressing the Network IP v4
 

Dernier

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Dernier (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

Network Fundamentals: Ch4 - Transport Layer

  • 1. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals Abdelkhalik Elsaid Mosa abdu.elsaid@yahoo.com http://abdelkhalik.staff.scuegypt.edu.eg/ Last Update: 10/7/2011 “In God we trust, all others bring data” - W. Edwards Deming
  • 2. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Introduction • Layer 4, responsible for the overall end-to-end transfer of application data. • Transport layer also encompasses these functions: 1. Enables multiple applications to communicate over the network at the same time on a single device. 2. Ensures that, if required, all the data is received reliably and in order by the correct application. 3. Employs error handling mechanisms.
  • 3. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Applications Requirements Vary • Because different applications have different requirements, there are multiple Transport layer protocols.
  • 4. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Data Encapsulation Transport Data Link Physical Network Data Header Data Presentation Application Session Segment-Datagram Packet Bits Frame Header Segment / Datagram Header Packet Trailer 1000000111111000001110000
  • 5. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy TCP and UDP • UDP  is a simple, low overhead, connectionless protocol, RFC 768  Pieces of communication in UDP are called datagrams.  Datagrams are sent as "best effort“ “Unreliable”.  Applications that use UDP include:  DNS,DHCP,SNMP,RIP, TFTP, Online games, Video Streaming, and VoIP. • TCP  is a connection-oriented, RFC 793, additional overhead  Reliable delivery.  Flow control which prevents overflow  Applications that use TCP are:  Web Browsers, E-mail, File Transfers.
  • 6. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Transport Layer Header
  • 7. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy TCP Header Fields • Source port : a random value above 1023. • Destination port: Identifies the destination protocol or application. • Sequence number: the first byte in the current segment. Is the SYN flag set or not?? • Acknowledgement number: specifies the next expected byte by the receiver. • Window size: determines how many bytes can be sent before waiting for acknowledgement. • H.length (Offset): the length of the segment header in bytes. • Checksum: used for error checking. • Reserved: Reserved for future use and should be set to zero.
  • 8. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Port Addressing • Port Number (L4 Addressing): Uniquely identifies applications.  Server processes have static port numbers assigned to them.  Clients dynamically choose a port number for each conversation. • Socket: is the combination of the port number and the IP address, Ex: 198.16.23.213:80. • Socket Pair: consists of the source and destination IP addresses and port numbers, is also unique and identifies the conversation between the two hosts. • IANA is responsible for assigning various addressing standards.
  • 9. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Types of port numbers 1. Well Known Ports (0 to 1023): are reserved for services and applications such as HTTP (80), SMTP (25), DNS (53), ... . 2. Registered Ports (1024 to 49151): are assigned to user processes or applications such as MSN Messenger (1863). 3. Dynamic or Private ‘Ephemeral’ Ports (49152 to 65535): assigned dynamically to client applications when initiating a connection. Well Known UDP Ports 69 - TFTP 520 - RIP Well Known TCP/UDP Ports 53 - DNS 161 - SNMP Well Known TCP Ports Telnet: 23, SMTP:25, HTTP: 80, POP3: 110, HTTPS:443
  • 10. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Identifying Applications and hosts • Netstat: examines the open connections on a host 192.168.1.101 172.16.5.5 Destination Port 80 80 Source Port 49890 49888 198.133.219.25 49888 www.cisco.com 66.13.29.25 80 Source Port
  • 11. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Transport Layer Functions • TCP/UDP Functions. 1.Segmentation and Reassembly. 2.Conversation Multiplexing using port numbers. 3.Error detection. • TCP Additional functions 1.Connection Establishment (3-way handshake) 2.Connection Management.  Reliability (acknowledgements).  Flow control (Buffering, congestion avoidance, windowing).  Error correction . 3. Connection Termination (4-way handshake)
  • 12. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy At the source: Segmentation • divides application data into blocks of data that are of appropriate size
  • 13. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy At the Destination: TCP in order Reassembly • The Transport layer reassembles the data before sending it to the destination application or service.
  • 14. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy At the Destination: UDP Out of order Reassembly • The Transport layer reassembles the data before sending it to the destination application or service.
  • 15. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Conversation Multiplexing • Multiple Applications can use the network at the same time where each application is identified by unique port number.
  • 16. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy TCP Connection Establishment (3-way handshake) • When two hosts communicate using TCP, a connection (Three-way handshake) is established before data can be exchanged.
  • 17. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Connection Management - Reliability • At the Transport layer the three basic operations of reliability are: 1. Tracking transmitted data: keep track of all the data pieces of each conversation. 2. Acknowledging received data: The destination sends acknowledgements to the source for the segments that it receives. 3. Retransmitting any unacknowledged data: Retransmit any of data that were not acknowledged by the destination. If the source does not receive an acknowledgement within a predetermined amount of time, it retransmits that data to the destination.
  • 18. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Connection Management - Flow Control • Flow Control: the management of data flow between devices in the network.  is a method of making sure that an excessive amount of data doesn't overrun the end station.  Example: imagine that PC A is running at 100 Mbps and PC B is running at 10 Mbps. If PC A sends something to PC B at full speed, 90 percent of the information will be lost because PC B cannot accept the information at 100 Mbps. This is the reason for flow control. • Flow control Methods: 1. Buffering 2. Congestion Avoidance 3. Windowing
  • 19. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Flow Control - Buffering & Congestion Avoidance
  • 20. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Flow Control - Windowing • Window Size: The amount of data that a source can transmit before an acknowledgement must be received
  • 21. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Flow Control - Windowing • Flow control assists the reliability of TCP transmission by adjusting the effective rate of data flow between the two services in the session.
  • 22. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Flow Control – Reducing the window size • If a receiving host has congestion, it may respond to the sending host with a segment with a reduced window size.
  • 23. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy TCP Connection Termination (4-way Handshake)
  • 24. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy