TCP-IP
TCP-IP
Layer 7 Application
Layer 6 Presentation
Layer 5 Session
Layer 4 Transport
Layer 3 Network
Layer 2 Data Link
Layer 1 Physical
Comparison of ISO-OSI Model and the DOD
(TCP/IP) Model
Application
Application
Presentation
Session
Transport Host-to-Host
Network Internet
Data Link
Network Access
Physical
Layer Reference to Protocol Recalled
Application
FTP, Telnet, SMTP,
Application
Presentation HTTP..
Session
TCP
UDP (User
(Transmission
Datagram Protocol)
Control Protocol)
Transport Layer
TCP
• 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
UDP
• 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
Relationship to ISO Model
Transport Layer
and some Transport Layer
functions of the
Session Layer
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
Some Core Protocols
• HTTP
• FTP
• Telnet
• SMTP
• POP3
• IMAP
• SNMP etc.
Some Application Related Application
Layer Protocols
• HTTP
• FTP
• SMTP
• Telnet
Some LAN Management/Operation
Related Application Layer Protocols
• DNS
• RIP
• SNMP
Hyper Text Transfer Protocol (HTTP)
• 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
File Transfer Protocol (FTP)
• 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.
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
Telnet
• 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
Domain Name System (DNS)
Router Bridge
Remote
Switch Management
Console
SNMP
• Used by network management utilities to
manage network devices
• For example, a manageable hub that support
SNMP can be managed from a remote
location using a SNMP based LAN
management software
Relationship to ISO Model