SlideShare a Scribd company logo
Overview of TCP/IP
Lecture 2
Subject: Web Engineering
Class: BSIT-5th
Inam.bth@gmail.com, administrator@computingcage.com
Recommended:
TCP/IP White Paper by Microsoft
TCP/IP
• A highly standardized protocol used widely on the Internet
• The basic backbone protocol
• 5th
basic component of Data Communication (DC) = protocol
• Definition: set of rules used in DC.
• Standards area available in the form of RFC documents
• Request For Comments (RFC)
• Standards are overseen by the Internet Engineering Task
Force (IETF)
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
2
OSI Seven Layer Model
Layer 7 Application
Layer 6 Presentation
Layer 5 Session
Layer 4 Transport
Layer 3 Network
Layer 2 Data Link
Layer 1 Physical
Source: http://starter.sdsu.edu/remote/demo/osi-tcp.html
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
3
Open Systems Interconnection
Layers with Protocols
Application
Application
FTP, Telnet, SMTP,
HTTP..Presentation
Session
Transport Host-to-Host TCP, UDP
Network Internet IP, ICMP, IGMP
Data Link Network
Access
Ethernet, Token-Ring ...
Physical
Source: http://starter.sdsu.edu/remote/demo/osi-tcp.html
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
4
Source: TCP/IP White Paper by Microsoft
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
5
TCP/IP Layers
• Network interface layer
• Internet layer
• Host-to-host transport layer
• Application layer
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
6
• In the following slides, the following is described for each layer
• Layer function
• Core protocols
• Relationship to OSI model
Some Core Protocols
• IEEE 802.3, IEEE 802.5 and IEEE 802.11 series of protocols
Network Interface Layer
• Responsible for sending and receiving TCP/IP packets on the
network medium (physical/Data Link)
• Applicable LAN technologies
• Ethernet, Token Ring, FDDI.
• Applicable WAN technologies
• X.25 (old), Frame Relay, ATM etc.
• Note that some technologies such as ATM and FDDI may be used at
both the WAN and the LAN levels
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
7Physical Layer
Data Link Layer
Network Interface
Layer
OSI Model TCP/IP Model
Core Internet Layer Protocols
• IP
• A connectionless unreliable protocol that is part of the TCP/IP protocol
suite
• ARP (Address Resolution Protocol)
• Resolves IP addresses to MAC addresses
• ICMP (Internet Control Message Protocol)
• Diagnostics and error reporting
• (IGMP) Internet Group Management Protocol
• Management of group multicast
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
8
• Packaging
• Addressing
• Routing
Internet Layer >>
More on (ARP)
NIC ID
AA.BB.CC.DD
NIC ID
AB.BD.CD.DE
130.182.190.90 130.182.190.50
Resolves, for example, IP addresses to the corresponding
MAC level hardware address, for instance broadcasting.
IP
MAC
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
9
Transport Layer
• Sequencing and transmission of packets
• Acknowledgment of receipts
• Recovery of packets
• Flow control
• In essence, it engages in host-to-host transportation of data
packets and the delivery of them to the application layer
• Core protocols: TCP & UDP
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
10
TCP & UDP
• Transmission Control Protocol (TCP)
• One-to-one and connection-oriented reliable protocol
• Used in the accurate transmission of large amount of data
• Slower compared to UDP because of additional error checking being
performed
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
11
• User Datagram Protocol (UDP)
• One-to-one or one-to-many, connectionless and unreliable protocol
• Used for the transmission of small amount of data
• Accuracy is not of prime concern
• The overhead of establishing a TCP connection is not warranted
• Used in video and audio casting
• Multicasting
• Broadcasting
• Also used for multimedia transmission
• Faster compared to TCP
Application Layer
• Provides applications with the ability to access the services of the other
layers
• New protocols and services are always being developed in this category
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
12
HTTP
FTP
Telnet
SMTP
POP3
IMAP
SNMP
Some Core
Protocols
Some LAN Management/Operation
Related Application Layer
Protocols
DNS
RIP
SNMP
HTTP & FTP
• Protocol relating to web applications
• Current version of HTTP 1.1 has additional features
• Upload information to the server
• Etc.
• Default port number is 80
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
13
• File Transfer Protocol
• Used for downloading from most MP3 sites, for example
• Designed for faster file transfer over the Internet compared to using the
HTTP protocol
• FTP sites can be configured alongside a web site to support FTP file transfer
• FTP default ports are 20 and 21
HTTP and
FTP
• File transfer under FTP is faster than file transfer under HTTP
• Choose an FTP site if there is one for downloading files etc.
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
14
Simple Mail Transfer Protocol
(SMTP)
• Governs the transmission of mail messages and attachments
• SMTP is used in the case of outgoing messages
• More powerful protocols such as POP3 and IMAP4 are needed and available
to manage incoming messages
POP3/IMAP4
• Used for incoming mail
• POP3 is the older protocol
• IMAP4 is the more advanced protocol
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
15
• Supports terminal emulation or host sessions
• For example, Telnet can be used for accessing a Unix machine and
emulating a terminal attached to the Unix computer
Telnet
Domain Name System (DNS)
Resolves domain names to IP addresses
and vice versa
DNS Server 130.182.125.66www.refer.com
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
16
Routing Information Protocol
(RIP)
Router
Network 1
Network 2
Used by Routers to route
data packets on an IP Internet.
Network 1
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
17
Simple Network Management Protocol (SNMP)
Router
Router
Remote
Management
Console
Switch
Bridge
Facilitates the management of SNMP compliant routers, bridges,
switches etc. by enabling the collection and exchange of network
management information.
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
18
Ports
• TCP requires port numbers on the host and destination for
communication
• Different port numbers are assigned to different protocols by default
• HTTP 80, Telnet 23, FTP 20/21, RPC 135, NetBIOS 139 etc.
• Standard port numbers have been assigned by the Internet Assigned
Number Authority (IANA)
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
19
Using Port Numbers on
Addresses
• Standard access for web browsing
• Ganesan.calstatela.edu
• Default port of 80 is used in this case
• Non-standard access
• http://ganesan.calstatela.edu:5002
• The port number 5002 is used in this case to host the above web server
Sample TCP Port Numbers
20 FTP Data Channel
21 FTP Control Channel
23 Telnet
80 HTTP on WWW
135 RPC
139 NetBIOS Session
Services
Note: There are port numbers applicable to UDP as well.
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
20
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
21
Port Scanning
• To test the security of a computer, its ports can be scanned and the
port status can be displayed
• Access Shieldup in www.grc.com to scan your computers port
• Ports
• Open is insecure
• Closed is somewhat secure
• Stealth is most secure
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
22
TCP/IP Application Interface
• Applications require an Application Programming Interface (API) to
use the services of TCP/IP
• API is a standardized interface between the applications and the
TCP/IP services
• Windows Sockets interface and NetBIOS interface are two of the
prominent examples of Windows API
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
23
Windows API with
TCP/IP
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
24
Post Answers on
ComputingForum
1. How many layers are there in the TCP/IP model?
2. How do they relate to the ISO-OSI model?
3. What are some of the TCP/IP related protocols?
4. Explain the purpose and function of the above protocols?
5. What are ports? Explain the implication of keeping the ports open.
6. How can the ports be protected from hacker attacks?
7. Where would one use the UDP protocol in place of the TCP protocol?
The End
WebEngineering,TCP-IP
Protocols,Universityof
EducationOkara
25

More Related Content

What's hot

Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
Piero Fraternali
 
ACIT Mumbai - OSI Model
ACIT Mumbai - OSI ModelACIT Mumbai - OSI Model
ACIT Mumbai - OSI Model
Sleek International
 
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
Sarah R. Dowlath
 
presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunications
AnyapuPranav
 
Application layer
Application layerApplication layer
Application layer
Ahmed_Hamed_Attia
 
Application Layer and Protocols
Application Layer and ProtocolsApplication Layer and Protocols
Application Layer and Protocols
Rubal Sagwal
 
file transfer and access utilities
file transfer and access utilitiesfile transfer and access utilities
file transfer and access utilities
tumetr1
 
Ch05
Ch05Ch05
Network protocol
Network protocolNetwork protocol
Network protocol
Online
 
Application layer protocol
Application layer protocolApplication layer protocol
Application layer protocol
Dr. Amitava Nag
 
Tcp ip
Tcp ipTcp ip
Tcp ip
Dhani Ahmad
 
Lecture application layer
Lecture application layerLecture application layer
Lecture application layer
Hasam Panezai
 
retrieving the mail
retrieving the mailretrieving the mail
retrieving the mail
tumetr1
 
02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ip
myl_1116
 
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
Abdelkhalik Mosa
 
Application layer
Application layerApplication layer
Application layer
Farah Hunny
 
Email HTTP And FTP
Email HTTP And FTP Email HTTP And FTP
Email HTTP And FTP
Shishpal Vishnoi
 
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
 
Chapter 2 - Computer Networking a top-down Approach 7th
Chapter 2 - Computer Networking a top-down Approach 7thChapter 2 - Computer Networking a top-down Approach 7th
Chapter 2 - Computer Networking a top-down Approach 7th
Andy Juan Sarango Veliz
 
topicCybersecurity_4
topicCybersecurity_4topicCybersecurity_4
topicCybersecurity_4
Anne Starr
 

What's hot (20)

Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
 
ACIT Mumbai - OSI Model
ACIT Mumbai - OSI ModelACIT Mumbai - OSI Model
ACIT Mumbai - OSI Model
 
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
 
presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunications
 
Application layer
Application layerApplication layer
Application layer
 
Application Layer and Protocols
Application Layer and ProtocolsApplication Layer and Protocols
Application Layer and Protocols
 
file transfer and access utilities
file transfer and access utilitiesfile transfer and access utilities
file transfer and access utilities
 
Ch05
Ch05Ch05
Ch05
 
Network protocol
Network protocolNetwork protocol
Network protocol
 
Application layer protocol
Application layer protocolApplication layer protocol
Application layer protocol
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
Lecture application layer
Lecture application layerLecture application layer
Lecture application layer
 
retrieving the mail
retrieving the mailretrieving the mail
retrieving the mail
 
02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ip
 
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
 
Application layer
Application layerApplication layer
Application layer
 
Email HTTP And FTP
Email HTTP And FTP Email HTTP And FTP
Email HTTP And FTP
 
Remote Login and File Transfer Protocols
Remote Login and File Transfer ProtocolsRemote Login and File Transfer Protocols
Remote Login and File Transfer Protocols
 
Chapter 2 - Computer Networking a top-down Approach 7th
Chapter 2 - Computer Networking a top-down Approach 7thChapter 2 - Computer Networking a top-down Approach 7th
Chapter 2 - Computer Networking a top-down Approach 7th
 
topicCybersecurity_4
topicCybersecurity_4topicCybersecurity_4
topicCybersecurity_4
 

Viewers also liked

Basic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing systemBasic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing system
BharathKumarRaju DasaraRaju
 
9awt Components
9awt Components9awt Components
9awt Components
Adil Jafri
 
TypeScript, ovvero JavaScript che "non si rompe"
TypeScript, ovvero JavaScript che "non si rompe"TypeScript, ovvero JavaScript che "non si rompe"
TypeScript, ovvero JavaScript che "non si rompe"
BENTOSA
 
Angular TS(typescript)
Angular TS(typescript)Angular TS(typescript)
Angular TS(typescript)
Ivan Stepić
 
HEIST: HTTP encrypted information can be stolen through TCP windows
HEIST: HTTP encrypted information can be stolen through TCP windowsHEIST: HTTP encrypted information can be stolen through TCP windows
HEIST: HTTP encrypted information can be stolen through TCP windows
Priyanka Aash
 
Origin of intraplate earthquakes
Origin of intraplate earthquakesOrigin of intraplate earthquakes
Origin of intraplate earthquakes
Jia Zhang
 
Swedish SharePoint UserGroup Göteborg Oct 5 2016 SharePoint Framework
Swedish SharePoint UserGroup Göteborg Oct 5 2016  SharePoint FrameworkSwedish SharePoint UserGroup Göteborg Oct 5 2016  SharePoint Framework
Swedish SharePoint UserGroup Göteborg Oct 5 2016 SharePoint Framework
David Opdendries
 
Eset smart sercurity_premium_10
Eset smart sercurity_premium_10Eset smart sercurity_premium_10
Eset smart sercurity_premium_10
Julio Antonio Huaman Chuque
 
LEARNING COMPETENCIES GRADE 2 EP
LEARNING COMPETENCIES GRADE 2 EPLEARNING COMPETENCIES GRADE 2 EP
LEARNING COMPETENCIES GRADE 2 EP
MARY JEAN DACALLOS
 
Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0
Eyal Vardi
 
Organic modification of Clay
Organic modification of ClayOrganic modification of Clay
Organic modification of Clay
jeff jose
 
CCNA TCP/IP
CCNA TCP/IPCCNA TCP/IP
CCNA TCP/IP
Dsunte Wilson
 
Tema 6 examen
Tema 6 examenTema 6 examen
The Impact of the Cloud On BC
The Impact of the Cloud On BCThe Impact of the Cloud On BC
The Impact of the Cloud On BC
Tonya Tronco
 
学生、教職員が一線に並んで交流できる 「英語でビブリオバトル」
学生、教職員が一線に並んで交流できる 「英語でビブリオバトル」学生、教職員が一線に並んで交流できる 「英語でビブリオバトル」
学生、教職員が一線に並んで交流できる 「英語でビブリオバトル」
Yukie KONDO
 

Viewers also liked (15)

Basic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing systemBasic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing system
 
9awt Components
9awt Components9awt Components
9awt Components
 
TypeScript, ovvero JavaScript che "non si rompe"
TypeScript, ovvero JavaScript che "non si rompe"TypeScript, ovvero JavaScript che "non si rompe"
TypeScript, ovvero JavaScript che "non si rompe"
 
Angular TS(typescript)
Angular TS(typescript)Angular TS(typescript)
Angular TS(typescript)
 
HEIST: HTTP encrypted information can be stolen through TCP windows
HEIST: HTTP encrypted information can be stolen through TCP windowsHEIST: HTTP encrypted information can be stolen through TCP windows
HEIST: HTTP encrypted information can be stolen through TCP windows
 
Origin of intraplate earthquakes
Origin of intraplate earthquakesOrigin of intraplate earthquakes
Origin of intraplate earthquakes
 
Swedish SharePoint UserGroup Göteborg Oct 5 2016 SharePoint Framework
Swedish SharePoint UserGroup Göteborg Oct 5 2016  SharePoint FrameworkSwedish SharePoint UserGroup Göteborg Oct 5 2016  SharePoint Framework
Swedish SharePoint UserGroup Göteborg Oct 5 2016 SharePoint Framework
 
Eset smart sercurity_premium_10
Eset smart sercurity_premium_10Eset smart sercurity_premium_10
Eset smart sercurity_premium_10
 
LEARNING COMPETENCIES GRADE 2 EP
LEARNING COMPETENCIES GRADE 2 EPLEARNING COMPETENCIES GRADE 2 EP
LEARNING COMPETENCIES GRADE 2 EP
 
Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0
 
Organic modification of Clay
Organic modification of ClayOrganic modification of Clay
Organic modification of Clay
 
CCNA TCP/IP
CCNA TCP/IPCCNA TCP/IP
CCNA TCP/IP
 
Tema 6 examen
Tema 6 examenTema 6 examen
Tema 6 examen
 
The Impact of the Cloud On BC
The Impact of the Cloud On BCThe Impact of the Cloud On BC
The Impact of the Cloud On BC
 
学生、教職員が一線に並んで交流できる 「英語でビブリオバトル」
学生、教職員が一線に並んで交流できる 「英語でビブリオバトル」学生、教職員が一線に並んで交流できる 「英語でビブリオバトル」
学生、教職員が一線に並んで交流できる 「英語でビブリオバトル」
 

Similar to Overview of tcp ip

Chapter 9 TCP IP Reference Model.ppt
Chapter 9 TCP IP Reference Model.pptChapter 9 TCP IP Reference Model.ppt
Chapter 9 TCP IP Reference Model.ppt
hoangdinhhanh88
 
Chapter 9 TCP IP Reference Model.ppt
Chapter 9 TCP IP Reference Model.pptChapter 9 TCP IP Reference Model.ppt
Chapter 9 TCP IP Reference Model.ppt
anwarkade1
 
Tcp model by ananya shukla
Tcp model by ananya shuklaTcp model by ananya shukla
Tcp model by ananya shukla
ananya_shukla
 
tcp ip protocols.ppt
tcp ip protocols.ppttcp ip protocols.ppt
tcp ip protocols.ppt
ssuser3acfba
 
TCP/IP
TCP/IPTCP/IP
TCP/IP Protocol Suite model Transmission Control Protocol
TCP/IP Protocol Suite model  Transmission Control ProtocolTCP/IP Protocol Suite model  Transmission Control Protocol
TCP/IP Protocol Suite model Transmission Control Protocol
27230106
 
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
MathivananP4
 
Datacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.pptDatacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.ppt
Kristopher Hefner
 
Net essentials6e ch5
Net essentials6e ch5Net essentials6e ch5
Net essentials6e ch5
APSU
 
TCP/ IP
TCP/ IP TCP/ IP
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
Kumar Alok
 
chapter07 - The Internet.pdf
chapter07 - The Internet.pdfchapter07 - The Internet.pdf
chapter07 - The Internet.pdf
satonaka3
 
Tcp ip
Tcp ipTcp ip
Application Protocol
Application Protocol Application Protocol
Application Protocol
Chandnigupta80
 
tcp-140613123317-phpapp01.pptx
tcp-140613123317-phpapp01.pptxtcp-140613123317-phpapp01.pptx
tcp-140613123317-phpapp01.pptx
touseeqzulfiqar1
 
Primer to Browser Netwroking
Primer to Browser NetwrokingPrimer to Browser Netwroking
Primer to Browser Netwroking
Shuya Osaki
 
Basic network training2
Basic network training2Basic network training2
Basic network training2
Arunchai Seangparch
 
Packet Analysis - Course Technology Computing Conference
Packet Analysis - Course Technology Computing ConferencePacket Analysis - Course Technology Computing Conference
Packet Analysis - Course Technology Computing Conference
Cengage Learning
 
TCP/IP Modal
TCP/IP ModalTCP/IP Modal
TCP/IP Modal
ParikshitTaksande1
 
Internet Protocol.pdf
Internet Protocol.pdfInternet Protocol.pdf
Internet Protocol.pdf
BIT DURG
 

Similar to Overview of tcp ip (20)

Chapter 9 TCP IP Reference Model.ppt
Chapter 9 TCP IP Reference Model.pptChapter 9 TCP IP Reference Model.ppt
Chapter 9 TCP IP Reference Model.ppt
 
Chapter 9 TCP IP Reference Model.ppt
Chapter 9 TCP IP Reference Model.pptChapter 9 TCP IP Reference Model.ppt
Chapter 9 TCP IP Reference Model.ppt
 
Tcp model by ananya shukla
Tcp model by ananya shuklaTcp model by ananya shukla
Tcp model by ananya shukla
 
tcp ip protocols.ppt
tcp ip protocols.ppttcp ip protocols.ppt
tcp ip protocols.ppt
 
TCP/IP
TCP/IPTCP/IP
TCP/IP
 
TCP/IP Protocol Suite model Transmission Control Protocol
TCP/IP Protocol Suite model  Transmission Control ProtocolTCP/IP Protocol Suite model  Transmission Control Protocol
TCP/IP Protocol Suite model Transmission Control Protocol
 
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
 
Datacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.pptDatacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.ppt
 
Net essentials6e ch5
Net essentials6e ch5Net essentials6e ch5
Net essentials6e ch5
 
TCP/ IP
TCP/ IP TCP/ IP
TCP/ IP
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
 
chapter07 - The Internet.pdf
chapter07 - The Internet.pdfchapter07 - The Internet.pdf
chapter07 - The Internet.pdf
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
Application Protocol
Application Protocol Application Protocol
Application Protocol
 
tcp-140613123317-phpapp01.pptx
tcp-140613123317-phpapp01.pptxtcp-140613123317-phpapp01.pptx
tcp-140613123317-phpapp01.pptx
 
Primer to Browser Netwroking
Primer to Browser NetwrokingPrimer to Browser Netwroking
Primer to Browser Netwroking
 
Basic network training2
Basic network training2Basic network training2
Basic network training2
 
Packet Analysis - Course Technology Computing Conference
Packet Analysis - Course Technology Computing ConferencePacket Analysis - Course Technology Computing Conference
Packet Analysis - Course Technology Computing Conference
 
TCP/IP Modal
TCP/IP ModalTCP/IP Modal
TCP/IP Modal
 
Internet Protocol.pdf
Internet Protocol.pdfInternet Protocol.pdf
Internet Protocol.pdf
 

More from Computing Cage

Software Project Management chapter-1
Software Project Management chapter-1Software Project Management chapter-1
Software Project Management chapter-1
Computing Cage
 
Introduction to Object Oriented Design
Introduction to Object Oriented DesignIntroduction to Object Oriented Design
Introduction to Object Oriented Design
Computing Cage
 
Introduction to Network Security
Introduction to Network SecurityIntroduction to Network Security
Introduction to Network Security
Computing Cage
 
Software Testing & Debugging
Software Testing & DebuggingSoftware Testing & Debugging
Software Testing & Debugging
Computing Cage
 
Sample slides 2
Sample slides 2Sample slides 2
Sample slides 2
Computing Cage
 
Sample slides 1
Sample slides 1Sample slides 1
Sample slides 1
Computing Cage
 
System Integration & Build Management
System Integration & Build ManagementSystem Integration & Build Management
System Integration & Build Management
Computing Cage
 
Software Architecture
Software ArchitectureSoftware Architecture
Software Architecture
Computing Cage
 
Search Engine Optimization
Search Engine OptimizationSearch Engine Optimization
Search Engine Optimization
Computing Cage
 
A Star Search
A Star SearchA Star Search
A Star Search
Computing Cage
 
Assessing Technology Landscape
Assessing Technology LandscapeAssessing Technology Landscape
Assessing Technology Landscape
Computing Cage
 
System Level Requirements Gathering
System Level Requirements GatheringSystem Level Requirements Gathering
System Level Requirements Gathering
Computing Cage
 
Enterprise Application Integration
Enterprise Application IntegrationEnterprise Application Integration
Enterprise Application Integration
Computing Cage
 

More from Computing Cage (13)

Software Project Management chapter-1
Software Project Management chapter-1Software Project Management chapter-1
Software Project Management chapter-1
 
Introduction to Object Oriented Design
Introduction to Object Oriented DesignIntroduction to Object Oriented Design
Introduction to Object Oriented Design
 
Introduction to Network Security
Introduction to Network SecurityIntroduction to Network Security
Introduction to Network Security
 
Software Testing & Debugging
Software Testing & DebuggingSoftware Testing & Debugging
Software Testing & Debugging
 
Sample slides 2
Sample slides 2Sample slides 2
Sample slides 2
 
Sample slides 1
Sample slides 1Sample slides 1
Sample slides 1
 
System Integration & Build Management
System Integration & Build ManagementSystem Integration & Build Management
System Integration & Build Management
 
Software Architecture
Software ArchitectureSoftware Architecture
Software Architecture
 
Search Engine Optimization
Search Engine OptimizationSearch Engine Optimization
Search Engine Optimization
 
A Star Search
A Star SearchA Star Search
A Star Search
 
Assessing Technology Landscape
Assessing Technology LandscapeAssessing Technology Landscape
Assessing Technology Landscape
 
System Level Requirements Gathering
System Level Requirements GatheringSystem Level Requirements Gathering
System Level Requirements Gathering
 
Enterprise Application Integration
Enterprise Application IntegrationEnterprise Application Integration
Enterprise Application Integration
 

Recently uploaded

The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 

Recently uploaded (20)

The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 

Overview of tcp ip

  • 1. Overview of TCP/IP Lecture 2 Subject: Web Engineering Class: BSIT-5th Inam.bth@gmail.com, administrator@computingcage.com Recommended: TCP/IP White Paper by Microsoft
  • 2. TCP/IP • A highly standardized protocol used widely on the Internet • The basic backbone protocol • 5th basic component of Data Communication (DC) = protocol • Definition: set of rules used in DC. • Standards area available in the form of RFC documents • Request For Comments (RFC) • Standards are overseen by the Internet Engineering Task Force (IETF) WebEngineering,TCP-IP Protocols,Universityof EducationOkara 2
  • 3. OSI Seven Layer Model Layer 7 Application Layer 6 Presentation Layer 5 Session Layer 4 Transport Layer 3 Network Layer 2 Data Link Layer 1 Physical Source: http://starter.sdsu.edu/remote/demo/osi-tcp.html WebEngineering,TCP-IP Protocols,Universityof EducationOkara 3 Open Systems Interconnection
  • 4. Layers with Protocols Application Application FTP, Telnet, SMTP, HTTP..Presentation Session Transport Host-to-Host TCP, UDP Network Internet IP, ICMP, IGMP Data Link Network Access Ethernet, Token-Ring ... Physical Source: http://starter.sdsu.edu/remote/demo/osi-tcp.html WebEngineering,TCP-IP Protocols,Universityof EducationOkara 4
  • 5. Source: TCP/IP White Paper by Microsoft WebEngineering,TCP-IP Protocols,Universityof EducationOkara 5
  • 6. TCP/IP Layers • Network interface layer • Internet layer • Host-to-host transport layer • Application layer WebEngineering,TCP-IP Protocols,Universityof EducationOkara 6 • In the following slides, the following is described for each layer • Layer function • Core protocols • Relationship to OSI model Some Core Protocols • IEEE 802.3, IEEE 802.5 and IEEE 802.11 series of protocols
  • 7. Network Interface Layer • Responsible for sending and receiving TCP/IP packets on the network medium (physical/Data Link) • Applicable LAN technologies • Ethernet, Token Ring, FDDI. • Applicable WAN technologies • X.25 (old), Frame Relay, ATM etc. • Note that some technologies such as ATM and FDDI may be used at both the WAN and the LAN levels WebEngineering,TCP-IP Protocols,Universityof EducationOkara 7Physical Layer Data Link Layer Network Interface Layer OSI Model TCP/IP Model
  • 8. Core Internet Layer Protocols • IP • A connectionless unreliable protocol that is part of the TCP/IP protocol suite • ARP (Address Resolution Protocol) • Resolves IP addresses to MAC addresses • ICMP (Internet Control Message Protocol) • Diagnostics and error reporting • (IGMP) Internet Group Management Protocol • Management of group multicast WebEngineering,TCP-IP Protocols,Universityof EducationOkara 8 • Packaging • Addressing • Routing Internet Layer >>
  • 9. More on (ARP) NIC ID AA.BB.CC.DD NIC ID AB.BD.CD.DE 130.182.190.90 130.182.190.50 Resolves, for example, IP addresses to the corresponding MAC level hardware address, for instance broadcasting. IP MAC WebEngineering,TCP-IP Protocols,Universityof EducationOkara 9
  • 10. Transport Layer • Sequencing and transmission of packets • Acknowledgment of receipts • Recovery of packets • Flow control • In essence, it engages in host-to-host transportation of data packets and the delivery of them to the application layer • Core protocols: TCP & UDP WebEngineering,TCP-IP Protocols,Universityof EducationOkara 10
  • 11. TCP & UDP • Transmission Control Protocol (TCP) • One-to-one and connection-oriented reliable protocol • Used in the accurate transmission of large amount of data • Slower compared to UDP because of additional error checking being performed WebEngineering,TCP-IP Protocols,Universityof EducationOkara 11 • User Datagram Protocol (UDP) • One-to-one or one-to-many, connectionless and unreliable protocol • Used for the transmission of small amount of data • Accuracy is not of prime concern • The overhead of establishing a TCP connection is not warranted • Used in video and audio casting • Multicasting • Broadcasting • Also used for multimedia transmission • Faster compared to TCP
  • 12. Application Layer • Provides applications with the ability to access the services of the other layers • New protocols and services are always being developed in this category WebEngineering,TCP-IP Protocols,Universityof EducationOkara 12 HTTP FTP Telnet SMTP POP3 IMAP SNMP Some Core Protocols Some LAN Management/Operation Related Application Layer Protocols DNS RIP SNMP
  • 13. HTTP & FTP • Protocol relating to web applications • Current version of HTTP 1.1 has additional features • Upload information to the server • Etc. • Default port number is 80 WebEngineering,TCP-IP Protocols,Universityof EducationOkara 13 • File Transfer Protocol • Used for downloading from most MP3 sites, for example • Designed for faster file transfer over the Internet compared to using the HTTP protocol • FTP sites can be configured alongside a web site to support FTP file transfer • FTP default ports are 20 and 21
  • 14. HTTP and FTP • File transfer under FTP is faster than file transfer under HTTP • Choose an FTP site if there is one for downloading files etc. WebEngineering,TCP-IP Protocols,Universityof EducationOkara 14 Simple Mail Transfer Protocol (SMTP) • Governs the transmission of mail messages and attachments • SMTP is used in the case of outgoing messages • More powerful protocols such as POP3 and IMAP4 are needed and available to manage incoming messages
  • 15. POP3/IMAP4 • Used for incoming mail • POP3 is the older protocol • IMAP4 is the more advanced protocol WebEngineering,TCP-IP Protocols,Universityof EducationOkara 15 • Supports terminal emulation or host sessions • For example, Telnet can be used for accessing a Unix machine and emulating a terminal attached to the Unix computer Telnet
  • 16. Domain Name System (DNS) Resolves domain names to IP addresses and vice versa DNS Server 130.182.125.66www.refer.com WebEngineering,TCP-IP Protocols,Universityof EducationOkara 16
  • 17. Routing Information Protocol (RIP) Router Network 1 Network 2 Used by Routers to route data packets on an IP Internet. Network 1 WebEngineering,TCP-IP Protocols,Universityof EducationOkara 17
  • 18. Simple Network Management Protocol (SNMP) Router Router Remote Management Console Switch Bridge Facilitates the management of SNMP compliant routers, bridges, switches etc. by enabling the collection and exchange of network management information. WebEngineering,TCP-IP Protocols,Universityof EducationOkara 18
  • 19. Ports • TCP requires port numbers on the host and destination for communication • Different port numbers are assigned to different protocols by default • HTTP 80, Telnet 23, FTP 20/21, RPC 135, NetBIOS 139 etc. • Standard port numbers have been assigned by the Internet Assigned Number Authority (IANA) WebEngineering,TCP-IP Protocols,Universityof EducationOkara 19 Using Port Numbers on Addresses • Standard access for web browsing • Ganesan.calstatela.edu • Default port of 80 is used in this case • Non-standard access • http://ganesan.calstatela.edu:5002 • The port number 5002 is used in this case to host the above web server
  • 20. Sample TCP Port Numbers 20 FTP Data Channel 21 FTP Control Channel 23 Telnet 80 HTTP on WWW 135 RPC 139 NetBIOS Session Services Note: There are port numbers applicable to UDP as well. WebEngineering,TCP-IP Protocols,Universityof EducationOkara 20
  • 22. Port Scanning • To test the security of a computer, its ports can be scanned and the port status can be displayed • Access Shieldup in www.grc.com to scan your computers port • Ports • Open is insecure • Closed is somewhat secure • Stealth is most secure WebEngineering,TCP-IP Protocols,Universityof EducationOkara 22
  • 23. TCP/IP Application Interface • Applications require an Application Programming Interface (API) to use the services of TCP/IP • API is a standardized interface between the applications and the TCP/IP services • Windows Sockets interface and NetBIOS interface are two of the prominent examples of Windows API WebEngineering,TCP-IP Protocols,Universityof EducationOkara 23
  • 25. Post Answers on ComputingForum 1. How many layers are there in the TCP/IP model? 2. How do they relate to the ISO-OSI model? 3. What are some of the TCP/IP related protocols? 4. Explain the purpose and function of the above protocols? 5. What are ports? Explain the implication of keeping the ports open. 6. How can the ports be protected from hacker attacks? 7. Where would one use the UDP protocol in place of the TCP protocol? The End WebEngineering,TCP-IP Protocols,Universityof EducationOkara 25