Skip to main content

DATA LINK LAYER DESIGN ISSUSES...................

Data Link Layer has number of specific functions to carryout. These functions include:-

1. Providing a well defined service interface to the Network Layer.
2. Determining how the bits of the Physical Layer are grouped into frames.
3. Dealing with transmission errors.
4. Regulating the flow of frames so that slow receiver are not overcome by a fast sender.

Services provided to the Network Layer

The function of the Data Link Layer is to provide services to the Network Layer. The principle service is transferring data from the Network Layer on the source machine to the Network Layer on the destination machine. On the source machine there is an entity or a process, in the Network Layer that transfers some bits to the Data Link Layer for transmission to the destination machine. The job of the Data Link Layer is to transmit the bits to the destination machine so that they can be handled over, to the Network Layer.

The Data Link Layer can be designed to offer various services. The actual services offered can vary from system to system. Three reasonable possibility that commonly provided are:-

* Unacknowledged Connectionless Services
* Acknowledged Connectionless Services
* Unacknowledged Connection Oriented Services

Unacknowledged Connectionless Services:- It consist of having the source machine send independent frames to the destination machine, without having the destination machine acknowledge them. No connection is established before hand or released afterwards. If the frame is lost due to noise on the line, no attempt is made to recover it in the Data Link Layer. It is appropriate for Real Time Traffic (data) such as speech, in which late data are worse then bad data.

Acknowledged Connectionless Services:- when this service is offered there are still no connections used but each frame is individually acknowledged. In this way the sender knows whether or not a frame has arrived safely. If it is not arrived within the specified time interval, it can be sent again.
Unacknowledged Connection Oriented Services:- The most sophisticated service that the Data Link Layer can provide to the Network Layer is Connection Oriented Services. With this service, the source and destination machine establish a connection before any data are transferred. Each frame sent over a connection is numbered and the Data Link Layer guarantees that the each frame sent is indeed received. further more it guarantees that each frame is received exactly once and that all the frames are received in the right order.

Comments

Popular posts from this blog

Standard and Formatted Input / Output in C++

The C++ standard libraries provide an extensive set of input/output capabilities which we will see in subsequent chapters. This chapter will discuss very basic and most common I/O operations required for C++ programming. C++ I/O occurs in streams, which are sequences of bytes. If bytes flow from a device like a keyboard, a disk drive, or a network connection etc. to main memory, this is called   input operation   and if bytes flow from main memory to a device like a display screen, a printer, a disk drive, or a network connection, etc., this is called   output operation . Standard Input and Output in C++ is done through the use of  streams . Streams are generic places to send or receive data. In C++, I/O is done through classes and objects defined in the header file  <iostream> .  iostream  stands for standard input-output stream. This header file contains definitions to objects like  cin ,  cout , etc. /O Library Header Files There are...

Genetic Algorithm: Population, Fitness Function, Parent Selection, Cross over, Mutation

Genetic Algo Population Population is a subset of solutions in the current generation. It can also be defined as a set of chromosomes. There are several things to be kept in mind when dealing with GA population − The diversity of the population should be maintained otherwise it might lead to premature convergence. The population size should not be kept very large as it can cause a GA to slow down, while a smaller population might not be enough for a good mating pool. Therefore, an optimal population size needs to be decided by trial and error. The population is usually defined as a two dimensional array of –  size population, size x, chromosome size . Population Initialization There are two primary methods to initialize a population in a GA. They are − Random Initialization  − Populate the initial population with completely random solutions. Heuristic initialization  − Populate the initial population using a known heuristic for the problem. It has been observed that the e...

Normalization in DBMS: 1NF, 2NF, 3NF and BCNF in Database

Normalization   is a process of organizing the data in database to avoid data redundancy, insertion anomaly, update anomaly & deletion anomaly.  Anomalies in DBMS There are three types of anomalies that occur when the database is not normalized. These are – Insertion, update and deletion anomaly. Let’s take an example to understand this. Example : Suppose a manufacturing company stores the employee details in a table named employee that has four attributes: emp_id for storing employee’s id, emp_name for storing employee’s name, emp_address for storing employee’s address and emp_dept for storing the department details in which the employee works. At some point of time the table looks like this: emp_id emp_name emp_address emp_dept 101 Nikhil Kangra D001 101 Nikhil Kangra D002 123 Ashish Shimla D890 166 Rahul Pathankot D900 166 Rahul Pathankot D004 The above table is not normalized.  Update anomaly : In the above table we have two rows for employee Nikhil as he belongs ...