Networks Part1
Networks Part1
Communication
• Is the process of transferring messages from
one point to another.
• The sender(source) which carries the
message.
• A medium, which carries the message.
• A receiver(sink, which receives the
message.
What is a Network
• A network is a collection of terminals,
computers, servers, and components which
allows for the easy flow of data and use of
resources between one another.
Types of Networks
• LAN
• WAN
LOCAL AREA NETWORK
• A group of computers and other devices in a
relatively limited area (such as a single building)
that are connected by a communications link,
which enables any device to interact with any
other device on the network.
Carries the
SENDER message RECEIVER
Data Transmission
Modes(Simplex)
• Communication can take place in only one direction.Devices
connected to such a circuit are either a send-only or a receive-only
device.
• Ex : pager
(a) Simplex
SENDER RECEIVER
Half Duplex
• A half duplex system can transmit data in
both directions, but only in one direction at
a time.
• Requires 2 wires.
• Ex: A Walkie- Talkie
SENDER RECEIVER
Full Duplex
• A full duplex system allows information to flow
simultaneously in both directions on the
transmission path.
• Data transmission over a circuit capable of
transmitting in both directions simultaneously .
• Ex: Telephone
SENDER RECEIVER
Serial Transmission
• The characters are transmitted in a Sequence over a
single Line
• Where data is transmitted across a single line one
bit at a time.
• Serial data transmission is one of two ways, the
other being parallel, of sending data along a cable.
Serial data transmission sends individual bytes of
data, one at a time down a wire. This type of
transmission is used for long distance transmissions
and very high data transmission rates can be
acheived, for example when using fibre-optic cable.
Parallel Transmission
• A method of transmission in which all bits
of a character are sent simultaneously over
separate lines to a high speed printer or
other locally attached peripheral. Contrast
with Serial Transmission.
Topology
• The specific physical, i.e., real, or logical,
i.e., virtual, arrangement of the elements of
a Network is known as Network Topology
Different Types of Topology
• Bus
• Ring
• Star
Bus
• A network topology in which all nodes, i.e.,
stations, are connected together by a single
bus.
• A type of network setup where each of the
computers and network devices are
connected to a single cable or Backbone
Advantages of Bus Topology
• Easy to connect a computer or peripheral to
a linear bus.
• Requires less cable length.
Disadvantages of Bus Topology
• Entire network shuts down if there is a
break in the main cable.
• Terminators are required at both ends of the
backbone cable.
• Difficult to identify the problem if the entire
network shuts down.
• Not meant to be used as a stand-alone
solution in a large building.
Star Topology
• A star topology is a network topology
in which all nodes are connected to a
central node through which all data are
transmitted.
Advantages of Star Topology
• Easy to install and wire.
• Has minimal line cost because only n-1
lines are required for connecting n nodes.
• If any of the local computers fails, the
remaining portion of the n/w is unaffected.
• No disruptions to the network then
connecting or removing devices.
• Easy to detect faults and to remove parts.
Disadvantages of Star Network
• The system crucially depends on the central
node. If the host computer fails, the entire
network fails.
• More expensive than linear bus topologies
because of the cost of the
concentrators/hub.
Ring Network
• A network topology in which terminals are
connected in a point-to-point serial fashion in an
unbroken circular configuration
• A network in which every node has exactly two
branches connected to it and in which there are
exactly two paths between any two nodes. A
network configuration in which devices are
connected by unidirectional transmission links to
form a closed path.
• A network that is configured in the shape of a
closed loop or circle, with each node connecting to
the next node.
Advantages of Ring Network
• One of the advantages of ring networks is
that they can span larger distances than
other types of networks, such as bus
networks, because each node regenerates
messages as they pass through it.
• It is not dependent on a single host
computer.If link between 2 comp. Breaks
down alternate routing is possible
Disadvantage of Ring Network
• In a ring network,communication delay is
directly proportional to the number of nodes
in the network. Hence addition of new
nodes in the network increase the
communication delay.
Data Transmission Terms
• Baud Rate :Speed at which data is transmitted
serially.
• Parity bit
• Checksum:A checksum is a value which is
computed which allows you to check the validity
of something. Typically, checksums are used in
data transmission contexts to detect if the data has
been transmitted successfully.
Example of Checksum
• For example, the simplest checksum is to
sum up all the bytes of a transmission,
computing the sum in an 8-bit counter. This
value is appended as the last byte of the
transmission. The idea is that upon receipt
of n bytes, you sum up the first n-1 bytes,
and see if the answer is the same as the last
byte.
Circuit Switching