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 (20)

PPT
TCP/IP
Syed Zaid Irshad
 
PPTX
TCP/IP Protocol Architeture
Manoj Kumar
 
PPT
Network Protocol and TCP/IP
Bwsrang Basumatary
 
PPTX
Dhcp
Tapan Khilar
 
PPTX
Protocols and the TCP/IP Protocol Suite
Atharaw Deshmukh
 
PPT
DHCP
Kashif Latif
 
PPT
Lecture #5 Data Communication and Network
vasanthimuniasamy
 
PPTX
Troubleshooting Network and Network Utilities
Rubal Sagwal
 
PPTX
Tcp/ip model
Kumar Alok
 
PPTX
Network devices
Ashok R
 
PPTX
Cisco Networking (Routing and Switching)
Alan Mark
 
PDF
MAC Address – All you Need to Know About it
Asya Karapetyan
 
PDF
TCP - IP Presentation
Harish Chand
 
PPTX
Tcp
Varsha Kumar
 
PPT
Introduction of computer network
Vivek Kumar Sinha
 
PDF
FTP - File Transfer Protocol
Peter R. Egli
 
PPT
Routing
Saima Azam
 
PPTX
Multiple Access Protocal
tes31
 
TCP/IP Protocol Architeture
Manoj Kumar
 
Network Protocol and TCP/IP
Bwsrang Basumatary
 
Protocols and the TCP/IP Protocol Suite
Atharaw Deshmukh
 
Lecture #5 Data Communication and Network
vasanthimuniasamy
 
Troubleshooting Network and Network Utilities
Rubal Sagwal
 
Tcp/ip model
Kumar Alok
 
Network devices
Ashok R
 
Cisco Networking (Routing and Switching)
Alan Mark
 
MAC Address – All you Need to Know About it
Asya Karapetyan
 
TCP - IP Presentation
Harish Chand
 
Introduction of computer network
Vivek Kumar Sinha
 
FTP - File Transfer Protocol
Peter R. Egli
 
Routing
Saima Azam
 
Multiple Access Protocal
tes31
 

Similar to Overview of TCP IP (20)

PPT
Chapter 9 TCP IP Reference Model.ppt
hoangdinhhanh88
 
PPT
Chapter 9 TCP IP Reference Model.ppt
anwarkade1
 
PPTX
Computer network coe351- part2- final
Taymoor Nazmy
 
PPTX
Tcp model by ananya shukla
ananya_shukla
 
PPTX
TCP/IP Protocols
Danial Mirza
 
PDF
Aplication and Transport layer- a practical approach
Sarah R. Dowlath
 
PPT
tcp ip protocols.ppt
ssuser3acfba
 
PPT
TCP/IP Protocol Suite model Transmission Control Protocol
27230106
 
PPT
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
MathivananP4
 
PPTX
Transmission Control Protocol (TCP) Basics
jinijames109
 
PPT
Datacom_Section_2_-_Protocols.ppt
Kristopher Hefner
 
PPT
Tcp ip
Dhani Ahmad
 
PPTX
Web technologies: recap on TCP-IP
Piero Fraternali
 
PPT
Net essentials6e ch5
APSU
 
PPT
TCP/ IP
Harshit Srivastava
 
PPT
presentation on TCP/IP protocols data comunications
AnyapuPranav
 
PDF
chapter07 - The Internet.pdf
satonaka3
 
PPT
lecture03for socket programming college.ppt
SoumabhaRoy
 
PPT
lecture03 on socket programming000000.ppt
SoumabhaRoy
 
Chapter 9 TCP IP Reference Model.ppt
hoangdinhhanh88
 
Chapter 9 TCP IP Reference Model.ppt
anwarkade1
 
Computer network coe351- part2- final
Taymoor Nazmy
 
Tcp model by ananya shukla
ananya_shukla
 
TCP/IP Protocols
Danial Mirza
 
Aplication and Transport layer- a practical approach
Sarah R. Dowlath
 
tcp ip protocols.ppt
ssuser3acfba
 
TCP/IP Protocol Suite model Transmission Control Protocol
27230106
 
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
MathivananP4
 
Transmission Control Protocol (TCP) Basics
jinijames109
 
Datacom_Section_2_-_Protocols.ppt
Kristopher Hefner
 
Tcp ip
Dhani Ahmad
 
Web technologies: recap on TCP-IP
Piero Fraternali
 
Net essentials6e ch5
APSU
 
presentation on TCP/IP protocols data comunications
AnyapuPranav
 
chapter07 - The Internet.pdf
satonaka3
 
lecture03for socket programming college.ppt
SoumabhaRoy
 
lecture03 on socket programming000000.ppt
SoumabhaRoy
 
Ad

More from university of education,Lahore (20)

PPT
Activites and Time Planning
university of education,Lahore
 
PPT
Classical Encryption Techniques
university of education,Lahore
 
PPT
Activites and Time Planning
university of education,Lahore
 
PPTX
OSI Security Architecture
university of education,Lahore
 
PPTX
Network Security Terminologies
university of education,Lahore
 
PPT
Project Scheduling, Planning and Risk Management
university of education,Lahore
 
PPTX
Software Testing and Debugging
university of education,Lahore
 
PPTX
ePayment Methods
university of education,Lahore
 
PPT
Enterprise Application Integration
university of education,Lahore
 
PPTX
Microsoft Project
university of education,Lahore
 
PPTX
Itertaive Process Development
university of education,Lahore
 
PPTX
Computer Aided Software Engineering Nayab Awan
university of education,Lahore
 
PPTX
Lect 2 assessing the technology landscape
university of education,Lahore
 
PPTX
system level requirements gathering and analysis
university of education,Lahore
 
Activites and Time Planning
university of education,Lahore
 
Classical Encryption Techniques
university of education,Lahore
 
Activites and Time Planning
university of education,Lahore
 
OSI Security Architecture
university of education,Lahore
 
Network Security Terminologies
university of education,Lahore
 
Project Scheduling, Planning and Risk Management
university of education,Lahore
 
Software Testing and Debugging
university of education,Lahore
 
Enterprise Application Integration
university of education,Lahore
 
Itertaive Process Development
university of education,Lahore
 
Computer Aided Software Engineering Nayab Awan
university of education,Lahore
 
Lect 2 assessing the technology landscape
university of education,Lahore
 
system level requirements gathering and analysis
university of education,Lahore
 
Ad

Recently uploaded (20)

PPSX
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PPTX
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
PPTX
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PPTX
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PPTX
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PDF
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 

Overview of TCP IP

  • 1. Overview of TCP/IP Lecture 2 Subject: Web Engineering Class: BSIT-5th [email protected], [email protected] 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