Module 1 - Iso Osi Model-Tcp Ip Model
Module 1 - Iso Osi Model-Tcp Ip Model
Module 1 - Iso Osi Model-Tcp Ip Model
2.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2-1 LAYERED TASKS
2.2
Figure 2.1 Tasks involved in sending a letter
2.3
Each layer at the sending site uses the
services of the layer immediately below it.
The sender at the higher layer uses the
services of the middle layer.
The middle layer uses the services of the
lower layer.
The lower layer uses the services of the
carrier.
2.4
2-2 THE OSI MODEL
Established in 1947, the International Standards
Organization (ISO) is a multinational body dedicated to
worldwide agreement on international standards. An ISO
standard that covers all aspects of network
communications is the Open Systems Interconnection
(OSI) model. It was first introduced in the late 1970s.
2.5
Note
2.6
2-2 THE OSI MODEL
2.7
Figure 2.2 Seven layers of the OSI model
2.8
OSI Layered Architecture
Each layer - family of functions distinct from those of the other
layers.
Comprehensive and flexible Architecture.
Allows complete interoperability between incompatible systems.
Within a single machine, each layer calls upon the services of the
layer just below it.
Peer-to-peer processes
Each interface defines the information and services a layer must
provide for the layer above it.
Well-defined interfaces and layer functions
provide modularity to a network.
2.9
Figure 2.3 The interaction between layers in the OSI model
2.10
2.11
Figure 2.4 An exchange using the OSI model (ENCAPSULATION)
Network Support
Layers
2.12
2-3 LAYERS IN THE OSI MODEL
2.13
Note
2.14
Figure 2.5 Physical layer
2.15
Physical Layer
Coordinates the functions required to
carry a bit stream over a physical medium
Physical characteristics of interfaces and transmission medium.
Representation of bits
To be transmitted, bits must be encoded into signals- electrical or
optical.
Data rate
The transmission rate-the number of bits sent each second
Synchronization of bits
sender and receiver (same bit rate) - clocks
Line configuration
Connection of devices to the media (Point to Point, Multipoint)
Physical topology
How devices are connected to make a network
Transmission mode
Direction of transmission between two devices (Simplex, Half/Full
2.16 Duplex)
Note
2.17
Figure 2.6 Data link layer
2.18
Data-Link Layer
Makes physical layer appear error-free to the upper layer
Reliable Link
Framing
divides the stream of bits received from the network layer into manageable data units
Physical addressing
adds a header to the frame to define the sender and/or receiver of the frame
Flow control
Flow of data must not be allowed to overwhelm receiver ; rate of absorption by RX
less than rate at which data produced by TX
Error control
adds reliability to the physical layer by adding mechanisms to detect and retransmit
damaged or lost frames
Trailer added to the end of the frame
Access control
Two or more devices are connected to the same link ?
2.19
2.20
Figure 2.7 Hop-to-hop delivery
2.21
Figure 2.8 Network layer
End-to-end delivery
2.22
Note
2.23
Network Layer
Source-to-destination delivery of a packet across
multiple networks (links).
Logical addressing
Routing
2.24
Figure 2.9 Source-to-destination delivery
2.25
Note
2.26
Transport Layer
Process-to-process delivery of the entire message
Relationship between packets
Ensures whole message arrives intact and in order
Error control and Flow control at the source-to-
destination level
Entire message arrives at the receiving transport layer without error
(damage, loss, or duplication).
Error correction - retransmission
Service-point Addressing (or Port address)
Segmentation and Reassembly
Gets the entire message to the correct process on that computer
2.27
Figure 2.10 Transport layer
2.28
Figure 2.11 Reliable process-to-process delivery of a message
2.29
Session Layer
Establishes, maintains, and synchronizes the
interaction among communicating systems.
Dialog control
Allows two systems (processes) to enter into a dialog.
Allows communication – Half or Full-Duplex
Synchronization
Allows a process to add checkpoints or synchronization points to
data stream
Acknowledge – retransmission – insert checkpoints
2.30
Figure 2.12 Session layer
2.31
Note
2.32
Presentation Layer
Syntax and Semantics of the information exchanged
between two systems.
Translation
Interoperability between these different encoding methods
Sender-dependent format –> common format
Common format -> receiver-dependent format
Encryption
Ensure privacy
Encrypt data for security purposes. For ex, password encryption.
Decryption – reverse process
Compression
Reduces the number of bits contained in the information
Transmission of multimedia such as text, audio, and video
2.33
Figure 2.13 Presentation layer
2.34
Note
2.35
Applications –
The Interface Between Human and Data Networks
Explain that applications provide the means for generating and
receiving data that can be transported on the network
Applications –
The Interface Between Human and Data Networks
Explain the role of applications, services and protocols in
converting communication to data that can be transferred across
the data network
Note
2.38
Application Layer
Enables the user, whether human or software, to
access the network.
Provides user interfaces and support for services
Electronic mail,
Remote file access and transfer,
Shared database management,
Network virtual terminal
Allows a user to log on to a remote host.
Application creates a software emulation of a terminal
File transfer, access, and management.
Mail & Directory services
2.39
Figure 2.15 Summary of layers
2.40
Layers with TCP/IP and OSI Model
2-4 TCP/IP PROTOCOL SUITE
2.43
Applications –
The Interface Between Human and Data Networks
Define the separate roles applications, services and protocols play
in transporting data through networks
Applications –
The Interface Between Human and Data Networks
Describe the role protocols play in networking and be able to
identify several message properties that can be defined by a
protocol
The Role of Protocols in Supporting Communication
2.52
Internet Control Message Protocol
(ICMP)
Network protocol useful in IP network management and
administration
Control protocol
Errors in the underlying communications of network applications
Availability of Remote hosts, Network congestion
Overall round-trip time of the probe messages (PING)
Internet
Group Message Protocol
Facilitate simultaneous transmission of a message to a group of
(IGMP)
recipients.
2.53
Address Resolution Protocol (ARP)
2.54
Transport Layer
User Datagram Protocol (UDP) vs Transmission
Control Protocol (TCP)
Process-to-process protocol
TCP
Reliable stream transport protocol (connection-oriented)
UDP
Connection less protocol
Packet delay is more serious than packet loss.
Stream Control Transmission Protocol (SCTP)
Voice over the Internet
Combines the best features of UDP and TCP
2.55
2-5 ADDRESSING
2.56
Figure 2.17 Addresses in TCP/IP
2.57
Figure 2.18 Relationship of layers and addresses in TCP/IP
2.58
Example 2.1
2.59
Figure 2.19 Physical addresses
2.60
Example 2.2
07:01:02:01:2C:4B
2.61
Figure 2.8: Encapsulation / Decapsulation
2.62
Example 2.3
2.63
Figure 2.20 IP addresses
2.64
Example 2.4
2.65
Figure 2.21 Port addresses
2.66
Note
2.67
A port address is a 16-bit address represented by one
decimal number as shown.
753
2.68
Note
2.69
Port 110 POP3
Description 115 Simple File Transfer Protocol (SFTP)
Number
118 SQL Services
TCP Port Service Multiplexer 119 Newsgroup (NNTP)
1
(TCPMUX)
137 NetBIOS Name Service
5 Remote Job Entry (RJE)
139 NetBIOS Datagram Service
7 ECHO
143 Interim Mail Access Protocol (IMAP)
18 Message Send Protocol (MSP)
20 FTP -- Data 150 NetBIOS Session Service
21 FTP -- Control 156 SQL Server
22 SSH Remote Login Protocol 161 SNMP
23 Telnet 179 Border Gateway Protocol (BGP)
Simple Mail Transfer Protocol 190 Gateway Access Control Protocol (GACP)
25
(SMTP) 194 Internet Relay Chat (IRC)
29 MSG ICP 197 Directory Location Service (DLS)
37 Time Lightweight Directory Access
389
42 Host Name Server (Nameserv) Protocol (LDAP)
43 WhoIs 396 Novell Netware over IP
49 Login Host Protocol (Login) 443 HTTPS
53 Domain Name System (DNS) 444 Simple Network Paging Protocol (SNPP)
69 Trivial File Transfer Protocol (TFTP) 445 Microsoft-DS
70 Gopher Services 458 Apple QuickTime
79 Finger 546 DHCP Client
80 HTTP 547 DHCP Server
103 X.400 Standard 563 SNEWS
108 SNA Gateway Access Server 569 MSN
109 POP2 1080 Sock
2.70