SlideShare a Scribd company logo
Chapter 3
TCP and IP
Chapter 3 TCP and IP 1
Introduction
• Transmission Control Protocol (TCP)
• User Datagram Protocol (UDP)
• Internet Protocol (IP)
• IPv6
Chapter 3 TCP and IP 2
TCP
• RFC 793, RFC 1122
• Outgoing data is logically a stream of octets
from user
• Stream broken into blocks of data, or
segments
• TCP accumulates octets from user until
segment is large enough, or data marked with
PUSH flag
• User can mark data as URGENT
Chapter 3 TCP and IP 3
• Similarly, incoming data is a stream of octets
presented to user
• Data marked with PUSH flag triggers delivery
of data to user, otherwise TCP decides when
to deliver data
• Data marked with URGENT flag causes user to
be signaled
Chapter 3 TCP and IP 4
Checksum Field
• Applied to data segment and part of the
header
• Protects against bit errors in user data and
addressing information
• Filled in at source
• Checked at destination
Chapter 3 TCP and IP 5
Options
• Maximum segment size
• Window scale factor
• Timestamp
Chapter 3 TCP and IP 6
Figure 2.1
Chapter 3 TCP and IP 7
UDP
• RFC 768
• Connectionless, unreliable
• Less overhead
• Simply adds port addressing to IP
• Checksum is optional
Chapter 3 TCP and IP 8
Appropriate Uses of UDP
• Inward data collection
• Outward data dissemination
• Request-response
• Real-time applications
Chapter 3 TCP and IP 9
IP
• RFC 791
• Field highlights:
– Type of service, defined in RFC 1349, see Figure
3.1
– More bit
– Don’t fragment bit
– Time to live (similar to a hop count)
Chapter 3 TCP and IP 10
Figure 2.2
Chapter 3 TCP and IP 11
Figure 3.1
Chapter 3 TCP and IP 12
Fragmentation and Reassembly
• Networks may have different maximum
packet size
• Router may need to fragment datagrams
before sending to next network
• Fragments may need further fragmenting in
later networks
• Reassembly done only at final destination
since fragments may take different routes
Chapter 3 TCP and IP 13
Figure 3.2
Chapter 3 TCP and IP 14
Type of Service TOS Subfield
• Set by source system
• Routers may ignore TOS
• Router may respond to requested TOS value
through:
– Route selection
– Subnetwork service
– Queuing discipline
Chapter 3 TCP and IP 15
Table 3.1
Chapter 3 TCP and IP 16
Type of Service Precedence Subfield
• Indicates degree of urgency or priority
• Like TOS subfield, may be ignored and there
are 3 approaches to responding
• Intended to affect queuing discipline at router
– Queue service
– Congestion control
Chapter 3 TCP and IP 17
IPv4 Options
• Security
• Source routing
• Route recording
• timestamping
Chapter 3 TCP and IP 18
IPv6
• Increase IP address from 32 bits to 128
• Accommodate higher network speeds, mix of
data streams (graphics, video, audio)
• Fixed size 40-octet header, followed by
optional extension headers
• Longer header but fewer fields (8 vs 12), so
routers should have less processing
Chapter 3 TCP and IP 19
IPv6 Header
• Version
• Traffic class
• Flow label
• Payload length
• Next header
• Hop limit
• Source address
• Destination address
Chapter 3 TCP and IP 20
IPv6 Addresses
• 128 bits
• Longer addresses can have structure that
assists routing
• 3 types:
– Unicast
– Anycast
– multicast
Chapter 3 TCP and IP 21
Figure 3.3
Chapter 3 TCP and IP 22
Optional Extension Headers
• Hop-by-hop options
• Routing
• Fragment
• Authentication
• Encapsulating security payload
• Destination options
Chapter 3 TCP and IP 23
Figure 3.4
Chapter 3 TCP and IP 24

More Related Content

What's hot (20)

TCP/IP Protocols
TCP/IP ProtocolsTCP/IP Protocols
TCP/IP Protocols
Danial Mirza
 
TCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionTCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer Description
Shubham Khedekar
 
TCP-IP PROTOCOL
TCP-IP PROTOCOLTCP-IP PROTOCOL
TCP-IP PROTOCOL
Osama Ghandour Geris
 
TCP- Transmission Control Protocol
TCP-  Transmission Control Protocol TCP-  Transmission Control Protocol
TCP- Transmission Control Protocol
Akhil .B
 
TCP/IP Introduction
TCP/IP Introduction TCP/IP Introduction
TCP/IP Introduction
LJ PROJECTS
 
TCP / IP Services and Standards
TCP / IP Services and StandardsTCP / IP Services and Standards
TCP / IP Services and Standards
Ross University School of Medicine
 
TCP/IP and UDP protocols
TCP/IP and UDP protocolsTCP/IP and UDP protocols
TCP/IP and UDP protocols
Dawood Faheem Abbasi
 
02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ip
kashish0313
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
sanjoysanyal
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP Presentation
Harish Chand
 
Tcpip services and applications
Tcpip services and applicationsTcpip services and applications
Tcpip services and applications
Online
 
TCP Model
TCP ModelTCP Model
TCP Model
manojkum22
 
Understanding TCP/IP
Understanding TCP/IPUnderstanding TCP/IP
Understanding TCP/IP
matthew_jenkins
 
Tcp ip
Tcp ipTcp ip
Tcp ip
Dheeraj Sadawarte
 
TCP/IP model
TCP/IP modelTCP/IP model
TCP/IP model
Krishnkant Pandey
 
TCP - Transmission Control Protocol
TCP - Transmission Control ProtocolTCP - Transmission Control Protocol
TCP - Transmission Control Protocol
Peter R. Egli
 
Remote Login and File Transfer Protocols
Remote Login and File Transfer ProtocolsRemote Login and File Transfer Protocols
Remote Login and File Transfer Protocols
Himanshu Pathak
 
TCP Theory
TCP TheoryTCP Theory
TCP Theory
soohyunc
 
User Datagram protocol For Msc CS
User Datagram protocol For Msc CSUser Datagram protocol For Msc CS
User Datagram protocol For Msc CS
Thanveen
 
Transmission control protocol
Transmission control protocolTransmission control protocol
Transmission control protocol
Sundra Anand
 
TCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionTCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer Description
Shubham Khedekar
 
TCP- Transmission Control Protocol
TCP-  Transmission Control Protocol TCP-  Transmission Control Protocol
TCP- Transmission Control Protocol
Akhil .B
 
TCP/IP Introduction
TCP/IP Introduction TCP/IP Introduction
TCP/IP Introduction
LJ PROJECTS
 
02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ip
kashish0313
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP Presentation
Harish Chand
 
Tcpip services and applications
Tcpip services and applicationsTcpip services and applications
Tcpip services and applications
Online
 
TCP - Transmission Control Protocol
TCP - Transmission Control ProtocolTCP - Transmission Control Protocol
TCP - Transmission Control Protocol
Peter R. Egli
 
Remote Login and File Transfer Protocols
Remote Login and File Transfer ProtocolsRemote Login and File Transfer Protocols
Remote Login and File Transfer Protocols
Himanshu Pathak
 
TCP Theory
TCP TheoryTCP Theory
TCP Theory
soohyunc
 
User Datagram protocol For Msc CS
User Datagram protocol For Msc CSUser Datagram protocol For Msc CS
User Datagram protocol For Msc CS
Thanveen
 
Transmission control protocol
Transmission control protocolTransmission control protocol
Transmission control protocol
Sundra Anand
 

Similar to TCP and IP Chapter 03 (20)

Chapter03.ppt Advance network concept chapter3
Chapter03.ppt Advance network concept chapter3Chapter03.ppt Advance network concept chapter3
Chapter03.ppt Advance network concept chapter3
AbrahamGadissa
 
REMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
REMnux tutorial 4.1 - Datagrams, Fragmentation & AnomaliesREMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
REMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
Rhydham Joshi
 
TCPIP in brief and working operation.ppt
TCPIP in brief and working operation.pptTCPIP in brief and working operation.ppt
TCPIP in brief and working operation.ppt
Mugabo4
 
1.1.2 - Concept of Network and TCP_IP Model (2).pptx
1.1.2 - Concept of Network and TCP_IP Model (2).pptx1.1.2 - Concept of Network and TCP_IP Model (2).pptx
1.1.2 - Concept of Network and TCP_IP Model (2).pptx
VINAYTANWAR18
 
Networking and data communication IP.ppt
Networking and data communication IP.pptNetworking and data communication IP.ppt
Networking and data communication IP.ppt
stephen972973
 
Networking essentials lect3
Networking essentials lect3Networking essentials lect3
Networking essentials lect3
Roman Brovko
 
Learn TransportLayer of the OSI model to day with me.
Learn TransportLayer of the OSI model to day with me.Learn TransportLayer of the OSI model to day with me.
Learn TransportLayer of the OSI model to day with me.
SilasHAKUZWIMANA
 
Computer networks transport layer
Computer networks  transport layerComputer networks  transport layer
Computer networks transport layer
jamunaashok
 
Transport protocols
Transport protocolsTransport protocols
Transport protocols
Online
 
TCP /IP
TCP /IPTCP /IP
TCP /IP
VIKAS SINGH BHADOURIA
 
Tcp ip
Tcp ipTcp ip
Tcp ip
Principal,Guru Nanak Institute of Technology, Nagpur
 
User Datagram Protocol
User Datagram ProtocolUser Datagram Protocol
User Datagram Protocol
Purushottam Kamble
 
I pv4 format
I pv4 formatI pv4 format
I pv4 format
Nitesh Singh
 
Ip and icmp
Ip and icmpIp and icmp
Ip and icmp
Programmer
 
10 coms 525 tcpip - internet protocol - ip
10   coms 525 tcpip -  internet protocol - ip10   coms 525 tcpip -  internet protocol - ip
10 coms 525 tcpip - internet protocol - ip
Palanivel Kuppusamy
 
The Internet Protocol version 4 (IPv4)
The Internet Protocol version 4 (IPv4)The Internet Protocol version 4 (IPv4)
The Internet Protocol version 4 (IPv4)
Thesis Scientist Private Limited
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
tmavroidis
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
tmavroidis
 
tcp ip protocols.ppt
tcp ip protocols.ppttcp ip protocols.ppt
tcp ip protocols.ppt
ssuser3acfba
 
19 Network Layer Protocols
19 Network Layer Protocols19 Network Layer Protocols
19 Network Layer Protocols
Meenakshi Paul
 
Chapter03.ppt Advance network concept chapter3
Chapter03.ppt Advance network concept chapter3Chapter03.ppt Advance network concept chapter3
Chapter03.ppt Advance network concept chapter3
AbrahamGadissa
 
REMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
REMnux tutorial 4.1 - Datagrams, Fragmentation & AnomaliesREMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
REMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
Rhydham Joshi
 
TCPIP in brief and working operation.ppt
TCPIP in brief and working operation.pptTCPIP in brief and working operation.ppt
TCPIP in brief and working operation.ppt
Mugabo4
 
1.1.2 - Concept of Network and TCP_IP Model (2).pptx
1.1.2 - Concept of Network and TCP_IP Model (2).pptx1.1.2 - Concept of Network and TCP_IP Model (2).pptx
1.1.2 - Concept of Network and TCP_IP Model (2).pptx
VINAYTANWAR18
 
Networking and data communication IP.ppt
Networking and data communication IP.pptNetworking and data communication IP.ppt
Networking and data communication IP.ppt
stephen972973
 
Networking essentials lect3
Networking essentials lect3Networking essentials lect3
Networking essentials lect3
Roman Brovko
 
Learn TransportLayer of the OSI model to day with me.
Learn TransportLayer of the OSI model to day with me.Learn TransportLayer of the OSI model to day with me.
Learn TransportLayer of the OSI model to day with me.
SilasHAKUZWIMANA
 
Computer networks transport layer
Computer networks  transport layerComputer networks  transport layer
Computer networks transport layer
jamunaashok
 
Transport protocols
Transport protocolsTransport protocols
Transport protocols
Online
 
10 coms 525 tcpip - internet protocol - ip
10   coms 525 tcpip -  internet protocol - ip10   coms 525 tcpip -  internet protocol - ip
10 coms 525 tcpip - internet protocol - ip
Palanivel Kuppusamy
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
tmavroidis
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
tmavroidis
 
tcp ip protocols.ppt
tcp ip protocols.ppttcp ip protocols.ppt
tcp ip protocols.ppt
ssuser3acfba
 
19 Network Layer Protocols
19 Network Layer Protocols19 Network Layer Protocols
19 Network Layer Protocols
Meenakshi Paul
 

More from daniel ayalew (12)

Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13
daniel ayalew
 
Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18
daniel ayalew
 
Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17
daniel ayalew
 
Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16
daniel ayalew
 
Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15
daniel ayalew
 
Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14
daniel ayalew
 
TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12
daniel ayalew
 
Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11
daniel ayalew
 
Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10
daniel ayalew
 
high-Speed LANs Chapter06
high-Speed LANs Chapter06high-Speed LANs Chapter06
high-Speed LANs Chapter06
daniel ayalew
 
Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05
daniel ayalew
 
Frame Relay Chapter 04
Frame Relay Chapter 04Frame Relay Chapter 04
Frame Relay Chapter 04
daniel ayalew
 
Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13
daniel ayalew
 
Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18
daniel ayalew
 
Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17
daniel ayalew
 
Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16
daniel ayalew
 
Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15
daniel ayalew
 
Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14
daniel ayalew
 
TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12
daniel ayalew
 
Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11
daniel ayalew
 
Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10
daniel ayalew
 
high-Speed LANs Chapter06
high-Speed LANs Chapter06high-Speed LANs Chapter06
high-Speed LANs Chapter06
daniel ayalew
 
Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05
daniel ayalew
 
Frame Relay Chapter 04
Frame Relay Chapter 04Frame Relay Chapter 04
Frame Relay Chapter 04
daniel ayalew
 

Recently uploaded (20)

five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
The Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLabThe Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLab
Journal of Soft Computing in Civil Engineering
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
Compiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptxCompiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptx
RushaliDeshmukh2
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
Compiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptxCompiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptx
RushaliDeshmukh2
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 

TCP and IP Chapter 03

  • 1. Chapter 3 TCP and IP Chapter 3 TCP and IP 1
  • 2. Introduction • Transmission Control Protocol (TCP) • User Datagram Protocol (UDP) • Internet Protocol (IP) • IPv6 Chapter 3 TCP and IP 2
  • 3. TCP • RFC 793, RFC 1122 • Outgoing data is logically a stream of octets from user • Stream broken into blocks of data, or segments • TCP accumulates octets from user until segment is large enough, or data marked with PUSH flag • User can mark data as URGENT Chapter 3 TCP and IP 3
  • 4. • Similarly, incoming data is a stream of octets presented to user • Data marked with PUSH flag triggers delivery of data to user, otherwise TCP decides when to deliver data • Data marked with URGENT flag causes user to be signaled Chapter 3 TCP and IP 4
  • 5. Checksum Field • Applied to data segment and part of the header • Protects against bit errors in user data and addressing information • Filled in at source • Checked at destination Chapter 3 TCP and IP 5
  • 6. Options • Maximum segment size • Window scale factor • Timestamp Chapter 3 TCP and IP 6
  • 7. Figure 2.1 Chapter 3 TCP and IP 7
  • 8. UDP • RFC 768 • Connectionless, unreliable • Less overhead • Simply adds port addressing to IP • Checksum is optional Chapter 3 TCP and IP 8
  • 9. Appropriate Uses of UDP • Inward data collection • Outward data dissemination • Request-response • Real-time applications Chapter 3 TCP and IP 9
  • 10. IP • RFC 791 • Field highlights: – Type of service, defined in RFC 1349, see Figure 3.1 – More bit – Don’t fragment bit – Time to live (similar to a hop count) Chapter 3 TCP and IP 10
  • 11. Figure 2.2 Chapter 3 TCP and IP 11
  • 12. Figure 3.1 Chapter 3 TCP and IP 12
  • 13. Fragmentation and Reassembly • Networks may have different maximum packet size • Router may need to fragment datagrams before sending to next network • Fragments may need further fragmenting in later networks • Reassembly done only at final destination since fragments may take different routes Chapter 3 TCP and IP 13
  • 14. Figure 3.2 Chapter 3 TCP and IP 14
  • 15. Type of Service TOS Subfield • Set by source system • Routers may ignore TOS • Router may respond to requested TOS value through: – Route selection – Subnetwork service – Queuing discipline Chapter 3 TCP and IP 15
  • 16. Table 3.1 Chapter 3 TCP and IP 16
  • 17. Type of Service Precedence Subfield • Indicates degree of urgency or priority • Like TOS subfield, may be ignored and there are 3 approaches to responding • Intended to affect queuing discipline at router – Queue service – Congestion control Chapter 3 TCP and IP 17
  • 18. IPv4 Options • Security • Source routing • Route recording • timestamping Chapter 3 TCP and IP 18
  • 19. IPv6 • Increase IP address from 32 bits to 128 • Accommodate higher network speeds, mix of data streams (graphics, video, audio) • Fixed size 40-octet header, followed by optional extension headers • Longer header but fewer fields (8 vs 12), so routers should have less processing Chapter 3 TCP and IP 19
  • 20. IPv6 Header • Version • Traffic class • Flow label • Payload length • Next header • Hop limit • Source address • Destination address Chapter 3 TCP and IP 20
  • 21. IPv6 Addresses • 128 bits • Longer addresses can have structure that assists routing • 3 types: – Unicast – Anycast – multicast Chapter 3 TCP and IP 21
  • 22. Figure 3.3 Chapter 3 TCP and IP 22
  • 23. Optional Extension Headers • Hop-by-hop options • Routing • Fragment • Authentication • Encapsulating security payload • Destination options Chapter 3 TCP and IP 23
  • 24. Figure 3.4 Chapter 3 TCP and IP 24