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
ISO-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
International Organization for Standardization
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 ISO/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

IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
Pijush Kanti Das
 
Presentation on TCP/IP Model
Presentation on TCP/IP ModelPresentation on TCP/IP Model
Presentation on TCP/IP Model
Abir Junayed
 
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 Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
Mukesh Tekwani
 
Tcp ip
Tcp ipTcp ip
Tcp ip
Dhani Ahmad
 
Osi model 7 Layers
Osi model 7 LayersOsi model 7 Layers
Osi model 7 Layers
Siddique Ibrahim
 
Introduction to TCP/IP
Introduction to TCP/IPIntroduction to TCP/IP
Introduction to TCP/IP
Michael Lamont
 
Circuit and packet_switching
Circuit and packet_switchingCircuit and packet_switching
Circuit and packet_switching
hoanv
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network pptextraganesh
 
Network protocals
Network protocalsNetwork protocals
Network protocals
reddivarihareesh
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And ProtocolsSteven Cahill
 
Network switch
Network switchNetwork switch
Network switch
Ravinder Kaur
 
WLAN
WLANWLAN
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
Naiyan Noor
 
W-LAN (Wireless Local Area Network)
W-LAN (Wireless Local Area Network)W-LAN (Wireless Local Area Network)
W-LAN (Wireless Local Area Network)
Parvesh Taneja
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP Presentation
Harish Chand
 

What's hot (20)

IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
WAN Technologies slide show
WAN Technologies slide showWAN Technologies slide show
WAN Technologies slide show
 
Presentation on TCP/IP Model
Presentation on TCP/IP ModelPresentation on TCP/IP Model
Presentation on TCP/IP Model
 
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
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
Osi model 7 Layers
Osi model 7 LayersOsi model 7 Layers
Osi model 7 Layers
 
Osi model
Osi modelOsi model
Osi model
 
Introduction to TCP/IP
Introduction to TCP/IPIntroduction to TCP/IP
Introduction to TCP/IP
 
Circuit and packet_switching
Circuit and packet_switchingCircuit and packet_switching
Circuit and packet_switching
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
 
Network protocals
Network protocalsNetwork protocals
Network protocals
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And Protocols
 
Network switch
Network switchNetwork switch
Network switch
 
WLAN
WLANWLAN
WLAN
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
W-LAN (Wireless Local Area Network)
W-LAN (Wireless Local Area Network)W-LAN (Wireless Local Area Network)
W-LAN (Wireless Local Area Network)
 
Ip address
Ip addressIp address
Ip address
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP Presentation
 

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
 
Computer network coe351- part2- final
Computer network coe351- part2- finalComputer network coe351- part2- final
Computer network coe351- part2- final
Taymoor Nazmy
 
Tcp model by ananya shukla
Tcp model by ananya shuklaTcp model by ananya shukla
Tcp model by ananya shukla
ananya_shukla
 
TCP/IP Protocols
TCP/IP ProtocolsTCP/IP Protocols
TCP/IP Protocols
Danial Mirza
 
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
 
tcp ip protocols.ppt
tcp ip protocols.ppttcp ip protocols.ppt
tcp ip protocols.ppt
ssuser3acfba
 
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
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IPPiero Fraternali
 
Net essentials6e ch5
Net essentials6e ch5Net essentials6e ch5
Net essentials6e ch5
APSU
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
Kumar Alok
 
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
 
chapter07 - The Internet.pdf
chapter07 - The Internet.pdfchapter07 - The Internet.pdf
chapter07 - The Internet.pdf
satonaka3
 
Application Protocol
Application Protocol Application Protocol
Application Protocol
Chandnigupta80
 
Basic network training2
Basic network training2Basic network training2
Basic network training2
Arunchai Seangparch
 
TCP/IP Modal
TCP/IP ModalTCP/IP Modal
TCP/IP Modal
ParikshitTaksande1
 
tcp-140613123317-phpapp01.pptx
tcp-140613123317-phpapp01.pptxtcp-140613123317-phpapp01.pptx
tcp-140613123317-phpapp01.pptx
touseeqzulfiqar1
 

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
 
Computer network coe351- part2- final
Computer network coe351- part2- finalComputer network coe351- part2- final
Computer network coe351- part2- final
 
Tcp model by ananya shukla
Tcp model by ananya shuklaTcp model by ananya shukla
Tcp model by ananya shukla
 
TCP/IP Protocols
TCP/IP ProtocolsTCP/IP Protocols
TCP/IP Protocols
 
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
 
tcp ip protocols.ppt
tcp ip protocols.ppttcp ip protocols.ppt
tcp ip protocols.ppt
 
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
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
 
Net essentials6e ch5
Net essentials6e ch5Net essentials6e ch5
Net essentials6e ch5
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
 
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
 
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
 
Basic network training2
Basic network training2Basic network training2
Basic network training2
 
TCP/IP Modal
TCP/IP ModalTCP/IP Modal
TCP/IP Modal
 
tcp-140613123317-phpapp01.pptx
tcp-140613123317-phpapp01.pptxtcp-140613123317-phpapp01.pptx
tcp-140613123317-phpapp01.pptx
 

More from university of education,Lahore

Activites and Time Planning
 Activites and Time Planning Activites and Time Planning
Activites and Time Planning
university of education,Lahore
 
Classical Encryption Techniques
Classical Encryption TechniquesClassical Encryption Techniques
Classical Encryption Techniques
university of education,Lahore
 
Activites and Time Planning
Activites and Time PlanningActivites and Time Planning
Activites and Time Planning
university of education,Lahore
 
OSI Security Architecture
OSI Security ArchitectureOSI Security Architecture
OSI Security Architecture
university of education,Lahore
 
Network Security Terminologies
Network Security TerminologiesNetwork Security Terminologies
Network Security Terminologies
university of education,Lahore
 
Project Scheduling, Planning and Risk Management
Project Scheduling, Planning and Risk ManagementProject Scheduling, Planning and Risk Management
Project Scheduling, Planning and Risk Management
university of education,Lahore
 
Software Testing and Debugging
Software Testing and DebuggingSoftware Testing and Debugging
Software Testing and Debugging
university of education,Lahore
 
ePayment Methods
ePayment MethodsePayment Methods
A Star Search
A Star SearchA Star Search
Enterprise Application Integration
Enterprise Application IntegrationEnterprise Application Integration
Enterprise Application Integration
university of education,Lahore
 
Uml Diagrams
Uml DiagramsUml Diagrams
eDras Max
eDras MaxeDras Max
RAD Model
RAD ModelRAD Model
Microsoft Project
Microsoft ProjectMicrosoft Project
Itertaive Process Development
Itertaive Process DevelopmentItertaive Process Development
Itertaive Process Development
university of education,Lahore
 
Computer Aided Software Engineering Nayab Awan
Computer Aided Software Engineering Nayab AwanComputer Aided Software Engineering Nayab Awan
Computer Aided Software Engineering Nayab Awan
university of education,Lahore
 
Lect 2 assessing the technology landscape
Lect 2 assessing the technology landscapeLect 2 assessing the technology landscape
Lect 2 assessing the technology landscape
university of education,Lahore
 
system level requirements gathering and analysis
system level requirements gathering and analysissystem level requirements gathering and analysis
system level requirements gathering and analysis
university of education,Lahore
 

More from university of education,Lahore (20)

Activites and Time Planning
 Activites and Time Planning Activites and Time Planning
Activites and Time Planning
 
Steganography
SteganographySteganography
Steganography
 
Classical Encryption Techniques
Classical Encryption TechniquesClassical Encryption Techniques
Classical Encryption Techniques
 
Activites and Time Planning
Activites and Time PlanningActivites and Time Planning
Activites and Time Planning
 
OSI Security Architecture
OSI Security ArchitectureOSI Security Architecture
OSI Security Architecture
 
Network Security Terminologies
Network Security TerminologiesNetwork Security Terminologies
Network Security Terminologies
 
Project Scheduling, Planning and Risk Management
Project Scheduling, Planning and Risk ManagementProject Scheduling, Planning and Risk Management
Project Scheduling, Planning and Risk Management
 
Software Testing and Debugging
Software Testing and DebuggingSoftware Testing and Debugging
Software Testing and Debugging
 
ePayment Methods
ePayment MethodsePayment Methods
ePayment Methods
 
SEO
SEOSEO
SEO
 
A Star Search
A Star SearchA Star Search
A Star Search
 
Enterprise Application Integration
Enterprise Application IntegrationEnterprise Application Integration
Enterprise Application Integration
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
eDras Max
eDras MaxeDras Max
eDras Max
 
RAD Model
RAD ModelRAD Model
RAD Model
 
Microsoft Project
Microsoft ProjectMicrosoft Project
Microsoft Project
 
Itertaive Process Development
Itertaive Process DevelopmentItertaive Process Development
Itertaive Process Development
 
Computer Aided Software Engineering Nayab Awan
Computer Aided Software Engineering Nayab AwanComputer Aided Software Engineering Nayab Awan
Computer Aided Software Engineering Nayab Awan
 
Lect 2 assessing the technology landscape
Lect 2 assessing the technology landscapeLect 2 assessing the technology landscape
Lect 2 assessing the technology landscape
 
system level requirements gathering and analysis
system level requirements gathering and analysissystem level requirements gathering and analysis
system level requirements gathering and analysis
 

Recently uploaded

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
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
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
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
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
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
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 

Recently uploaded (20)

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
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
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
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
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
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
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 

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. ISO-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 International Organization for Standardization
  • 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 ISO/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