Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Data and Communication Network: Lecture OSI Layer Function

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 19

Data and Communication Network

Lecture OSI Layer function


Instructor for the Course Senan Adel PHD Student E-Government MIS ( Management Information System engineering ) Msc Telecommunication

7 Layers of the OSI Model


Layer Responsible For: 7.) Application Provides Services to User Apps 6.) Presentation Data Representation

5.) Session
4.) Transport 3.) Network 2.) Data Link 1.) Physical

Communication Between Hosts


Flow Ctrl, Error Detection/Correction End to End Delivery, Logical Addr Media Access Ctrl, Physical Addr Medium, Interfaces, Puts Bits on Med.

Examples
Layer Example
7.) Application HTTP, FTP, SMTP 6.) Presentation ASCII, JPEG, PGP 5.) Session 4.) Transport BOOTP, NetBIOS, DHCP, DNS TCP, UDP, SPX

3.) Network
2.) Data Link 1.) Physical

IP, IPX, ICMP


Ethernet, Token Ring, Frame Relay Bits, Interfaces, Hubs

Mnemonics
(A)ll
(P)eople (S)eem (T)o (N)eed (D)ata (P)rocessing

7.) (A)pplication
5.) (S)ession 4.) (T)ransport 3.) (N)etwork 2.) (D)ata Link 1.) (P)hysical

(A)way
(S)ausage (T)hrow (N)ot (D)o (P)lease

6.) (P)resentation (P)izza

Layer 1: The Physical Layer


Defines physical medium and interfaces Determines how bits are represented Controls transmission rate & bit synchronization Controls transmission mode: simplex, halfduplex, & full duplex PDU: Bits Devices: hubs, cables, connectors, etc

Layer 2: The Data Link Layer


PDU: Frames Keeps Link alive & provides connection for upper layer protocols Based on physical (flat) address space Physical addresses are fixed and dont change when the node is moved Medium/media access control

The Data Link Layer (cont.)


Flow control and error detection/correction at the frame level. Think collisions Topology Ex: Ethernet, Token Ring, ISDN Sublayers: MAC (framing, addressing, & MAC) & LLC (logical link control gives error control & flow control) Devices: switches, bridges, NICs

Layer 3: The Network Layer


PDU: Packet End to end delivery of packets Creates logical paths Path determination (routing) Hides the lower layers making things hardware independent Uses logical hierarchical addresses

The Network Layer (cont.)


Logical hierarchical addresses do change when a node is moved to a new subnet Devices: routers, firewalls

Layer 4: The Transport Layer


PDU: Segment Service Point Address (more often called a port) used to track multiple sessions between the same systems. SPAs are used to allow a node to offer more than one service (i.e. it could offer both mail and web services) This layer is why you have to specify TCP or UDP when dealing with TCP/IP

The Transport Layer (cont.)


Must reassemble segments into data using sequence numbers Can use either connectionless or connection oriented sessions Connectionless sessions rely on upper layer protocols for error control and are often used for faster less reliable links Ex: UDP (used by things like NFS & DNS)

The Transport Layer (cont.)


Connection oriented sessions require the sender to first request a connection, the receiver to acknowledge the connection, and that they negotiate how much data can be sent/received before its reception is acknowledged Uses acknowledgements & retransmission for error correction Example: TCP (used by things like telnet, http)

Layer 5: The Session Layer


PDU: Data (from here on up) Sometimes called the dialog controller, this layer establishes, maintains, and terminates sessions between applications Sets duplex between applications Defines checkpoints for acknowledgements during sessions between applications

The Session Layer (cont.)


Provides atomization Multiple connections can be treated as one virtual session. If one fails or is terminated, all should be terminated. Identifies raw data as either application data or session control information Uses fields provided by layers 3 & 4 to track dialogs between applications / services Provides translations for naming services Ex: RPC, X-Windows, LDAP, NFS

Layer 6: The Presentation Layer


Data formatting, translation, encryption, and compression Ex: ASCII, EBCDIC, HTML, JPEG

Layer 7: The Application Layer


Provides communication services to applications Ex: HTTP, FTP, SMTP

TCP/IP vs OSI
TCP/IP
Application

OSI
Application Presentation Session (Layers 7-5) Transport (Layer 4) Network (Layer 3) Data Link Physical (Layers 1-2)

Transport Internet Network Interface

End Of Lecture

Instructor for the Course

Senan Adel
PHD Student E-Government MIS ( Management Information System ) Msc Telecommunication

19

Instructor Senan Adil PHD Student EGovernment (MIS) - MSC Telecom.

You might also like