1.Introduction to Computer Networks
1.Introduction to Computer Networks
Today the world scenario is changing. Data Communication and network have changed the way
business and other daily affair works. Now, they rely on computer networks and internetwork. A set
of devices often mentioned as nodes connected by media link is called a Network. A node can be a
device which is capable of sending or receiving data generated by other nodes on the network like a
computer, printer etc. These links connecting the devices are called Communication channels.
Computer network is a telecommunication channel through which we can share our data. It is also
called data network. The best example of computer network is Internet. Computer network does not
mean a system with control unit and other systems as its slave. It is called a distributed system
A network must be able to meet certain criteria, these are mentioned below:
1. Performance
2. Reliability
3. Scalability
Performance
It can be measured in following ways :
Transit time : It is the time taken to travel a message from one device to another.
Response time : It is defined as the time elapsed between enquiry and response.
1. Efficiency of software
2. Number of users
Reliability
It decides the frequency at which network failure take place. More the failures are, less is the
network's reliability.
Security
It refers to the protection of data from the unauthorised user or access. While travelling through
network, data passes many layers of network, and data can be traced if attempted. Hence security is
also a very important characteristic for Networks.
Properties of Good Network
1. Interpersonal Communication : We can communicate with each other efficiently and easily
2. Resources can be shared : We can use the resources provided by network such as printers
etc.
3. Sharing files, data : Authorised users are allowed to share the files on the network.
Source
Data to be transmitted is generated by this device, example: telephones, personal computers etc.
Transmitter
The data generated by the source system are not directly transmitted in the form they are generated.
The transmitter transforms and encodes the information in such a form to produce electromagnetic
waves or signals.
Transmission System
A transmission system can be a single transmission line or a complex network connecting source
and destination.
Receiver
Receiver accepts the signal from the transmission system and converts it to a form which is easily
managed by the destination device.
Destination
Destination receives the incoming data from the receiver.
Data Communication
The exchange of data between two devices through a transmission medium is Data Communication.
The data is exchanged in the form of 0’s and 1’s. The transmission medium used is wire cable. For
data communication to occur, the communication device must be part of a communication system.
Data Communication has two types Local and Remote which are discussed below :
Local :
Local communication takes place when the communicating devices are in the same geographical
area, same building, face-to-face between individuals etc.
Remote :
Remote communication takes place over a distance i.e. the devices are farther. Effectiveness of a
Data Communication can be measured through the following features :
4. Medium : It is the medium through which message is to be sent for example modem.
5. Protocol : These are some set of rules which govern data communication.
Line Configuration in Computer Networks
Network is a connection made through connection links between two or more devices. Devices can
be a computer, printer or any other device that is capable to send and receive data. There are two
ways to connect the devices :
1. Point-to-Point connection
2. Multipoint connection
Point-To-Point Connection
It is a protocol which is used as a communication link between two devices. It is simple to establish.
The most common example for Point-to-Point connection (PPP) is a computer connected by
telephone line. We can connect the two devices by means of a pair of wires or using a microwave or
satellite link.
Example: Point-to-Point connection between remote control and Television for changing the
channels.
MultiPoint Connection
It is also called Multidrop configuration. In this connection two or more devices share a single link.
There are two kinds of Multipoint Connections :
If the links are used simultaneously between many devices, then it is spatially shared line
configuration.
If user takes turns while using the link, then it is time shared (temporal) line configuration.
BUS Topology
Bus topology is a network type in which every computer and network device is connected to single
cable. When it has exactly two endpoints, then it is called Linear Bus topology.
Features of Bus Topology
1. It is cost effective.
4. It is easy to understand.
2. If network traffic is heavy or nodes are more the performance of the network decreases.
RING Topology
It is called ring topology because it forms a ring as each computer is connected to another computer,
with the last one connected to the first. Exactly two neighbours for each device.
Features of Ring Topology
1. A number of repeaters are used for Ring topology with large number of nodes, because if
someone wants to send some data to the last node in the ring topology with 100 nodes, then the
data will have to pass through 99 nodes to reach the 100th node. Hence to prevent data loss
3. In Dual Ring Topology, two ring networks are formed, and data flow is in opposite direction in
them. Also, if one ring fails, the second ring can act as a backup, to keep the network up.
4. Data is transferred in a sequential manner that is bit by bit. Data transmitted, has to pass
1. Transmitting network is not affected by high traffic or by adding more nodes, as only the nodes
STAR Topology
In this type of topology all the computers are connected to a single hub through a cable. This hub is
the central node and all others nodes are connected to the central node.
3. Easy to troubleshoot.
5. Only that node is affected which has failed, rest of the nodes can work smoothly.
3. If the hub fails then the whole network is stopped because all the nodes depend on the hub.
MESH Topology
It is a point-to-point connection to other nodes or devices. All the network nodes are connected to
each other. Mesh has n(n-2)/2 physical channels to link n devices.
There are two techniques to transmit data over the Mesh topology, they are :
1. Routing
2. Flooding
Routing
In routing, the nodes have a routing logic, as per the network requirements. Like routing logic to
direct the data to reach the destination using the shortest distance. Or, routing logic which has
information about the broken links, and it avoids those node etc. We can even have routing logic, to
re-configure the failed nodes.
Flooding
In flooding, the same data is transmitted to all the network nodes, hence no routing logic is required.
The network is robust, and the its very unlikely to lose the data. But it leads to unwanted load over
the network.
Types of Mesh Topology
1. Partial Mesh Topology : In this topology some of the systems are connected in the same
fashion as mesh topology but some devices are only connected to two or three devices.
2. Full Mesh Topology : Each and every nodes or devices are connected to each other.
1. Fully connected.
2. Robust.
3. Not flexible.
2. It is robust.
TREE Topology
It has a root node and all other nodes are connected to it forming a hierarchy. It is also called
hierarchical topology. It should at least have three levels to the hierarchy.
Features of Tree Topology
1. Heavily cabled.
2. Costly.
HYBRID Topology
It is two different types of topologies which is a mixture of two or more topologies. For example if in
an office in one department ring topology is used and in another star topology is used, connecting
these topologies will result in Hybrid Topology (ring topology and star topology).
Features of Hybrid Topology
2. Effective.
4. Flexible.
1. Complex in design.
2. Costly.
Transmission Modes in Computer Networks
Transmission mode means transferring of data between two devices. It is also called
communication mode. These modes direct the direction of flow of information. There are three
types of transmission mode. They are :
Simplex Mode
SIMPLEX Mode
In this type of transmission mode data can be sent only through one direction i.e. communication
is unidirectional. We cannot send a message back to the sender. Unidirectional communication is
done in Simplex Systems.
Examples of simplex Mode is loudspeaker, television broadcasting, television and remote,
keyboard and monitor etc.
In full duplex system there can be two lines one for sending the data and the other for receiving
data.
Transmission Mediums in Computer Networks
Data is represented by computers and other telecommunication devices using signals. Signals are
transmitted in the form of electromagnetic energy from one device to another. Electromagnetic
signals travel through vacuum, air or other transmission mediums to travel between one point to
another(from source to receiver).
Electromagnetic energy (includes electrical and magnetic fields) includes power, voice, visible
light, radio waves, ultraviolet light, gamma rays etc.
Transmission medium is the means through which we send our data from one place to another.
The first layer (physical layer) of Communication Networks OSI Seven layer model is dedicated
to the transmission media, we will study the OSI Model later.
1. Transmission Rate
2. Cost and Ease of Installation
4. Distances
Bounded/Guided Transmission Media
It is the transmission media in which signals are confined to a specific path using wire or cable. The
types of Bounded/ Guided are discussed below.
Advantages :
Installation is easy
Flexible
Cheap
Disadvantages :
Advantages :
Easy to install
Performance is adequate
Can be used for Analog or Digital transmission
Eliminates crosstalk
Disadvantages :
Difficult to manufacture
Heavy
Coaxial Cable
Coaxial is called by this name because it contains two conductors that are parallel to each other.
Copper is used in this as centre conductor which can be a solid wire or a standard one. It is
surrounded by PVC installation, a sheath which is encased in an outer conductor of metal foil, barid
or both.
Outer metallic wrapping is used as a shield against noise and as the second conductor which
completes the circuit. The outer conductor is also encased in an insulating sheath. The outermost
part is the plastic cover which protects the whole cable.
Here the most common coaxial standards.
BaseBand
This is a 50 ohm (Ω) coaxial cable which is used for digital transmission. It is mostly used for LAN’s.
Baseband transmits a single signal at a time with very high speed. The major drawback is that it
needs amplification after every 1000 feet.
BroadBand
This uses analog transmission on standard cable television cabling. It transmits several
simultaneous signal using different frequencies. It covers large area when compared with Baseband
Coaxial Cable.
Advantages :
Bandwidth is high
The can span to longer distance at higher speeds as they have better shielding when compared
Disadvantages :
Advantages :
These are not affected by electromagnetic interference, so noise and distortion is very less.
Disadvantages :
It is expensive
Difficult to install.
Radio Transmission
MicroWave Transmission
Radio Transmission
Its frequency is between 10 kHz to 1GHz. It is simple to install and has high attenuation. These
waves are used for multicast communications.
Types of Propogation
Radio Transmission utilizes different types of propogation :
miles from the earth’s surface. Clouds, jet planes, wind is found here.
Ionosphere : The layer of the atmosphere above troposphere, but below space. Contains
Microwave Transmission
It travels at high frequency than the radio waves. It requires the sender to be inside of the receiver. It
operates in a system with a low gigahertz range. It is mostly used for unicast communication.
There are 2 types of Microwave Transmission :
1. Terrestrial Microwave
2. Satellite Microwave
It is Very costly
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
There are two types of antennas used for terrestrial microwave communication :
Satellite Microwave
This is a microwave relay station which is placed in outer space. The satellites are launched either
by rockets or space shuttles carry them.
These are positioned 3600KM 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.
Transmitting station can receive back its own transmission and check whether the satellite has
Applications of LAN
One of the computer in a network can become a server serving all the remaining computers
called clients. Software can be stored on the server and it can be used by the remaining clients.
Connecting Locally all the workstations in a building to let them communicate with each other
Sharing common resources like printers etc are some common applications of LAN.
It is also called WAN. WAN can be private or it can be public leased network. It is used for the
network that covers large distance such as cover states of a country. It is not easy to design and
maintain. Communication medium used by WAN are PSTN or Satellite links. WAN operates on low
data rates.
Wireless Network
It is the fastest growing segment of computer. They are becoming very important in our daily life
because wind connections are not possible in cars or aeroplane. We can access Internet at any
place avoiding wire related troubles.. These can be used also when the telephone systems gets
destroyed due to some calamity/disaster. WANs are really important now-a-days.
Inter Network
When we connect two or more networks then they are called internetwork or internet. We can join
two or more individual networks to form an internetwork through devices like routers gateways or
bridges.
1. Connection is established
2. Information is sent
3. Connection is released
1. In connection oriented service authentication is needed while connectionless service does not need
any authentication.
2. Connection oriented protocol makes a connection and checks whether message is received or not
and sends again if an error occurs connectionless service protocol does not guarantees a delivery.
4. Connection oriented service interface is stream based and connectionless is message based.
Service Primitives
A service is specified by a set of primitives. A primitive means operation. To access the service a
user process can access these primitives. These primitives are different for connection oriented
service and connectionless service. There are five types of service primitives :
1. LISTEN : When a server is ready to accept an incoming connection it executes the LISTEN primitive.
4. SEND : Then the client executes SEND primitive to transmit its request followed by the execution of
5. DISCONNECT : This primitive is used for terminating the connection. After this primitive one can’t
send any message. When the client sends DISCONNECT packet then the server also sends the
DISCONNECT packet to acknowledge the client. When the server package is received by client then
FACILITY, REPORT Primitive for enquiring about the performance of the network, like delivery statistics.