From Osi
From Osi
From Osi
--------------------------------------------Short Notes-------------------------------------------
COMPUTER NETWORKS
A computer network is a group of computers linked to each other that enables the
computer to communicate with another computer and share their resources, data, and
applications.
GOALS OF NETWORKING:
1. Resource Sharing :
Many organization has a substantial number of computers in operations, which
are located apart. Ex. A group of office workers can share a common printer,
fax, modem, scanner etc.
2. High Reliability :
If there are alternate sources of supply, all files could be replicated on two or,
machines. If one of them is not available, due to hardware failure, the other
copies could be used.
3. Inter-process Communication :
Network users, located geographically apart, may converse in an interactive
session through the network. In order to permit this, the network must provide
almost error-free communications.
4. Flexible access :
Files can be accessed from any computer in the network. The project can be
begun on one computer and finished on another.
5. Reduced cost:
Several machines can share printers, tape drives, etc. Hence we can reduce
the cost over all cost.
NETWORK TOPOLOGIES
Geometric representation of how the computers are connected to each other is known
as topology.
There are Six types of topology –Bus, Ring, Star, Mesh, Tree and Hybrid.
1.BUS TOPOLOGY
o The bus topology is designed in such a way that all the stations are connected
through a single cable known as a backbone cable.
o When a node wants to send a message over the network, it puts a message over
the network. All the stations available in the network will receive the message
whether it has been addressed or not.
o The bus topology is mainly used in 802.3 (ethernet)
o The configuration of a bus topology is quite simpler as compared to other
topologies.
o The backbone cable is considered as a "single lane" through which the
message is broadcast to all the stations.
o The most common access method of the bus topologies is CSMA (Carrier
Sense Multiple Access).
Advantages :
o Low-cost cable: In bus topology, nodes are directly connected to the cable
without passing through a hub. Therefore, the initial cost of installation is low.
o Moderate data speeds: Coaxial or twisted pair cables are mainly used in bus-
based networks that support upto 10 Mbps.
o Familiar technology: Bus topology is a familiar technology as the installation
and troubleshooting techniques are well known, and hardware components are
easily available.
o Limited failure: A failure in one node will not have any effect on other nodes.
Disadvantages :
o Extensive cabling: A bus topology is quite simpler, but still it requires a lot of
cabling.
o Difficult troubleshooting: It requires specialized test equipment to determine
the cable faults. If any fault occurs in the cable, then it would disrupt the
communication for all the nodes.
o Signal interference: If two nodes send the messages simultaneously, then the
signals of both the nodes collide with each other.
o Reconfiguration difficult: Adding new devices to the network would slow
down the network.
o Attenuation: Attenuation is a loss of signal leads to communication issues.
Repeaters are used to regenerate the signal.
2.RING TOPOLOGY
Advantages :
3.STAR TOPOLOGY
Disadvantages:
o A Central point of failure: If the central hub or switch goes down, then all the
connected nodes will not be able to communicate with each other.
o Cable: Sometimes cable routing becomes difficult when a significant amount
of routing is required.
4.MESH TOPOLOGY
A.Full Mesh Topology: In a full mesh topology, each computer is connected to all
the computers available in the network.
B.Partial Mesh Topology: In a partial mesh topology, not all but certain
computers are connected to those computers with which they communicate
frequently.
Advantages :
o Reliable: The mesh topology networks are very reliable as if any link
breakdown will not affect the communication between connected computers.
o Fast Communication: Communication is very fast between the nodes.
o Easier Reconfiguration: Adding new devices would not disrupt the
communication between other devices.
Disadvantages :
5.TREE TOPOLOGY
o Tree topology combines the characteristics of bus topology and star topology.
o A tree topology is a type of structure in which all the computers are connected
with each other in hierarchical fashion.
o The top-most node in tree topology is known as a root node, and all other nodes
are the descendants of the root node.
o There is only one path exists between two nodes for the data transmission.
Thus, it forms a parent-child hierarchy.
Advantages :
Disadvantages :
The given hybrid topology has star, ring and mesh topology
Advantages :
o Reliable: If a fault occurs in any part of the network will not affect the
functioning of the rest of the network.
o Scalable: Size of the network can be easily expanded by adding new devices
without affecting the functionality of the existing network.
o Flexible: This topology is very flexible as it can be designed according to the
requirements of the organization.
o Effective: Hybrid topology is very effective as it can be designed in such a way
that the strength of the network is maximized and weakness of the network is
minimized.
Disadvantages :
o Complex design: The major drawback of the Hybrid topology is the design of
the Hybrid network. It is very difficult to design the architecture of the Hybrid
network.
o Costly Hub: The Hubs used in the Hybrid topology are very expensive as these
hubs are different from usual Hubs used in other topologies.
o Costly infrastructure: The infrastructure cost is very high as a hybrid network
requires a lot of cabling, network devices, etc.
NETWORK TYPES
A computer network can be categorized by their size. According to size there are
mainly 4 types of computer network :
o A Wide Area Network is a network that extends over a large geographical area
such as states or countries.
o WAN is the biggest network compared to LAN and MAN.
o A Wide Area Network is not limited to a single location, but it spans over a
large geographical area through a telephone line, fibre optic cable or satellite
links.
o The internet is one of the biggest WAN in the world.
o A Wide Area Network is widely used in the field of Business, government, and
education.
o A WAN network has more security issues as compared to LAN and MAN
network
o Installation cost of the WAN network is highest
NETWORK MODELS
There are mainly two network models are there:
1.OSI MODEL
Open System Interconnect (OSI) is an open standard for all communication systems.
OSI model is established by International Standard Organization (ISO). This model
has seven layers and each layer performs a particular network function.
o Line Configuration: It defines the way how two or more devices can be
connected physically.
o Data Transmission: It defines the transmission mode whether it is simplex,
half-duplex or full-duplex mode between the two devices on the network.
o Topology: It defines the way how network devices are arranged.
o Signals: It determines the type of the signal used for transmitting the
information.
2.DATALINK LAYER
o Framing: The data link layer translates the physical's raw bit stream into
packets known as Frames. The Data link layer adds the header and trailer to the
frame. The header which is added to the frame contains the hardware
destination and source address.
o Physical Addressing: The Data link layer adds a header to the frame that
contains a destination address. The frame is transmitted to the destination
address mentioned in the header.
o Flow Control: Flow control is the main functionality of the Data-link layer. It
is the technique through which the constant data rate is maintained on both the
sides so that no data get corrupted. It ensures that the transmitting station such
as a server with higher processing speed does not exceed the receiving station,
with lower processing speed.
o Error Control: Error control is achieved by adding a calculated value CRC
(Cyclic Redundancy Check) that is placed to the Data link layer's trailer which
is added to the message frame before it is sent to the physical layer. If any error
seems to occurr, then the receiver sends the acknowledgment for the
retransmission of the corrupted frames.
o Access Control: When two or more devices are connected to the same
communication channel, then the data link layer protocols are used to
determine which device has control over the link at a given time.
3.NETWORK LAYER
o It is a layer 3 that determines the best path to move data from source to the
destination based on the network conditions, the priority of service, and other
factors.
o The Data link layer is responsible for routing and forwarding the packets.
o Routers are the layer 3 devices, they are specified in this layer and used to
provide the routing services within an internetwork.
o The protocols used to route the network traffic are known as Network layer
protocols. Examples of protocols are IPV4 and IPv6.
4.TRANSPORT LAYER
o The Transport layer is a Layer 4 ensures that messages are transmitted in the
order in which they are sent and there is no duplication of data.
o The main responsibility of the transport layer is to transfer the data completely.
o It receives the data from the upper layer and converts them into smaller units
known as segments.
o This layer can be termed as an end-to-end layer as it provides a point-to-point
connection between source and destination to deliver the data reliably.
o TCP(Transmission Control Protocol) and UDP(User Datagram Protocol) are
two protocols used in transport layers
5.SESSION LAYER
o Dialog control: Session layer acts as a dialog controller that creates a dialog
between two processes or we can say that it allows the communication between
two processes which can be either half-duplex or full-duplex.
o Synchronization: Session layer adds some checkpoints when transmitting the
data in a sequence. If some error occurs in the middle of the transmission of
data, then the transmission will take place again from the checkpoint. This
process is known as Synchronization and recovery.
6.PRESENTATION LAYER
7.APPLICATION LAYER
The TCP/IP specifications described a lot of applications that were at the top of the
protocol stack. Some of them were TELNET, FTP, SMTP, DNS etc.
• It operated independently.
• It is scalable.
• Client/server architecture.
• Supports a number of routing protocols.
• Can be used to establish a connection between two computers.
Demerits of TCP/IP
COMMUNICATION MEDIA
Communication medium (media ,if there is more than one) refers to the physical
channel through which data is sent and received. i.e a transmission medium is a
physical path between the transmitter and the receiver Data is sent in the form of
voltage levels which make up the digital signal. A digital signal consists of 0s and 1s;
essentially, a 1 corresponds to a high voltage, while a 0 corresponds to a low voltage.
1.GUIDED MEDIA
It is also referred to as Wired or Bounded transmission media. In guided media,
transmitted data travels through cabling system that has a fixed path.
Features:
• High Speed
• Secure
• Used for comparatively shorter distances
Twisted pair is a physical media made up of a pair of cables twisted with each other.
A twisted pair cable is cheap as compared to other transmission media. Installation of
the twisted pair cable is easy, and it is a lightweight cable.
Advantages:
• Least expensive
• Easy to install
• High speed capacity
Disadvantages:
Disadvantages:
Coaxial cables are copper cables with better shielding than twisted pair cables, so
that transmitted signals may travel longer distances at higher speeds. A coaxial cable
consists of these layers, starting from the innermost −
• Stiff copper wire as core (Centre Conductor) – 1st conductor
• Insulating material surrounding the core(Insulator)
• Closely woven braided mesh of conducting material surrounding
the insulator(Shield) – 2nd conductor
• Protective plastic sheath encasing the wire(Jacket)
Coaxial cables are widely used for cable TV connections and LANs.
Coaxial is called by this name because it contains two conductors that are parallel to
each other.
Advantages:
Disadvantages:
A fibre-optic cable is made of glass or plastic and transmits signals in the form of light
o Core: The optical fibre consists of a narrow strand of glass or plastic known as
a core. A core is a light transmission area of the fibre. The more the area of the
core, the more light will be transmitted into the fibre.
o Cladding: The concentric layer of glass is known as cladding. The main
functionality of the cladding is to provide the lower refractive index at the core
interface as to cause the reflection within the core so that the light waves are
transmitted through the fibre.
o Jacket: The protective coating consisting of plastic is known as a jacket. The
main purpose of a jacket is to preserve the fibre strength, absorb shock and
extra fibre protection.
Advantages:
Disadvantages:
Features:
Radio waves are omnidirectional. When an antenna transmits radio waves, they are
propagated in all directions.
Radio waves, particularly with those of low and medium frequencies, can penetrate
walls.
Applications :
o A Radio wave is useful for multicasting when there is one sender and many
receivers.
o An FM radio, television, cordless phones are examples of a radio wave.
Advantages :
o Radio transmission is mainly used for wide area networks and mobile cellular
phones.
o Radio waves cover a large area, and they can penetrate the walls.
o Radio transmission provides a higher transmission rate.
Disadvantages :
• In the case of radio waves, the sending and receiving antenna are not aligned,
i.e., the wave sent by the sending antenna can be received by any receiving
antenna.
• The radio waves transmitted by one antenna are susceptible to interference by
another antenna that may send signal suing the same frequency or band.
2.2 MICROWAVES
Microwaves are the electromagnetic waves having the frequency in the range from
1GHz to 1000 GHz. Microwaves, due to their unidirectional properties, are very
useful when unicast(one-to-one) communication is needed between the sender and the
receiver. They are used in cellular phones, satellite networks and wireless LANs.
A. TERRESTRIAL MICROWAVE
For increasing the distance served by terrestrial microwave, repeaters can be installed
with each antenna .The signal received by an antenna can be converted into
transmittable form and relayed to next antenna as shown in below figure. It is an
example of telephone systems all over the world
Advantages :
Disadvantages :
B. SATELLITE MICROWAVE
A satellite is a physical object that revolves around the earth at a known height.IT IS
positioned 36000 Km above the equator with an orbit speed that exactly matches the
rotation speed of the earth. As the satellite is positioned in a geo-synchronous orbit, it
is stationery relative to earth and always stays over the same point on the ground. This
is usually done to allow ground stations to aim antenna at a fixed point in the sky.
Satellite communication is more reliable nowadays as it offers more flexibility than
cable and fibre optic systems. We can communicate with any point on the globe by
using satellite communication.
o Satellite designing and development requires more time and higher cost.
o The Satellite needs to be monitored and controlled on regular periods so that it
remains in orbit.
o The life of the satellite is about 12-15 years. Due to this reason, another launch
of the satellite has to be planned before it becomes non-functional.
2.3 INFRARED WAVES
Infrared waves, with frequencies from 300 GHz to 400 THz, can be used for short-
range communication. Infrared waves, having high frequencies, cannot penetrate
walls. This advantageous characteristic prevents interference between one system and
another, a short-range communication system in on room cannot be affected by
another system in the next room.
When we use infrared remote control, we do not interfere with the use of the remote
by our neighbours. However, this same characteristic makes infrared signals useless
for long-range communication. In addition, we cannot use infrared waves outside a
building because the sun's rays contain infrared waves that can interfere with the
communication