COMPUTER NETWORK -1_copy
COMPUTER NETWORK -1_copy
---------------------------------------------------------------------------------------
Network Media/ Transmission Media/Communication Media:
1. Wired / Guided Cable
(i) Twisted pair cable
a. STP - Shielded Twisted Pair
b. UTP - Unshielded Twisted Pair
(ii) Co-axial cable
a. Thicknet
b. Thinnet
(iii) Optical fibre cable
a. Single node
b. Multinode
2. Wireless / Unguided Cable
(i) Radio waves (ii) Infrared waves (iii) Microwave (iv) Bluetooth
(v) Satellite
Switching Techniques:
1. Circuit Switching 2. Packet Switching 3. Message Switching
Address:
1. MAC 2. IP
Network Topology:
1. Star topology 2. Bus topology/Linear topology 3. Tree topology
4. Ring topology/Circular topology 5. Mesh topology 6. Fully connected
1
Computer Network:
A computer network is a collection of interconnected autonomous computing
devices that can share and exchange information or resources.
Data Flow:
➢ Simplex: In this mode of communication, data is transmitted in only one
direction. The sender sends data, and the receiver only receives it without
sending any data back. Examples include devices like keyboards (input) and
monitors (output). Simplex mode uses the full bandwidth of the channel
exclusively for transmitting data in a single direction.
➢ Half Duplex: In half-duplex communication, data can be transmitted in both
directions, but not simultaneously. Only one device can send data at a time,
and then the other device must wait until it can transmit. An example is a
walkie-talkie, where communication alternates between the speaker and the
listener. The full capacity of the channel is utilized in each direction, but only
one direction at a time.
2
➢ Full Duplex: Full-duplex communication allows data to be transmitted in both
directions simultaneously. Both the sender and receiver can send and receive
data at the same time without any delay. An example is a telephone
conversation, where both parties can talk and listen at the same time. The
capacity of the channel is shared between the two directions, often allowing
for faster, real-time communication.
Network Terminology:
3
baud measures the number of signal events, whereas bps measures the
number of bits transferred. In some contexts, baud rate and bit rate can be
equivalent, but they are not always synonymous.
➢ Bits per Second (bps): The standard unit for measuring data transfer speed.
It represents the number of bits transmitted per second in a communication
system.
➢ Bit Rate: The speed at which data is transmitted, expressed as the number of
bits transferred per second (bps). It directly impacts the efficiency and speed of
data transmission.
➢ Bandwidth: The range of frequencies available for data transmission over a
communication channel. It determines the maximum data transfer rate.
Broadband channels have high bandwidth and can transmit large amounts of
data quickly, while narrowband channels have lower bandwidth and support
slower data transmission.
➢ Data Transfer Rate: This refers to the amount of data that can be transferred
per second through a communication channel or by a computing/storage device.
It is usually expressed in bits per second (bps), kilobits per second (Kbps), or
megabits per second (Mbps).
TYPES OF NETWORKS
4
• LAN is a Local Area Network.
• It connects computers and peripheral devices in a limited area such as a
room, building, or campus.
• LANs are usually private networks.
• Examples: Home Wi-Fi, office networks.
MAN:
WAN:
5
• It is a decentralized system with no dedicated server, commonly used in small
networks.
Client-Server Network:
• This network structure has dedicated servers that provide services to client
computers.
• Clients access resources and services via a central server.
• Commonly used in LANs, MANs, WANs, and the Internet.
• The server is typically more powerful and handles tasks such as managing
files, databases, and user authentication.
6
• The IP Protocol is responsible for handling the address of destination
computer so that each packet is routed to its destination.
SWITCHING TECHNIQUE
The technique by which nodes of a network transmit data to other nodes, is known
as switching techniques.
7
➢ In message switching, the source computer first sends the data to a switching
office, where it is temporarily stored in a buffer.
➢ The switching office then searches for a free communication link to the next
switching office and forwards the data to it. This process repeats until the data is
delivered to the destination computer. This technique is known as the store and
forward method.
3. Packet Switching:
TRANSMISSION MEDIA
The media through which data is transferred from one place to another is
called transmission or communication media.
➢ Wired or Guided Media:
Wired networks use physical cables (such as Ethernet cable and coaxial cable)
to connect devices together.
8
(i)Ethernet Cable or Twisted Pair Cable :
• Two wires are twisted together and insulated, with an outer protective layer
called a jacket.
• One wire carries the data signals, and the other acts as a ground reference.
The twisting helps to reduce noise from electromagnetic interference.
• Despite the twisting, these cables can still be susceptible to electromagnetic
interference (EMI) and crosstalk.
Types of Twisted-Pair Cables:
1. STP (Shielded Twisted Pair): STP cables have an additional shielding
around each pair of wires, which helps protect the signal from external
interference and reduces crosstalk between pairs.
2. UTP (Unshielded Twisted Pair): UTP cables consist of two unshielded wires
twisted around each other. The lack of shielding makes them more vulnerable
to interference compared to STP, but they are lighter and more flexible.
9
(ii) Co-axial cable:
10
Optical fiber, or fiber optic cable, consists of thin threads made of glass or
glass-like materials that can carry light signals from a source at one end to another.
At the source, there are either Light Emitting Diodes (LEDs) or Laser Diodes (LDs)
that modulate the data into a light beam using frequency modulation techniques. At
the receiver’s end, the signals are demodulated.
11
➢ Wireless or Unguided Media:
Wireless or unguided media refers to a type of communication in which
computers in a network are interconnected, and data is transmitted through
electromagnetic waves instead of physical cables
(i)Bluetooth
Bluetooth is a wireless technology that allows devices to communicate and
exchange data over short distances, typically within a range of about 10 meters. It
is commonly used for connecting devices such as smartphones, headphones,
speakers, and computers without the need for wires.
Advantages of Bluetooth:
• Wireless Connection
• Multiple Connections
• Low Power Consumption
Disadvantages of Bluetooth
• Limited Range
• Lower Data Transfer Speed
• Security Risks
(ii) Infrared
Infrared (IR) technology uses infrared radiation to transmit data wirelessly
over short distances. It typically involves sending signals through infrared light,
which is invisible to the human eye. Infrared is commonly used in remote controls,
wireless devices, and some types of data transfer
Advantages of Infrared
• Simple and Inexpensive
• Secure Connection
• Low Power Consumption
Disadvantages of Infrared
• Limited Range
• Line of Sight Required
• Slow Data Transfer
12
electromagnetic radiation—to transmit data wirelessly over long distances.
This makes them suitable for applications such as radio broadcasts, television
signals, and wireless communication, including Wi-Fi and mobile phones.
• Private citizens and business users are licensed to operate within a range of
about 10 miles.
• As omni-directional waves, radio waves can propagate in all directions and
can penetrate walls, allowing for effective communication in various
environments.
• The radio wave transmission setup consists of two main components: the
transmitter and the receiver. Devices that transmit signals are known as
transmitters, while those that receive signals are referred to as receivers.
Both the transmitter and receiver use antennas to radiate and capture the
radio signals. These waves are commonly used in AM and FM radio, television,
and cordless phones.
13
• The microwave transmission system consists of a transmitter, receiver, and
the atmosphere. The transmitter and receiver are typically mounted on very
high towers to ensure they are in line of sight with each other.
• Like radio waves, microwave signals can pass through obstacles such as
buildings and mountains; however, the curvature of the Earth and other
structures can block this line of sight. As a result, several repeater stations
are often required for long-distance transmission.
• This makes microwaves particularly effective for long-distance telephonic
communications.
Advantages of Microwave
• Cost-Effective Transmission
• Land Acquisition Freedom
• Global Communication Capability(Microwaves can effectively communicate
over oceans, facilitating long-distance communication across large bodies
of water)
Disadvantages of Microwave
• Security Risks
• Weather Sensitivity
• High Implementation Costs
• Limited Range (Microwaves typically require line-of-sight, which can limit
their effective range, especially in hilly or obstructed areas.)
(v) Satellites
• Satellite communication occurs when data is transmitted between two Earth
stations via a satellite.
• In this process, electromagnetic waves serve as carrier signals, transmitting
information such as voice, audio, video, or other types of data between the
ground and space and vice versa.
• Satellites are positioned at an altitude of approximately 36,000 kilometers
(22,000 miles) above the equator, where their orbital speed matches the
Earth's rotation. This allows them to remain fixed in the same position
relative to the Earth.
• Satellites receive data from an Earth station, amplify it, and then send it to
another Earth station.
• This setup enables data to be transmitted across the globe in a single step.
14
• Most communication satellites are equipped with multiple independent
reception and transmission devices called transponders.
Advantages of Satellite Communication
• Global Coverage
• Wide Range of Applications (Satellites can be used for various applications,
including telecommunications, broadcasting, weather monitoring, navigation
(like GPS), and scientific research)
• Fast Data Transmission
• Flexibility
• Broadcasting Capabilities (Satellites can broadcast signals to a wide audience
simultaneously, making them ideal for television and radio broadcasts.)
Disadvantages of Satellite Communication
• High Initial Costs
• Weather Sensitivity
• Dependency on Ground Stations (While satellites cover large areas, they still
rely on ground stations for sending and receiving signals, which can be a
point of failure)
• Security Concerns
(vi) Laser:
A laser (Light Amplification by Stimulated Emission of Radiation) is a device
that emits light through a process of optical amplification. The light produced by
lasers is coherent, monochromatic, and can be focused into a narrow beam.
Note:
Crosstalk: The bleeding of a signal from one wire to another can corrupt signal and
cause network errors. This form of signal interference is called crosstalk.
NETWORK TOPOLOGY
The arrangement of computers and other peripherals in a network is called its
topology.
TYPES OF TOPOLOGY:
1.Star Topology
Star topology is a network configuration in which all nodes (computers and
devices) are connected to a central device, known as a hub or switch. In this setup,
data is transmitted from one node to the central hub, which then forwards it to the
appropriate destination node.
15
Advantages of Star Topology
• Easy to Install and Configure
• Fault Isolation
• Scalability (Additional nodes can be easily added)
• Centralized Management.
• Improved Performance.
Disadvantages of Star Topology
• Dependency on Central Hub.
• Higher Cost
• Cable Length Limitations
2. Bus topology:[Linear Topology]
• In bus topology, all nodes (computers and devices) are connected to a single
cable, known as the backbone or bus. This cable serves as the primary path
for data transmission within the network, allowing data to be sent in both
directions. Each node can send and receive messages to and from the bus. To
prevent signal reflections that can interfere with communication, both ends of
the backbone are equipped with terminators. These terminators absorb
signals and ensure smooth data flow along the cable, maintaining network
integrity
Advantages of Bus Topology
• Easy to Install
• Minimal Cable Usage
• Low Setup Costs
16
3. Ring Topology
17
flow of data, as it allows for organized management of nodes and connections. In
tree topology, data transmission occurs in a manner similar to that of bus topology,
with data flowing along the central bus and branching out to the connected nodes.
Advantages of Tree Topology
• High Scalability
• Fault Isolation (If one node fails, it does not affect the other nodes in the
network)
• Organized Structure (The hierarchical arrangement makes it easier to manage
and visualize the network layout, which can be beneficial for large networks.)
18
Identifying nodes on a computer network
IP Address:
✓ IP Address stands for Internet Protocol Address.
✓ It is a unique address used to identify each device on a network
✓ It is a logical address.
✓ An IP address consists of 4 bytes (32 bits for IPv4).
✓ Internet Service Providers (ISPs) assign IP addresses.
Two Versions of IP Address:
1. IPv4:
o Consists of a 4-byte (32-bit) decimal number.
o The numbers range from 0 to 255 and are separated by periods ‘ . ‘
(e.g., 192.168.1.20).
2. IPv6:
o Consists of a 16-byte (128-bit) hexadecimal number.
o The numbers are separated by colons (e.g.,
2001:0DC8:E004:0001:0000:0000:F00A:0001)
19