BA_Unit 4. Computer Network Fundamentals
BA_Unit 4. Computer Network Fundamentals
➢ Definition
channels or transmission medias under single technology like: LAN, WAN etc.
-Two computers are said to be interconnected if they are able to exchange information.
-The connection between two computers is done by using copper wire, fiber Optics,
microwaves, infrared and communication satellite.
-The company information system consisting of one or more databases and number of
employees need to access them remotely. So, it is possible to access data with the help of
client server arrangement called the “client-server model”.
-The communication takes the form of the client process sending a message over the network
to the server process. i.e “request message”
-The client process then waits for message from server machine. i.e “reply” message
-When the server process gets the request, it performs the requested work or look up the
requested data and sends back a reply.
1) Business application
a) Resource sharing
-Many companies have a substantial number of computers. The company have a
separate computer to monitor production, keep track of inventories and do the
payroll. Initially, some of these computers may have worked in isolation from the
others, but at some point, management may have decided to connect them to be able
to distribute information thought out the company.
-The goal is to make all programs, equipment and especially data available to anyone
on the network without regard to the physical location of the resource or the user.
Example: - The group of office workers shares a common printer.
b) E-mail
-A computer network can provide a powerful communication medium among
employees to send documents, messages to others, within a short time is called an
Email (Electronic mail).
-When one worker makes a change to an online document, the other can see the
change immediately, instead of waiting several days for a letter.
c) Video conferencing
-Using this technology employees at distant location can hold a meeting, seeing
and hearing each other and even writing on a shared virtual blackboard.
-Video conferencing is a powerful tool for eliminating the cost and time previously
devoted to travel.
d) E-commerce
-E-commerce is nothing but doing business with consumers over the internet.
-Air-lines, bookstores, retailers and music vendors have discovered that many
customers like the convenience of shopping from home.
-Consequently, many companies provide catalogues of their goods and services on line
and take orders online like: Flipkart, Amazon etc.
-This sector is expected to grow quickly in the future.
2) Home applications
There are some of the popular uses of the internet for home users as follows:
-It become easy to search the meaning of any word in any language over internet
using “online digital library”.
-Instant messaging allows two people to type message at each other in real time
called “chatting”. For example: G-talk (Google Talk), WhatsApp, Facebook Messenger
etc.
-The “peer to peer” communication makes possible to individuals who form group
can communicate with other in the group.
-Every person can, in principle, communicate with one or more other people. There is
no fixed division into client and servers.
-The “peer to peer” system eliminates the central database by having each user
maintain his own database locally.
Figure 4. Peer-to-Peer Communication
-There are multi-person messaging services too, such as the Twitter service that lets
people send short text messages called ‘‘tweets’’ to their circle of friends or other
willing audiences.
c) Interactive entertainment
-This has made huge strides in the home in recent years, with the distribution of
music, radio and television programs, and movies over the Internet beginning to
rival that of traditional mechanisms.
-Users can find, buy, and download MP3 songs and DVD-quality movies and add
them to their personal collection.
-The most popular application is “video on demand”. it may be possible to select any
movie or television program to display on your screen.
Example: - www.youtube.com
-TV shows now reach many homes via IPTV (IP Television) systems that are based on
IP technology instead of cable TV or radio transmissions. Live television may
also become interactive with the audience participating in quiz shows and cooking
programs.
d) E-commerce
-Home shopping is already popular and enables user to inspect the on-line catalogues
of thousands of companies.
-To access financial institutions is also one of the popular area. Many people pay their
bills, manage their bank accounts and handle their investments electronically.
3) Mobile application
There are some of the popular uses of the internet in mobile application are as
follows:
a) Mobile computer
-Mobile computer such as notebook computer and personal digital assistants (PDA)
are one of the fastest growing segments of the computer industry.
-Many owners of this computers have desktop machine back at the office and want to be
connected to their home base even when away from home.
b) Wireless network
-A wireless technology becomes more popular in today’s computer industry.
-At computer conference, these days the organizers often set up a wireless network in
the conference area. Anyone with a notebook computer and a wireless modem can
just turn the computer on and be connected to the internet.
-Wireless network are of great value to fleets of truck, taxis, delivery vehicles.
-Wireless network are also important to the military. It’s possible to fight war
anywhere on earth on short notice.
-It is expected the merger of cell phones and PDA’s into tiny wireless computer in forthcoming
years.
-It’s possible to transfer money from your bank account to your friend’s bank
account immediately because of “mobile banking”.
4) Social application
There are some of the popular uses of the internet for society as follows:
a) Newsgroup
-A popular feature of many networks are newsgroups or bulletin boards whereby
people can exchange message with link-minded individuals.
-People can express their feelings about any news in the newspaper on-line over
internet.
b) Blog
-To create your own website on internet to discuss the opinions of public about
your performance in movie, sport, politics, academics etc.
-Nowadays to answer the queries, doubts, the actor, doctors, Politian’s, sportsmen etc.
write their own blog on internet.
c) Social networking
-There are lots of social networking websites available over internet. For example:
Facebook, Twitter etc. through which you can connect to thousands of friends and
chat with them regularly.
-it’s possible to create your own profile and upload the photos, videos on social
networking websites. So, your friends can enjoy the live updates of your life over
internet.
d) Fund collection
-If you want to help any needy person regarding serious surgery, so you can transfer
fund (money) on his account.
-You can help orphanage, physically handicapped people by live collection of money
on internet.
-If you want financial help for constructing a temple in your city, you have to make
announcement over internet through different advertisements.
▪ Network Hardware
➢ Definition
Network hardware is a set of physical or network devices that are essential for interaction
and communication between hardware units operational on a computer network.
-These are dedicated hardware components that connect to each other and enable a network to
function effectively and efficiently.
-Today, technology has penetrated its tentacles into every nook and corner of our lives. It has gone
from being just an industry add-on to an inevitable necessity. As tech enablement is driving the
industrial transformation, it’s important for businesses to build a network that is secure, reliable and
9
keeps the users in touch with their applications. The core of this very foundation is leveraged by the
basic network hardware.
-Network hardware plays a key role as industries grow as it supports scalability. It integrates any
number of components depending on the enterprise’s needs. Network hardware helps establish an
effective mode of communication, thereby improving the business standards. It also promotes
multiprocessing and enables sharing of resources, information, and software with ease.
▪ Networking Devices
1) Hub
-A hub is a common connection point, also known as a network hub, which is used for connection of
devices in a network. It works as a central connection for all the devices that are connected through a
hub.
-The hub has numerous ports. If a packet reaches at one port, it is able to see by all the segments of
the network due to a packet is copied to the other ports. A network hub has no routing tables or
intelligence (unlike a network switch or router), which is used to send information and broadcast all
network data across each and every connection.
Although most of the hubs can recognize network troubles or errors like collisions, broadcasting all
information to the several ports can be a security risk and cause bottlenecks. The network hubs were
popular in the past time as they were cheaper as compared to a switch or router. A hub is no IP
address, as it is a dumb device.
10
2) Switch
-When a user accesses the internet or another computer network outside their immediate location,
messages are sent through the network of transmission media. This technique of transferring the
information from one computer network to another network is known as switching.
-Switching is transparent to the user and does not require any configuration in the home network.
Switches are used to forward the packets based on MAC addresses. A Switch is used to transfer the
data only to the device that has been addressed. It verifies the destination address to route the
packet appropriately.
-Data Packet collision is minimum as it directly communicates between source and destination. It
does not broadcast the message as it works with limited bandwidth.
-A switch has many ports, to which computers are plugged in. However, when a data arrives at any
port of a network switch, it examines the destination address and sends the data to the
corresponding device(s).
11
3) Router
- A router is an electronic device that connects two or more computer networks and forwards data
packets between them. It is an essential component of any modern network infrastructure, from small
home networks to large enterprise networks. It does so much customizable filtering when a message
passes through the router. If the router admin wishes to block some domain names he can customize
them.
- A router is a device like a switch that routes data packets based on their IP addresses. A router reads
its routing table to decide the best available route the packet can take to reach its destination quickly
and accurately.
- Routers are networking devices, which make it possible for devices to connect to the internet and
share data. If you connect to the internet at any place, you are using a router. A router passes the
information between one more computer network.
-It has memory capability it stores the information and a routing table, in that all information about
interfaces is stored, once a packet arrives it checks its destination and calculates the best hop-to-hop
path to reach the destination. Router works at the network layer.
12
4) Repeater
A repeater is a networking device that amplifies and regenerates incoming signals.
-Essentially, it acts as a signal booster, extending the reach of your network.
• How Does a Repeater Work?
When a signal travels over a network, it gradually weakens. A repeater receives this weakened signal, amplifies
it back to its original strength, and then retransmits it. This process allows the signal to travel further without
degradation.
2) Digital Repeater
Digital repeaters are the type of repeaters that does not amplify digital signal but regenerates it directly.
Digital repeaters are mostly used in the modern technologies where digital signal is being used. Digital
repeaters are also capable to reconstruct a distorted signal.
5) Bridge
A bridge is a networking device that connects multiple Local Area Networks (LANs) into a single larger
LAN.
-Unlike repeaters, bridges are intelligent devices that can filter traffic based on MAC addresses.
• How Does a Bridge Work?
1) Learning
A bridge learns the MAC addresses of devices connected to each LAN segment.
2) Filtering
When a data packet arrives, the bridge examines the destination MAC address.
3) Forwarding
If the destination is on the same LAN segment, the bridge discards the packet. If the destination is on a
different LAN segment, the bridge forwards the packet to that segment.
• Advantages of Bridges
1) Improved performance
By dividing a large network into smaller segments, bridges reduce network congestion and improve
performance.
2) Increased network size
Bridges allow you to connect multiple LANs, expanding your network's reach.
3) Enhanced security
Bridges can be configured to filter traffic based on MAC addresses, providing a basic level of security.
• Limitations of Bridges
1) Scalability
As the number of LAN segments increases, bridge performance can degrade.
2) Complexity
Bridge configuration can be more complex than that of repeaters.
• When to Use a Bridge?
Bridges are typically used in smaller networks with a limited number of LAN segments. For larger and more
complex networks, switches or routers are generally preferred.
• Types of Bridges
There are three types of bridges in computer networks, which are as follows:
1) Transparent Bridge
Transparent bridges are invisible to other devices on the network. This bridge doesn’t reconfigure the
network on the addition or deletion of any station. The prime function of the transparent bridge is to block
or forward the data according to the MAC address.
2) Source Routing Bridge
Source routing bridges were developed and designed by IBM specifically for token ring networks. The
frame’s entire route is embedded with the data frames by the source station to perform the routing
operation so that once the frame is forwarded it must follow a specific defined path/route.
3) Translational Bridge
Translational bridges convert the received data from one networking system to another. Or it is used to
communicate or transmit data between two different types of networking systems. Like if we are sending
data from a token ring to an Ethernet cable, the translational cable will be used to connect both the
networking system and transmit data.
5) Gateways
A gateway is a network device that connects two different networks that use different protocols or
network architectures. It acts as a translator, converting data from one protocol to another to ensure
seamless communication between the two networks.
-A gateway is situated at a network’s edge and manages all data that enters or exits the network.
-Gateways made the transmission more feasible as it queued up all the data and divided it into small packets
of data rather than sending it bulk.
Sr.
Hub Switch Router
No
1. A Hub works on the Switch works on the basis A router works on the basis of IP address.
basis of broadcasting. of MAC address.
2. Hub is not an A Switch is an intelligent A route is more sophisticated and intelligent
intelligent device. device as it passes on the device as it can read IP address and direct the
message to the selective packets to another network with specified IP
device by inspecting the address. Moreover routers can built address
address. tables that helps in routing decisions.
3. At least single At least single network is Router needs at least two networks to
network is required required to connect. connect.
to connect.
4. Hub is cheaper as Switch is an expensive Router is a relatively much more expensive
compared to switch device than hub. device than hub and switch.
and router.
5. Speed of original hub Maximum speed is Maximum speed for wireless is 1-10 Mbps and
10Mbps and modern 10Mbps to 100Mbps. maximum speed for wired connections is 100
internet hub is Mbps.
100Mbps.
6. Hubs are used in Switch is used in LANs. Routers are used in LANs, MANs and WANs.
LANs.
14
-Internet Service Provider provides IP Address.
-IPv4 uses 32-bit addresses in dotted notations, whereas IPv6 uses 128-bit addresses in Hexadecimal
notations. Example: IPv4 - 192.168.1.1 and IPv6- FFFF: F200: 3204: 0B00
-LAN Card / NIC (Network Interface Card) Card’s Manufacturer provides the MAC Address.
- It is a 48-bit address that contains 6 groups of 2 hexadecimal digits, separated by either hyphens (-) Or
colons (.). Example: 00: FF: FF: AB: BB: AA or 00-FF-FF-AB-BB-AA
-MAC address is hardware oriented. While communication, Switch needs MAC address to forward data.
15
• Computer network Topology
Network topology refers to the arrangement of different elements like nodes, links, and
devices in a computer network.
-It essentially defines the physical or logical structure of a network.
1) Bus Topology
-All devices are connected to a single cable called a bus.
• Simple to install but prone to failures if the bus breaks.
• Example: Early Ethernet networks.
2) Star Topology
• All devices are connected to a central hub or switch.
• Easy to manage and troubleshoot.
• If the central device fails, the entire network is affected.
• Example: Most modern LANs.
3) Ring Topology
• Devices are connected in a circular fashion.
• Data flows in one direction.
• Failure of one device can disrupt the entire network.
• Example: Early token ring networks.
4) Mesh Topology
• Every device is connected to every other device.
• Highly reliable but expensive to implement.
• Example: The internet backbone.
5. Tree Topology
• A hierarchical structure with a root node and multiple levels of branches.
• Combines features of star and bus topologies.
• Example: Large corporate networks.
▪ Types of Network
➢ Definition
Local Area Network generally called LANs are privately owned network within a single
building or campus of up to few kilometers in size widely used to connect personal
computer and workstation in company office and factories to share resource (e.g.: -
printer) and exchange information.
-Regardless of size, a LAN's single defining characteristic is that it connects devices that are in a
single, limited area.
16
-A LAN comprises cables, access points, switches, routers, and other components that enable
devices to connect to internal servers, web servers, and other LANs via wide area networks.
For Example: In an office with multiple departments, such as accounting, IT support, and
administration, each department's computers could be logically connected to the same switch
but segmented to behave as if they are separate.
➢ Definition
A wide area network or WAN, spans a large geographic area, often a country or continent.
It contains a collection of machines intended for running user (i.e. application) programs.
17
-WAN’s used to connect LANs and other types of networks together, so that users and
computers in one location can communicate with users and computers in other locations.
1) Transmission lines
These lines move bits between machines. They can be made of copper wire, optical fiber, or
even radio links.
2) Switching elements
These are specialized devices called routers that connect three or more transmission lines.
-When data arrive on an incoming line, the switching element (Router) must choose an
-When data arrive on an incoming line, the switching element (Router) must choose an
outgoing line on which to forward them.
-When data arrive on an incoming line, the switching element (Router) must choose an
outgoing line on which to forward them.
-In this model, each host is frequently connected to LAN on which a router is present,
although in some cases a host can directly connect to router.
-The collection of communication lines and routers (but not host) form the subnet.
-In most WAN’s, the network contains numerous transmission lines, each one connecting a pair
of routers.
-If two routers that do not share a transmission line wish to communicate, they must do this
indirectly, via other routers.
-When a packet is sent from one router to another via one or more intermediate routers, the
packet is received at each intermediate router in it’s entirely, stored there until the required
output line is free, and then forwarded.
-when the packets are small and all the same size they are often called cells.
-When a process on some host has a message to be sent to a process on some other host, the
sending host first cuts the message into packets, each one bearing its number in the sequence.
-These packets are then injected into the network one at a time quick succession. The packets
are transported individually over the network and deposited at the receiving
Host, where they are reassembled into the original message and delivered to the
receiving process.
-In this figure all the packets follow the route ACE, rather than ABDE or ACDE.
-Of course, if ACE is best route, all packets may be sent along it, even if each packet is
individually routed.
-Routing decisions are made locally when a packet arrives at router A, it is up to A to decide
if this packet should be sent on line to B or the line to C.
➢ Definition
-A metropolitan area network (MAN) is designed to extend over an entire city. It may be
a single network such as a cable television network, or it may be a means of connecting a
number of LANs into a larger network so that resources may be shared LAN-to-LAN as
well as device-to-device.
For example: a company can use a MAN to connect the LANs in all of its offices throughout
a city.
-A MAN may be wholly owned and operated by a private company, or it may be a service
provided by a public company, such as a local telephone company. Many telephone
companies vide a popular MAN service called Switched Multi-megabit Data Services
(SMDS).
Figure- Use of MANs to provide regional networks which share the cost of access to a WAN.
• Internet Terminology
1) HTTP
-HTTP stands for Hypertext Transfer Protocol.
-It's the foundation of how data is transferred on the World Wide Web. Think of it as the language used by
your web browser to communicate with websites.
• How HTTP Works
HTTP operates on a client-server model. This means:
2) DNS
DNS, or Domain Name System, is a fundamental component of the internet that translates human-readable
domain names (like www.example.com) into IP addresses (like 192.0.2.1) that computers use to identify
each other on the network.
• Hierarchy
✓ Root Level: The top of the DNS hierarchy, represented by a dot (.), which is usually implied rather than
explicitly stated.
✓ Top-Level Domains (TLDs): These include generic TLDs (gTLDs) like .com, .org, .net, and country-
code TLDs (ccTLDs) like .uk, .fr, .de.
✓ Second-Level Domains: Directly below TLDs, for example, in www.example.com, "example" is the
second-level domain.
✓ Subdomains: Additional levels below second-level domains, for example, in mail.example.com, "mail"
is a subdomain of "example.com".
3) INTERNET
The Internet is a vast, interconnected network of computers and devices around the world. It
allows us to communicate, access information, and share resources with people across the globe.
• How it Works?
While the technical details can be complex, the basic idea is simple:
1) Devices: Computers, smartphones, tablets, and other devices connect to the internet.
2) Networks: These devices are connected to networks, like your home Wi-Fi or your mobile network.
3) Global Connection: These networks are interconnected, creating the massive internet we know.
• Applications
The possibilities are almost endless! Here are some common uses:
Communication: Email, social media, video calls, messaging
Information: Search engines, online articles, research
Entertainment: Streaming movies and music, online gaming, virtual reality
Shopping: Online stores, e-commerce
Education: Online courses, tutorials, research
Work: Remote work, online collaboration
4) INTRANET