DCCN Unit 1
DCCN Unit 1
DCCN Unit 1
The open system interconnection model is a layer architecture that standardizes the level of service
and types of interactions for computers exchanging information through a network. This
architecture was defined by ISO in 1997. OSI model consists of seven separate and related layers
each of which defines a segment of process of moving information across a network
The application layer is software running at the source node creates data to be transmitted to the
application layer software running at the destination node. The presentation layer receives data from
applications layer and add header and sent it to the next layer. The remaining layers (Session,
Transport, Network) adds its own header and sender to next layer. The lowest layer is physical layer
and the data is transmitted as voltages pulses across the communication medium.
Several different protocols perform the functions of various layers of OSI reference model. When a
message sent from one computer to another it travels down the layer of source computer and then
travels up through layers of destination computers
FUNCTIONS OF OSI LAYERS
1. Physical layer
Physical layer is concerned with sending bits between source and destination nodes. The functions
of physical layer are
Signal encoding:-What voltages are used to represent the bits of 0s & 1s.
Type of medium:-What is medium and what are its properties.
Bit synchronization:-Is the transmission synchronous (or)asynchronous.
Transmission type:- Is the transmission Serial (or) Parallel
Transmission mode:- Is the transmission Simplex, half duplex (or) full duplex
Topology: - What is the topology used (star, bus, mesh, tree)
Types of multiplexing:- Is multiplexing used if so, what is its type TDM (or) FDM
Bandwidth:- Is base band (or)broad band communication used.
Interface:- How the systems are interfaced
Signal type:- Are the signals analog (or) digital.
2. Data link layer
It is responsible for transmitting a group of bits between adjacent nodes. The groups of bits are
generally called frame or packet The data link layer mainly performs error control and flow control.
The data link layer is divided into two layers
1. Logic link control (LLC) layer 2. Medium access control (mac) layer
The functions of data link layer are
Addressing:- Headers and tailors are added containing the physical address of adjacent nodes
and removed on successfully delivery
Flow control:- This avoids over writing on the receiver buffer by regulating the amount of
data that can be transmitted
Error control:- It checks the CRC to ensure the correctness of frame. If in correct,
retransmission takes place
Media Access Control:- In LANs it decides who can send data and when & how much data.
Synchronization:- Headers have bits which tells receiver when a frame is arriving. Trailers
mark the end of frame apart from containing the error control bits.
Node to node delivery:- This DLL is responsible for error free delivery of entire frame or
packet to the next adjacent node
3. Network layer
This layer is responsible for routing a packet with in the sub net i.e., from source to destination
nodes across multiple nodes in same network or across multiple networks. This layer ensures the
successful delivery of packet to the destination node. To perform this it chooses a route. A router
can connect two networks with different protocols packet length and formats. The network layer
performs the following functions
1. Routing
2. Congestion control
3. Logical addressing: Source and destination logical addresses (IP address)
4. Address transformations: Interpreting logical addresses to get their physical equivalent(ARP
protocol)
5. Accounting and billing
6. Source to destination error free delivery of a packet
4. Transport layer
This is the first end to end layer. All the lower layers were the protocols between adjacent nodes.
Therefore a header at transport layer contains information about destination nodes. This layer takes
care of error control and flow control both at the source and destination for the entire message,
rather than only for a packet.
The responsibilities of transport layers are
1. Host to host message delivery:- It ensures that all the packets of message send by a source
node arrived at intended destination.
2. Application-to- application communication:- Enable communication between two
applications running on different computers.
3. Segmentation and reassembling:- This layer breaks a message into packets and numbers them
by adding sequence number at dentition to reassemble the original message.
4. Connection: - It creates a logical connection between the source and destination for the
duration of complete message transfer.
5. Session Layer
The main functions of session layer is to establish, maintain and synchronize the interaction
between two communication hosts. The session layer checks and establishes connections between
the hosts of the two different users. The responsibilities of session layer are
1. Sessions and sub sessions:-The session layer divided session into sub session for avoiding
retransmission of entire messages by adding check pointing features.
2. Synchronization: - The session layer also decides the order in which data needs to be
transmitted to the transport layer.
3. Dialog control: - The session layer also decides which user/application sends data and at what
point of time and whether the communication is simplex (or) duplex.
4. Session closure: - It ensures that the session between the hosts is closed gracefully.
6. Presentation Layer
When two hosts are communicated with each other they may use different coding standards,
character set for representing data [ASCII, EBCDIC]. The presentation layer is responsible for data
translation and data compression. The responsibilities of this layer are
1.Translation :- . The translation between senders and receivers message format is done by
presentation layer if two formats are different.
2. Encryption: - For security purposes the presentation layer performs data encryption and decryption
3. Data compression: - For efficient transmission, it performs data compression before sending and
decompression at destination
7. Application Layer
It is the top most layers in OSI model. It enables a user to access the network. The application programs
using the network services also reside at this layer. This layer provides user interface for network
applications such as remote log in (TELNET) World Wide Web(WWW), File transfer Protocol), ElectroNIC
mail (email), Remote database access etc. The responsibilities of application layer are
1. Network abstraction: - The application layer provides an abstraction of underlying network to an
end user and an application
2. File access and transfer: - It allows a user to access, download or upload files from/to a remote
host.
3. Mail services: - It allows the users to use mail services [SMTP- Simple mail transfer protocol ]
4. Remote login: - It allows logging in a remote host [TELNET].
5. World Wide Web (WWW): - Also provides accessing web pages.
1.6 TYPES OF DIFFERENT PHYSICAL TRANSMISSION MEDIA
Transmission media are physical infrastructure components that carry data from one computer
to another. Transmission media need not be in the form of physical wire. They can be invisible.
Examples for simple transmission media are telephone wires that connect telephones to central
offices. All transmission media can be divided into two main category’s i.e., guided & unguided as
shown in figure. Guided media can be further subdivided into three types. Twisted pair, Coaxial
cable &Optical fiber. Guided media physically based on some physical cables. Twisted pair and
coaxial cable carry signals in the form of electric current whereas optical fibers carry signal in the
form of light.
1.7 CROSS SECTION AND APPLICATIONS OF TWISTED PAIR CABLEs( UTP,STP), CO-
AXIAL CABLE AND OPTICAL FIBER
Unshielded Twisted Pair:-The most commonly used medium in telephone systems is UTPIt can
carry both voice as well as data. It consists of two conductors and are twisted as shown in the figure.
This results in reduction of noise to a great extent. The copper conductors are covered by PVC or
any other insulator.
UTP is flexible ,cheap& easy to install. EIA has developed standards for UTP cables.
Category1:- This is the basic cable used in telephone system for voice communication.
Category2:- Suitable for voice and data communication up to the speed of 4Mbps.
Category3:- It can carry voice and data up to 10Mbps. It requires minimum 3 twist per foot. Today
these are more regularly used in telephone network.
Category4:-Similar to category3 & can handle data up to 16Mbps.
Category5:-It has data speed of 100Mbps .
Shielded Twisted Pair:- a part from insulator the twisted pair itself is covered by metal shield and
finally the plastic cover as shown in figure. The metal sheet prevents penetration of electro-
magnetic noise. It also eliminates crosstalk, an effect where one wire mix up with some of the
signal travelling on the other wire. This effect can be observed during telephonic
conversations. The shield prevent such unwanted sounds. The STP is more expensive than UTP
Applications
1.Used for both analog & digital signal transmission
2. Most commonly used medium in telephone network.
3.In LAN STP are mainly used for low cost , low performance applications.
Coaxial Cable:-It has an inner central conductor surrounded by an insulating shield which in turn is
enclosed in the outer conductor. The outer conductor also acts as a shield against noise. The outer
conductor
A transmitter at the center end of optic fiber uses a light emitting diode or a laser to send pulses of
light across the fiber. LED is used for short distance. As the laser provides a very focused beam,it is
used for long distances and the receiving device must have a photo sensitive cell which can detect
the absence or presence of light to indicate 0 or 1.
Advantages
1.Resistant to noise: As light rays are used for communication rather than electrical signals there is
no noise interference.
2.Huge bandwidth: The bandwidth offered is huge as compared to twisted pair and coaxial cable.
3.High signal carrying capacity: The signals carried by optical fiber travel longer distances without
needing regeneration.
Applications
1. Long haul trunks i.e.,, telephone networks [up to 1500kms].
2. Metropolitan trunks without repeaters [up to 12kms].
3. Rural exchange trunks to link towns & villages.
4. Subscriber loops from central exchange to business subscribers capable of handling voice, data,
image &video.
5.LANs capacity of 100Mbps to 10Gbps and can support 100’s of systems in an office building.
INFRARED AND LIGHT WAVE TRANSMISSION
Infrared transmission: Infrared transmission refers to energy in the region of EM spectrum at
wave lengths larger than visible light and shorter than radio waves. So infrared frequencies are
higher than micro waves and lower than visible light. Transmitting IR data from one device to
another is referred to as beaming. Infrared waves are used for short range communication. They are
directional cheaper and easy to build. They don’t pass through solid objects like room walls etc.
However they don’t interfere with similar systems in adjacent rooms or buildings.
The infrared radiation spectrum is divided into three regions.
1.Near IR band : Contains energy in the range of wavelengths closest to visible light i.e, 750nm to
1300nm.
2.Middle IR band: Consists of energy in the range of 1300nm to 3000nm.
3.Far IR band: It extends energy from 3000nm to 14000nm.
It doesn’t require any FCC license. Infrared is used in variety of wireless communication,
monitoring &control applications. The examples are
1. Home entertainment remote control boxes. ((TV, Audio Systems, DVD players)
2. Wireless LAN’s.
3. Links between notebook computers &desktop computers.
4. Wireless modems.
5. Fire sensors, medical diagnostic equipment, missile guidance systems.
6. Geological monitoring devices.
7. Night vision systems
8. Motion detectors.
Light wave transmission: Unguided optical signals (or) light waves can be used to connect the
LANs in two buildings. This is possible with the help of lasers and photo detectors mounted on the
top of roofs. Optical signals are unidirectional and therefore each building must have its own laser
and photo detector. This system offers low cost with very high bandwidth and easy to install. It
doesn’t require any FCC license. The main limitation of this is optical signals of laser cannot
penetrate through thick fog (or) rain (or) the directionality is effected by heat waves.
1.11Comparison of characteristics of different transmission media
S.No. Medium Speed Cost Security Attenuation
1 UTP 1-100 Mbps Low Low High
2 STP 1-150 Mbps Medium Low High
3 Coaxial Cable 1Mbps-1Gbps Medium Low High
4 Optical fiber 10Mbps-2Gbps High High Low
5 Radio 1-10 Mbps Medium Low Medium
transmission
6 Terrestrial 1Mbps-10Gbps High High Variable
Microwave
7 Satellite 1Mbps-10Gbps High High Variable
8 Cellular 1.6-1.2 Kbps High High Low
Differences between guided and unguided media.
Guided media Unguided media.
1.Transmission is through wire or cable. 1Transmission is through air (or) space.
2.Propagates through a cable. 2.Propagates in all directions.
3.Travels up to few kilometers 3.Travels up to thousands of kilometers
4.Installation of transmission media is 4.No need of installation of transmission
needed. media.
5.Expensive equipment’s are not needed for 5.Expensive equipment are needed for
transmission and reception.. transmission and reception.
6.ex:- LAN, telephone networks. 6.Radarcommunication, satellite TV , cell
phone communication etc…
1.8 MODES OF DATA TRANSMISSION
There three modes of data transmission
1Simplex transmission:-It is unidirectional communication. In this one of the communicating
devices can only send the data whereas the other devices can only receive the data.Keyboard to
computer monitor data transmission is an example for simplex mode transmission. An example for
simplex transmission is shown in the figure in which one host can only send data and the other can
only receive it.
3. Full duplex transmission:- In this mode both the devices can transmit data at the same time i.e,
both the devices are capable of sending as well as receiving the data at same time. It is similar to a
mobile communication.
1.9Bandwidth and throughput of a physical medium:
Bandwidth:
One characteristics that measures network performance is bandwidth. However the term can be used
in two different context with two different measuring values, bandwidth in herz and bits per
seconds.
Banwidth in herz:
It is range of frequencies contained in composite signal.
Bandwidth in bits per second:
It is refers for number of bits per second in channel.
Throughput:
The throughput of a communication channel is defined by the number of bits trsnsferd over a
communication link.
Throughput = transfer size
Latency
Latency: latency defines the time it takes to transmit one packet from source to destination.
Latency delay consist of propagation delay transmission time and buffering time.
Latency = Tx + Tp + Tb
Where
Tx= transmission time.
Tp= propagation delay
Tb= buffering time
A two was latency is called round trip time (RTT)
Transmission time:
It is time that it takes to transmit one bit on a transmission channel
Tx = packet size (bits)
Bandwidth
1.10 CIRCUIT SWITCHING& PACKET SWITCHING-SWITCHING MECHANISMS
A switched network consists of a series of inter linked nodes. Switches are hardware and software devices
capable of creating temporary connections between two or more devices linked to the switch for
transmission of data (voice, videos& images) beyond a local area network Communication is achieved by
transmitting data from the source to destination through a network of intermediate switches . The switching
nodes are not concern with the content of data but they provide switching facility that they move data from
node to node until they reach their destination. There are three types of switching methods
CIRCUIT SWITCHING
In the circuit switching a dedicated communication path is established between two stations. The
communication path is a connected sequence of links between network nodes. The communication
through circuit switching involves three phases.
1. Circuit (or) Connection Establishment: phase: Before the signal can be transmitted an end to
end
connection must be established.
2. Data Transfer phase : In this phase the data can be transmitted through dedicated connection.
3. Circuit (or) Connection release phase: When the communication is over nodes send a
request for terminating the connection and the connection will be released. Circuit switching was
developed to handle voice traffic for telephone communications. In telephone calls this types of
temporary dedicated connection is useful for the duration of call. In circuit switching the connection
is used for the entire duration even no data is being transferred . Once the connection is established
the network is efficiently transparent to user. Information is transmitted at a fixed rate with no delay
other than propagation delay of transmission links. Circuit switching treats all communication
requests as equal.(No message priority) This method is good for large volumes of continuous traffic.