Data Communication and Computer Networks ITDR2107: Network Models
Data Communication and Computer Networks ITDR2107: Network Models
Data Communication and Computer Networks ITDR2107: Network Models
Data Communication
and Computer Networks
ITDR2107
Lecture 02
Network Models
2
Objectives
After Lecture 2, you should be able to
•Understand the Network communication operations
through Layer approach using Network Models.
•Discuss two different complementary models for what
networks are and how they work.
•Describe the OSI & TCP /IP Models.
•Explain the each layers , its functionality and
associated protocols.
3
Layered Approach
• We use the concept of layer in our daily life.
• Consider the example of two friends who communicate
through postal mail as shown in figure
4
Network Models
• Two models have been devised to define computer
network operations
• OSI Model
• TCP /IP Protocol Suite Model
6
Encapsulation DE capsulation
( Assembly) ( Disassembly)
10
Physical Layer 1
• Defines how signals are sent by a media, such as satellite, fibre optics,
coaxial cable.
• Transmits physical bits over the network.
• Concerned with the physical and electrical aspects of communications:
• physical or electrical interfaces between the user equipment and the
network equipment
• signal and encoding
• Protocols/standards include:
• RS-232, RS-449, ISDN, Ethernet
• Sometimes called the “bit pipe”
13
Network Layer 3
Transport Layer 4
Transport Layer
• Lower three layers define how a network operates.
• Transport layer is the first to define end-to-end
communications.
• Does not involve intermediate nodes.
19
Session Layer 3
• Session layer is responsible for dialog control & sychronization
• Allows applications on two different computers to establish a session
or logical connection.
• May coordinate the process by determining when each is to send or
listen (synchronisation).
• Session error recovery.
• Brackets operations that must appear to the user as a single
transaction (database).
• Used in some applications, such as remote login, remote file transfer
27
Presentation Layer 2
• Responsible for presenting data in a format its user can understand.
• Hides character encoding differences
• Translates data formats, such as EBCDIC and ASCII
• May provide security services such as encryption and decryption.
• Data compression
• Concerned with the syntax and semantics of the information
transmitted.
28
Application Layer 1
• Responsible for providing services to users
• Communicates with the user or application programs.
• Not the same as an application program
• Provides services and protocols for electronic mail, file
transfers, virtual terminal.
29
TCP/IP Model
33
34
Application Layer
• Equivalent to OSI Application, Presentation and Session
layers
• Data formatting
• Data translation
• Data Encryption
• Session establishment
• Control services
• Provides network access to application via protocols like:
• FTP (File Transfer Protocol), HTTP (Hypertext Transfer Protocol),
DHCP (Dynamic Host Configuration Protocol), SMTP (Simple Mail
Transfer Protocol), SNMP (Simple Network Management Protocol),
DNS (Domain Name System), ...
35
Transport Layer
• Roughly Equivalent to OSI Transport layer
• Data Transportation
• Data Sequencing
• Flow control and error checking
• Two main protocols
• Connection-oriented: Transmission Control Protocol (TCP)
• Connectionless: User Datagram Protocol (UDP)
36
Internetwork Layer
• Equivalent to OSI network layer
• Network Addressing
• Data Routing
• Protocols at this layer:
• Define addressing methods: Internet Protocol (IP)
• Trace messages and handle routing errors: Internet Control Message
Protocol (ICMP)
• Report group memberships: Internet Group Management Protocol
(IGMP)
• Provide address resolution: Address Resolution Protocol (ARP)
37
SUMMARY
• A model that defines layering is the ISO's OSI Model.
• OSI reference model separates networking into 7 layers.
• Two layers of OSI model session and presentation are
missing from TCP/IP Model.
• TCP/IP is a hierarchical protocol suite made of four layers.
39
References
• Greg Tomsho, Ed Tittel, Greg Johnson, Guide to
Networking Essentials, 5th Edition
• Behrouz A. Forouzan, Data Communications and
Networking, 4th, McGraw Hill
• William A. Shay, Understanding Communications and
Networks, 3rd Edition.