Computer Networks UNIT-1
Computer Networks UNIT-1
COMPUTER NETWORK :
“Computer network’’ it means a collection of autonomous computers interconnected
by a single network. These networks allow computers to communicate with each
other and enables the sharing of information, files, applications, and hardware like
printers and storage devices.
Types of Computer Networks :
• Local Area Network (LAN): A network that connects devices in a limited area, like a
home or office.
• Wide Area Network (WAN): A network that spans a large geographic area, often
connecting multiple LANs. Often a country or continent
•Metropolitan Area Network (MAN): A network that covers a city or a large campus.
•Wireless Local Area Network (WLAN): A LAN that uses wireless technology for
connections.
In summary, computer networks play a crucial role in modern computing and
communication, enabling connectivity and collaboration across diverse
environments.
Topology : Topology defines the structure of the network of how all the
components are interconnected to each other. Here are the main types of network
topologies:
Network Topologies :
The main types of topologies are : Bus, Ring, Star, Mesh, Tree, Hybrid.
1. Bus Topology :
• Bus topology is a network topology in which all nodes are connected to a single
cable known as central cabel or bus.
• It acts as shared communication medium.
i.e. if any device wants to send the data to other devices. Then it will send the data
over the bus. Which in turn sends the data to all attached devices.
• Useful for small number of devices.
• As if the bus is damaged then the whole network fails.
2.Ring Topology :
• In this all nodes are connected to a single device known as a central device.
• Requires more cables as compare to other topologies.
• Therefore it is more robust as a failure in one cable will only disconnect a specific
computer connected to that cable.
• If the central device fails, whole network fails.
• Easy to install, manage and troubleshoot used in home & office.
4
5
6
1. Physical Layer :
The lowest layer of OSI model is “Physical Layer”.
The main functionality of the physical layer is to transmit the individual bits from
one node to another node.
3. Network Layer :
Network layer works for the transmission of data from one host to other, located
in different networks.
It also takes care of packet routing. i.e. selection of shortest path from source to
the destination to transmit the packet.
The sender & receiver’s IP addresses are placed in the header by network layer.
It receives the data from the upper layer and converts them into smaller units
known as segments.
5. Session Layer :
It is a layer 3 in the OSI model.
The Session layer is used to establish, maintain and synchronizes the interaction
between communicating devices.
6. Presentation Layer :
Presentation layer is also called as translation layer.
This layer is a part of the operating system that converts the data from one
presentation format to another format.
7. Application Layer :
An application layer is not an application, but it performs the application layer
functions.
• The TCP/IP model was designed and developed by Department of Defense (DOD) in
1960’s and is based on standard protocols.
• It Looks out for hardware addressing and the protocols present in this
layer allows for the physical transmission of data.
Internet Layer :
• An internet layer is the second layer of the TCP/IP model.
• The main responsibility of the internet layer is to send the packets from any
network, and they arrive at the destination irrespective of the route they take.
IP (Internet Protocol)
ICMP (Internet Control Messege Protocol)
ARP (Address Resolution Protocol)
Host-To-Host Layer :
• This layer is similar to transport layer of OSI model.
• The two protocols used in the transport layer are User Datagram protocol and
Transmission control protocol
Application Layer :
• An application layer is the topmost layer in the TCP/IP model.
• This layer performs the functions of top 3 levels of OSI model. i.e. Application
layer, Presentation layer and session layer.
• It is responsible for node-to-node communication and controls user interface
specifications.
Comparison
Layering:
• It is defined as the physical medium through which the signals are transmitted. It is
also known as Bounded media.
1. Twisted-Pair Cable
2. Coaxial Cable
3. Fiber-Optic Cable
Twisted-Pair Cable :
• 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.
• A twisted pair consists of two insulated copper wires arranged in a regular spiral
pattern. The frequency range for twisted pair cable is from 0 to 3.5KHz.
• Twisted-pair cables are used in telephone lines to provide voice and data channels.
Unshielded Twisted-Pair Cable :
• The most common twisted-pair cable used in telecommunications is referred to as
unshielded twisted-pair (UTP).
• It is cheap.
• Installation of the unshielded twisted pair is easy.
• It can be used for high-speed LAN.
• Shielded Twisted-Pair (STP) cable has a metal foil covering, that encases each pair
of insulated conductors. Although metal casing improves the quality of cable by
preventing the penetration of noise or crosstalk.
• It is more expensive as compared to UTP and coaxial cable.
• It has a higher attenuation rate.
Coaxial cable :
1. Coaxial cable is very commonly used transmission media, for example, TV wire
is usually a coaxial cable.
2. The name of the cable is coaxial as it contains two conductors parallel to each
other.
4. The inner conductor of the coaxial cable is made up of copper, and the outer
conductor is made up of copper mesh. The middle core is made up of non-
conductive cover that separates the inner conductor from the outer conductor.
5. The middle core is responsible for the data transferring whereas the copper
mesh prevents from the EMI(Electromagnetic interference).
Fibre Optic :
1. Fibre optic cable is a cable that uses electrical signals for communication.
2. A fiber-optic cable is made of glass or plastic and transmits signals in the form of
light.
3. The plastic coating protects the optical fibres from heat, cold, electromagnetic
interference from other types of wiring.
• Unguided signals can travel from the source to destination in several ways:
ground propagation, sky propagation, and line-of-sight propagation.
1. Radio waves
2. Microwaves
3. Infrared
Radio Waves :
• Radio waves are the electromagnetic waves that are transmitted in all the
directions of free space.
• Radio waves are omnidirectional, i.e., the signals are propagated in all the
directions.
• The range in frequencies of radio waves is from 3Khz to 1 khz.
• An example of the radio wave is FM radio
Microwaves :
• Electromagnetic waves having frequencies between 1 and 300 GHz are called
microwaves.
• Microwaves are unidirectional.
• The sending and receiving antennas need to be aligned.
• Microwaves are used for unicast communication such as cellular telephones,
satellite networks, and wireless LANs
Microwaves are of two types:
1.Terrestrial microwave
2.Satellite microwave communication.
Infrared :
• An infrared transmission is a wireless technology used for communication over
short ranges.
• The frequency of the infrared in the range from 300 GHz to 400 THz.
• It is used for short-range communication such as data transfer between two
cell phones, TV remote operation, data transfer between a computer and cell
phone resides in the same closed area