DataCommunication&Networking-1
DataCommunication&Networking-1
System
Message:
The message is the information to be transmitted. It can be in the form of
text, voice, video, or any other form of data.
Receiver:
The receiver is a device that receives message(s) from the medium and it
can be computer, workstation or any networking devices.
Transmission medium:
It is the channel or physical path through which the message is carried from
sender to the receiver and vice versa. The medium can be wired or wireless.
Protocol:
It is a set of rules that govern the communication between the devices.
Both sender and receiver follow same protocols to communicate with each
other. Prepared by Govind Bhat, LBA
Data Communication
Source Source
Source TX Channel RX Sink
Encoder Decoder
Source:
A source generates the information. The information is in different form for
communication, news, feeling, visual scene, and so on.
Source Encoder:
A source encoder is a translator that converts the information into an
electrical form called message signal. This encoded message then
transferred to the transmitter.
Transmitter:
It is a physical medium which connects the transmitter block with the
receiver block. It is used to convert the message signal into a form
acceptable to the channel.
Transmitter:
It is a physical medium which connects the transmitter block with the
receiver block. It is used to convert the message signal into a form
acceptable to the channel.
Prepared by Govind Bhat, LBA
Elements Data Communication
Source Decoder:
A source decoder converts the electrical signal back to a form acceptable to
the receiver. This decoded message then transferred to the user.
Sink:
A sink is the user of the information generated by the source. It is the final
block in the communication system which receivers the message signal.
Transmission Mode
Half Duplex
The communication between sender and
receiver occurs in both directions in half
duplex transmission, but only one at a
time. The sender and receiver can both
send and receive the information, but only
one is allowed to send at any given
time. For example, in walkie-talkies, the
speakers at both ends can speak, but they
have to speak one by one. They cannot
speak simultaneously.
Full Duplex
In full duplex transmission mode, the
communication between sender and
receiver can occur simultaneously. The
sender and receiver can both transmit and
receive at the same time. Both the
connected devices can transmit and receive
at the same time. Therefore it represents
truly bi-directional system. The link may
contain two separate transmission paths
one for sending and another for receiving.
For example, communication in a
telephone, cell phone etc.
Prepared by Govind Bhat, LBA
Communication Mode
Key Differences of the Three Transmission Modes
1. In simplex mode, the signal is sent in one direction. In half duplex mode, the signal
is sent in both directions, but one at a time. In full duplex mode, the signal is sent
in both directions at the same time.
2. In simplex mode, only one device can transmit the signal. In half duplex mode,
both devices can transmit the signal, but one at a time. In full duplex mode, both
devices can transmit the signal at the same time.
3. Full duplex performs better than half duplex, and half duplex in turn performs
better than simplex.
4. Simplex: The keyboard sends the command to the monitor. The monitor cannot
reply to the keyboard.
5. Half duplex: Using a walkie-talkie, both speakers can communicate, but they have
to take turns.
6. Full duplex: Using a telephone, both speakers can communicate at the same time.
7. The full duplex transmission mode offers the best performance among the three,
on account of the fact that it maximizes the amount of bandwidth available.
Prepared by Govind Bhat, LBA
Transmission Media (Communication Channel)
A transmission media is a pathway along which information is sent from one
place to another (i.e. between sender and receiver devices). A transmission
media or channel may connect two endpoints directly, or it may be one of
several channels that are connected together in some way to form an end-to-
end connection. The transmission media includes cable and wireless
technology that allow networked device to contact each other. Transmission
media are classified into two categories: bounded (guided/wired) and
unbounded(unguided/wireless).
Guided Media:
The term guided media essentially refers to a physical connection between
two devices - usually a cable of some kind. In guided media communication
happen throw wires and cable. The guided media is also known as bounded
media. The bounded media are used normally to connect computers in a
small area like a room, building or within compound. The guided media limit
the mobility of computers on the network. It is further divided into following
types:
• Twisted-pair cable
• Co-axial cable
• Fiber optic cable
Disadvantages:
• It is not possible to transmit data for long distance(maximum up to 200 meter).
• Attenuation is very high.
• It emits electromagnetic interference.
• It provides poor security and is relatively easy to tap.
• Low durability (must be maintained regularly).
Coaxial Cable:
A coaxial cable is a type of shielded and insulated copper cable that is used in
computer networks and to deliver cable TV services to end users. Coaxial cable is
a type of electrical cable consisting of an inner conductor surrounded by a
concentric conducting shield, with the two separated by a dielectric (insulating
material). The cable is protected by an outer insulating jacket.
Coaxial cable is a type of transmission line, used to carry high-frequency
electrical signals with low losses. It is used in such applications as telephone
trunk lines, broadband internet networking cables, high-speed computer data
busses, cable television signals, and connecting radio transmitters and receivers
to their antennas. It is further classified into two categories:
1. Thinnet coaxial cable
2. Thicknet coaxial cable
Disadvantages:
• It is expensive than unshielded pair cable.
• It has limitation for connecting number of nodes.
• Susceptible to damage from lightening strikes.
• Limited mobility
• It can get cross talk with longer cable run.
• It is easily tapped.
Disadvantages:
• These cable are very difficult to merge so there’ll be loss of beam within
cable.
• These cable are highly vulnerable while fitting.
• They are expensive than others.
• They are not flexible than other cable, so it is difficult to bend.
Prepared by Govind Bhat, LBA
Unguided Media
Transmission media which do not use any physical connection between two
communicating devices are called unguided media or unbounded media or
wireless media. Such type of media use radio waves, microwaves and satellite.
Wireless media such as infrared, Bluetooth and WIFI are also common for short
range data transmission. The wireless network is done specially where cabling is
not possible. The wireless network is flexible to use. The commonly used wireless
communication systems are:
• Radio wave
• Microwave System
• Satellite
• Infrared Transmission
• Bluetooth Technology
• Wi-Fi Technology
Radio Wave:
Radio waves are used for wireless transmission of sound
messages, or information for communication, as well as
for maritime and aircraft navigation. The frequencies
below 1000 MHz are radio frequencies. Radio waves
transmitted by antennas in certain directions are bent or
even reflected back to Earth by the ionosphere. Common
examples of radio frequencies are: AM or FM.
Radio Wave:
Advantages:
• It is inexpensive and easy to produce.
• It can bend and pass obstacles.
• It covers larger geographical area.
Disadvantages:
• The data transfer rate is slower than that in wired media.
• The quality of data transmission is very poor.
Microwave:
High frequency electromagnetic wave(ranges from 1GHz to 300GHz) is known as
microwave. The microwave can transmit data signal from one point to another
point through the space without using cables. Microwave system can support data
transfer rate about 16Gbps. Since the microwave cannot bend or pass obstacles like
hills or buildings, so it requires line of sight transmission. The transmitter and
receiver of microwave system must be mounted on very high towers. The line of
sight due to earth's curvatures is only 50 KM within the horizon. Therefore, the
microwave must be placed within the distance. Specially, microwave is used in
WAN or MAN communication, satellite communication and telephone
communication
Microwave:
Advantages:
• It has higher bandwidth than radio wave.
• The quality of data transmission is better than radio wave.
Disadvantages:
• It cannot bend and pass obstacles so require line of sight for data
transmission.
• It does not cover very large space because of earth’s curvature.
Infrared:
Advantages:
• Infrared transmission requires minimum power to operate
and can be set up at a low cost.
• This is a secure way to transfer data between devices as
the signal cannot pass beyond a room or chamber.
Disadvantages:
• Infrared can be used for a small range distance.
• Infrared signals are interpreted by objects and people.
IP Address:
An IP address represents a unique address that distinguishes any device on the
internet or any network from another. An IP address is the identifier that enables
your device to send or receive data packets across the internet. It holds
information related to your location and therefore making devices available for
two-way communication. The internet requires a process to distinguish between
different networks, routers, and websites. Therefore, IP addresses provide the
mechanism of doing so. Each number in the set can range from 0 to 255.
It defines IP address as a 32-bit number and it is known as IPV4(Internet Protocol
Version 4). However, due to enormous growth of the Internet a new addressing
system called IPV6 has been developed that uses 128 bits for the address.
Examples of IP address is: 192.168.1.1(for IPV4) and
2001:0:DB8:1234:0:5678:8:1(for IPV6)
Subnet Mask:
A subnetwork or subnet is a logical subdivision of an IP network. The practice of
dividing a network into two or more networks is called subnetting. A subnet mask is a
32-bit number created by setting host bits to all 0s and setting network bits to all 1s.
In this way, the subnet mask separates the IP address into the network and host
addresses.
It uses the same format as an IPV4 address. Each section of the subnet mask contains
a number from 0 to 255. There are five classes of subnet: Class A to Class E:
Class A: First Octet Value 0-127
Class B: First Octet Value 128-191
Class C: Frist Octet Value 192-223
Class D: First Octet Value 224-239
Class E: First Octet Value 240-255
Gateway:
A gateway is a network node used in
telecommunications that connects two
networks with different transmission
protocols together. Gateways serve as an
entry and exit point for a network as all data
must pass through or communicate with the
gateway prior to being routed.
Network connecting devices are electronic devices which are required for
communication and interaction between devices on a computer network.
Specifically, they mediate data transmission in a computer network. Some of the
commonly used networking devices are, Hub, Switch, Repeater, Bridge, Router,
Gateway and MODEM, etc.
Network topology is the physical layout of cabling for connecting computers on the
network. It can be defined as the arrangement or connection pattern of computers
on a LAN. A LAN topology describes how the computers are physically connected and
how do they communicate on the network. It determines the data paths that may be
used between any pair of nodes of the network. There are three basic network
topologies. They are Bus topology, Ring topology, and Star topology, Tree topology,
Mesh topology and Hybrid topology.
Ring Topology:
Computers are interconnected to each other by making
a closed circular structure that means each computer is
connected to other two adjacent computers in either
side. It is based on peer-to-peer network architecture.
Communication is done in single direction only. When
one computer receives the massage, then it compares
the destination address of the message and its own
address, if it matches then it accepts the message
otherwise the message is retransmitted to the next
computer in the network.
Ring Topology:
Advantages:
It is simple and inexpensive topology.
There is less chance of data collision because the data transmission is
unidirectional.
There is no server so each computer has equal access facilities to the resources.
Its performance is better than bus topology for small size network.
Disadvantages:
It is not flexible topology so it is difficult for adding and removing new nodes.
It is not suitable for large size network (not more than 10 nodes).
If there is problem in any computer or connection then the entire network goes
down.
It is very difficult to find out the faults in the network, if occurred.
Star Topology:
Star topology is the most popular topology to connect
computers and other network devices on the
network. In star topology all nodes are connected
through a centrally located device, called hub or
switch, in the form of star. But the shape of
arrangement of computers is not necessarily to be
star. A twisted pair cable (specially unshielded twisted
pair cable) is used for connecting a computer and a
hub or switch. It is based on client server
architecture. The communication is done through the
central hub or switch in the entire network. The hub
controls traffic on the network.
Packet Tracer:
Packet Tracer is a cross-platform visual simulation tool designed by Cisco
Systems that allows users to create network topologies and imitate
modern computer networks. The software allows users to simulate the
configuration of Cisco routers and switches using a simulated command line
interface. Packet Tracer makes use of a drag and drop user interface, allowing users
to add and remove simulated network devices as they see fit.
Packet Tracer:
3. Network Layer:
The network layer works for the transmission of data from one host to the other located in
different networks. It also takes care of packet routing i.e. selection of the shortest path to
transmit the packet, from the number of routes available. The sender & receiver’s IP
addresses are placed in the header by the network layer.
4. Transport Layer:
The transport layer provides services to the application layer and takes services from the
network layer. The data in the transport layer is referred to as Segments. It is responsible
for the End to End Delivery of the complete message. The transport layer also provides the
acknowledgment of the successful data transmission and re-transmits the data if an error
is found.
5. Session Layer:
This layer is responsible for the establishment of connection, maintenance of sessions, and
authentication, and also ensures security.
6. Presentation Layer:
The presentation layer is also called the Translation layer. The data from the application
layer is extracted here and manipulated as per the required format to transmit over the
network. For example, ASCII to EBCDIC.
7. Application Layer:
It allows application to access network services. It is completely user-oriented layer. Some
of its functions are file transfer, accessing remote file, database, e-mail, etc.