Subscribe Us

Saturday, April 25, 2020

OSI MODEL tutorial

OSI MODEL


OSI stand for OPEN SYSTEM INTERCONNECTION. it has been devoloped by ISO - INTERNATIONAL ORGANIZATION OF STANDARDIZATION, in the year 1984. it is a 7 layer architecture with each layer having specific functionality to perform. all these 7 layers work collaboratively to another across the globle.


types of layer

there are 7 types of layers------

sender                                 receiver

application layer                    application layer
presentation layer               presentation layer
session layer                          session layer
transport layer                       transport layer
network layer                         network layer
data link layer                        data link layer
physical layer                        physical layer



  1. physical layer(layer 1):-

   the lowest layer of the OSI reference modle is the physical layer. it is responsible for the devices. the physical layer contains information in the form of bits.
                                                                
           e.g.      [1100][0111][0011]

the functions of the physical layer:- 

  1. bit synchronization:-
  the physical layer provides the sychronization of the bits by providing a clock. this clock controls both sender and receiver.

  1. data link layer(layer 2):-

  the data link layer is responsible for the node to node delivery of the massage. the main function of this layer is error - free from one node to another over the physical layer.

data link layer is devided in to two sub layer:-

  1. logical link control (LLC)
  2. media access control (MAC)

the function of data link layer:-

  1. framing:-     framing is the function of the data link layer. it provides a way for a sender to transmit a set os bits that are meaningful to the receiver. this can be accomplished by attaching special bit patterns to the beginging and end of the frame.

  1. physical addressing:-   after creating frames, data link layer add physical addresses (MAC address) of sender and/or receiver in the header of each frame.

  1. error control:- data link layer provides the mechanism of error control in which detects and retransmits damaged or lost frames.

  1. flow control:- the data rate must be constant or both sides else the data may get corrupted thus, flow control coordinates that amount of data, that can be sent before receiving acknowledgement.

  1. access control:- when a single communication channel is shared by multiple devices, MAC sub-layer

                  3. Network Layer:-

The network Layer controls the operation of the subnet. The main aim of this layer is to deliver packets from source to destination across multiple links (networks). ... It also divides the outgoing messages into packets and to assemble incoming packets into messages for higher levels.

Functions of Network Layer

Let’s be clear on the above terminologies that network layer performs:

Addressing – Maintains both the source and destination addresses at the frame header. The network layer performs addressing to find out the specific devices on the network.
Packetizing – The network layer works on the conversion of packets those received from its upper layer. This feature is accomplished by Internet Protocol (IP).
Routing – Being considered as the major functionality, the network layer chooses the best path for data transmission from a source point to the destination.
Internetworking – Internetworking works to deliver a logical connection across multiple devices.

              4. Transport layer

The transport layer is the fourth layer in the open system interconnection (OSI) model, and is responsible for end-to-end communication over a network. It provides logical communication between application processes running on different hosts within a layered architecture of protocols and other network components.

                
Functions & Features

Segmentation : Large data is divided into smaller segments at the senders end and then these smaller segments are recombined in exact format before it is received at receivers end.

Error Control : Distortion, Un-delivery of data packets and noise in data packets results in error and this is prevented using Transport Layer too and this feature is called Error Control.

Flow Control : Transport-Layer ensures that faster data transmission and slow data absorption or slow data transmission and faster data absorption must not occur.

Transport-Layer performs Multiplexing & De-multiplexing functions too.
Connection oriented service using TCP(Transmission Control Protocol) Protocol & Connection less service using UDP(User Data-gram Protocol) Protocol are performed by transport layer.


  1. Session layer

The session layer (layer 5) is responsible for establishing, managing, synchronizing and terminating sessions between end-user application processes.

The main functions of the session layer are as follows −

. It works as a dialog controller. It allows the systems to communicate in either half-duplex or full-duplex mode of communication.

. It is responsible for token management. Through this, it prevents the two users to simultaneously attempt the same critical operation.

. It synchronizes communication. It adds synchronization points or checkpoints in data streams for long communications. This ensures that data streams up to the checkpoints are successfully received and acknowledged. In case of any failures, only the streams after the checkpoints have to be re-transmitted.

6.Presentation layer(layer 6):- 

 presentation layer also called the translation layer. the data from the application layer is extracted here and manipulated us per the required formate to transmit over the network.

the function of the presentation layer are :-

  1. translation:- for example,ASCII to EBCDIC.
  2. encryption/decryption:- data encryption translates the data in to another form of code. the encrypted data is known as the cipher text and the decrypted data is known as plain text. a key value is used for encrypting as well as decrypting data.
  3. compression:-  reduces the number of bits that need to be transmitted on the network.

             7. application layer(7):- 

 At the very top of the OSI refrence model starck of layers, we find application layer which is implemented by the network applications. these applications produce the data which has to be transferred over the network. this layer also serves as a window for the applicatin services to access the network and for displaying the received information to the user.

EXP:- browsers, skype massenger etc.
application layer is also called as desktop layer.

TRANSMISSION MEDIA in computer networking

TRANSMISSION MEDIA

             transmission media is a pathway that carries the information from sender to receiver. we used different types of cables or waves to transmit data. data is transmitted normally through electrical or electromagnetic signals.

characteristics of cables:-
  • SEGMENT LENGTH:- length of single wire.
  • ATTENUATION:- indicate loss of single.
  • BANDWIDTH:- amount of data carried by cable.
  • NUMBER OF SEGMENT:- maximum number of segments in network.
  • COST:- copper cables are cheapest, fiber optic cables are expensive.
  • INTERFERENCE SUSCEPTIBILITY AND CROSSTALK:-  defines concept of electronic interference on cables.

TYPES OS CABLES

copper medum is the cheapest mode of data transfer.

  • coaxial cable
  • fiber optical cable
  • twisted pair cable

TYPES OF TRANSMISSION MEDIA

there are two types of transmission media:-

  1. GUIEDED MEDIA(WIRED)
  2. UNGUIEDED MEDIA(WIRELESS)

  1. COAXIAL CABLE:-


  • consist of a solid copper core surround by an insulator mainly made up of poly vinly chloride (PVC) or teflon.
  • coaxial cables are less prone to interference (both internal and external).


TYPES OF COAXIAL CABLE:-


coaxial cables are mainly devided into four categories.
  • RG 58
  • RG 8
  • RG 6
  • RG 59


              RG 58




  • maximum segment length is 200 mtr.
  • interference protection is better than twisted pair cables.
  • offers resistance of 50 Ohms.
  • BNC-T connector is used to connect this cable.
  • used in thinnet (10BASe2)
  • mostly used in changing enviroments.


THICKNET (10BASe5)
THINNET (10BASe2)


             10BASe5/2= 10 mb/s 500/200 mtr.


                                   RG 8




  • maximum segment length is 500 mtrs.
  • interference protection is good compare to any copper cables.
  • offers resistance  of 50 Ohms.
  • BNC-T or vampire tap connector is used to connect this cable.
  • used in 10BASe5 network.


                                  RG 6




  • broadband quad - shielded cable that offers an impedance of 75 Ohms.
  • provides lower attenuation characteristics.
  • useful in cable T.V, CCTV and satellite disantenna.


                                 RG 59




  • solid conductor is surrounded by a foam polyethylene dielectric.
  • offers impedance of 75Ohms.
  • useful is secqurity camera cable TV and home theatre.


  1. TWISTED PAIR CABLES




a pair of cables twisted around each other forms a twisted pair cable.


TYPES OF TWISTED PAIR CABLES


  1. unshielded twisted pair cable (UTP)
  2. shielded twisted pair cable (STP)


UTP (unshielded twisted cable):-


  • pair of unshielded wires wound around each other.
  • easily gets affected by EMI, RFI and crosstalk.
  • cable offers resistance of 50 Ohms.
  • maximum segment length is 100 mtrs.


EMI = electro magnetic inerference 
RFI = radio 


              UTP CABLES TYPES


  • CAT 1
  • CAT 2
  • CAT 3
  • CAT 4
  • CAT 5
  • CAT 5e
  • CAT 6
  • CAT 7


STP (shielded twisted pair cables)


  • pair of wires wound around each other is place inside shield.
  • better protection from EMI,RFI and crosstalk as compared to UTP.
  • offers resistance of 50 Ohms.
  • maxmimum segment length of 100 mtrs.


  1. FIBER OPTIC CABLES/MEDIUM




  • consist of center glass core surround by cledding.
  • electrical signals are converted into light signals.
  • a phenomenon called as total internal reflection is used for transmission.
  • LED or laser is used to transmit signal.


FIBER OPTIC CABLE CHARACTERTIES


  • BAND WIDTH:- carries large amount of data ranging from 100 mbps to 1 GBps.
  • SEGMENT LENGTH:- transmit data signals over large distance.
  • INTERFERENCE:- no electric signals pass through these types of cables thus providing security.


         FIBER OPTIC CABLE TYPES


fiber optic cables can carry signals in a single direction…


  1. single mode
  2. multi mode


1. SINGLE MODE:- 
  • A type of cable that has only a single of glass fiber with a thin diameter.
  • fiber optic cables that use lasers are known as single mode cable.


2.MULTI MODE:-
  • A type of cable that contains a glass fiber with a larger diameter.
  • it is a 62.5/125 micrometer fiber cable.


FIBER OPTIC CABLE CONNECTORS


  • straigth tip (ST) :- joins individual fiber to optical devices.
  • subscriber connector (SC) :- Attaches two fibers to send and receive signals.
  • medium interface connector (MIC) :- joins fiber to FDDI controller.
  • sub miniature type A (SMA):- uses individual connectors for each fiber stand.


FDDI= fiber distributed data interface


  1. ferrule core connector (FC)
  2. lucent connector (LC)


UNGUIEDED MEDIA (wireless media)


  • unguieded form of transmission medium.
  • transmitters and receivers are used to send and receive signals.
  • involves use of electromagnatic waves such as microwave, infrared, radio waves etc.
  • wireless medium is useful in connecting large geographical areas.


  1. RADIO WAVES:-




  • radio waves are the electromagnatic waves that are transmitted in all the directions of free space.
  • radio waves are amnidirectional i.e. the signals are propagated in all the directions.


APPLICATIONS OF RADIO WAVES


  • A radio wave is useful for multicasting when there is one sender and many receivers.
  • an FM radio, T.V, cordless phones are EXP.. of a radio wave.


  1. MICRO WAVE


  • high frequency wave that is used for point to point communication.
  • microwave categories:- terrestrial- relay towers are used to transmit radio signals between earth stations.
  • SATELITE:- radio signals are transmitted between differenc base stations using satellites.


  1. INFRARED TRANSMISSION (IRDA):-


  • uses infrared lights for transmission and reception of signals.
  • line of sight must be maintained between the devices.
  • mainly used in LAN environments.
  • LEDs or injection laser diode (ILD) is used to transmit information and photodiodes are used to receive the signals.