CHAPTER-8 COMPUTER NETWORKS
8.1 Evolution of Networking:
8.1.1 Introduction to Computer Networks:
Network: - To connect the more than one devices via a medium, is called network.
Why do we need network?
1, Fast and Secure Communication
2. Resource sharing
3, Reduce Cost
8.1.2 Evolution of Network:
ARPANET: The Advanced Research Projects Agency Network (ARPANET) was an early
packet switching network and the first network to implement the protocol suite TCP/IP. Both
technologies became the technical foundation of the Internet.
NSFNET:
"= The National Science Foundation Network (NSFNET) was a program created and
funded by the National Science Foundation to coordinate and promote advanced
research and education in networking in the United States.
= NSFNET was founded in 1985, NSFNET was a general purpose research network
wherein the connection is not limited to the super computer centers, it was to serve as.
beps://p)a backbone connection for regional networks at every supercomputing site and
use ARPANET's TCP/IP protocol.
In 1986, the super computer centers were officially connected and it became open to
all academic networks.
The NSF decided to transfer the operations of NSFNET to the private sector in the
midst of the rapid growth of the network. NSENET was officially dissolved on October
30, 1995.
Internet: A network of networks.
WWW: World Wide Web started on 6" August 1991, started by ‘ Berners Lee’ .
Interspace: Interspace is a client/server software program that allows multiple users to
communicate online with real-time audio, video and text chat in dynamic 3D environments.
Interspace provides the most advanced form of communication available on the Internet
today.
8.2 Communication Terminol
Channel: A channel is a separate path through which signals can flow. A channel has a
certain capacity for transmitting information, often measured by its bandwidth in Hz or
its data rate in bits per second.
Bandwidth: Bandwidth refers to the amount of information that can be transmitted over a
network in a given amount of time, usually expressed in bits per second or bps.
Data Transfer Rate: The data transfer rate of a computer network connection is normally
measured in units of bits per second (bps).
Larger units are Kbps, Mbps and Gbps, KBps, MBps,GBps
bps means bit per second.
Bps means Byte per second
1 kilobit per second (Kbps) = 1000 bits per second (bps)
1 megabit per second (Mbps) = 1000 Kbps or 1000? bps.
1 gigabit per second (Gbps) = 1000 Mbps
1 Terabit per second (Tbps) = 1000 Gbps8.3 Switching Techniques:
It is a way to send a message from sender to receiver. Information may be switched as it
travels through various communication channels. There are three typical switching
techniques available for digital traffic.
+ Circuit Switching
+ Packet Switching
+ Message Switching
Circuit Switching
Packet Switching
Requires point to point connections during
calls.
Sends data in small blocks, called packets.
Packets reassembled in proper sequence at
the receiver end.
Required dedicated connection
Not required dedicated connection
Circuit-switched networks were used for
phone calls
packet-switched networks handled data
o 8
= S
ie8.4 Transmission Medium:
A medium which is used to connect the devices and transfers the data from one device to
another device.
Medium
I |
Wired Wireless
(Guided) (Unguided)
| | | ¥ | ¥ |
Twisted Co-axial Optical Radio Micro Satellite | | Wi-Fi, infrared,
Pair Cable Cable Fiber wave wave Comm. Bluetooth
https://pythonschoolkvs.wordpress.com8.5 Network Devices:
Modem
Hub
Switch
Gateway
Bridge
Router
Repeater
NIC (Network Interface Card)
RJ45 Connector
Ser aAweeno
. Modem:
> The full form of modem is Modulator and demodulator.
> A modem is a device or program that enables a computer to transmit data over
telephone or cable lines.
> A modem converts analog signal to digital signal and vice- versa.
> Modem connects computer to internet.
> There are two types of modem:
a. Internal Modem
b. External Modem
‘Telephone pole
( Intemet
\ vy
wy
——
Fig, : Working of Modem
© Anetwork device that contains multiple ports.
* Provides multiple connections.
© When a packet arrives at one port, it is copied to the other ports so that all
segments of the LAN can see all packets.
© Two types of hub :
‘dpa. Active Hub
b. Passive Hub
Fig: Hub
3. Switch:
« A switch is called smart hub.
* Provides multiple connections
« A device that filters and forwards packets between LAN segments.
Fig. : Active and Passive Hub
HUB
Hub passes the frame to every port.
SWITCH
Passes the frame to a specific port,
because it keeps a record of MAC add
Creates lot of traffic on network
Hub shares its bandwidth with each and
every port, so bandwidth divided among
all the nodes, which will degrade
performance,
Less traffic
Switch allocates full bandwidth to each of
its port. So user always access maximum
amount of bandwidth.
Slow speed
Fast speed
si/ D34. Gateway:
© A gateway is a network point that acts as an entrance to another network.
© Used to connect two dissimilar networks.
Web Server
Gateway
WAN
5, Bridg.
A device that connects two local-area networks (LANs), or two segments of the same
LAN that use the same protocol, such as Ethernet.
LAN-1
6. Route
* A router is adevice that forwards data packets along networks. A router is
connected to at least two networks, commonly two LANs or WANS. Routers are
located at gateways, the places where two or more networks connect.
© A router acts as a dispatcher, choosing the best path for information to travel so it’s
received quickly.
https://pythonschoolkvs wordpress.com7 I
ant
7. Repeater:
Network repeaters regenerate and amplify the weak signals to transmit the information
for long distance.
Wingless Router, Repeater Desktops
eee
NIC (Network Interface Card): NIC card has a physical address of a system; this
physical address known as MAC address.
A MAC address is a 6- byte address with each byte separated by a colon, First 3-bytes have
Manufacturer id and last 3-bytes represent Card id.
10:BE:05:56:3F:CB
LOBE OC
Manufacturer id Card id
9, RJ45 Connector: It is used for connecting computers onto Ethernet-based local area
networks (LAN). RJ stands for Registered Jack. It is a standardize networking interface. 45
is the number of the interface standard. It has 8-pins.8. pes of Networ!
1, Local Area Network (LAN)
2. Metropolitan Area Network (MAN)
3. Wide Area Network (WAN)
4, Personal Area Network (PAN)
1. LAN:
*Use in small local area, like in an institute or an organization.
* Devices are connected via physical medium.
* Limited distance, up to 150 Meter.
* Example — Intranet
2. MAN:
* Larger than LAN.
* Used in Metropolitan cities.
*Range up to 50 KM.
3. WAN:
* Large network
* Public
* Example — Internet
4. PAN:
* For very small distance
* Private Communication
* Example: Bluetooth
8.7 Network Topolog:
The term Topology refers to the way/layout in which the various nodes or computers of a
network are linked together.
The following factors are considered while selecting a topology:
Y Cost
Y Reliability
i//pytY Bandwidth capacity
Y Ease of installation
Y Ease of troubleshooting
Y Delay involved in routing information from one node to another.
8.7.1 Types of Topologies
Topology
CT
Bus Ring i Star Mesh Tree Hybrid
1. Bus Topology
It consists of one continuous length of cable (trunk) that is shared by all the nodes in the
network and a terminating resistor (terminator) at each end that absorbs the signal when it
reaches the end of line. Without a terminator the electrical signal would reach the end of
copper wire and bounce back, causing errors on the network.
Data communication message travels along the bus in both directions until it is picked up by
a workstation or server NIC. If the message is missed or not recognized, it reaches the end of
the cabling and dissipates at the terminator. Bus Network Topology requires a multipoint
connection.
Advantages Disadvantages
1. Easy to install and the use for small | 1. If the main cable fails the entire network
networks. collapses.
2. Requires less cable 2. Difficult to reconfigure, due to more
connections.
3, Failure of one node does not affect the | 3- Difficult to troubleshoot
network functioning.
4. Cost is less 4, Slow, due to traffic on single cable
5. New node can be easily added 5. Only one device transmits at a time, other
devices wait for their tum,2. Ring Topology
The physical ring Topology is a circular loop of point-to-
point links. Message travel around the ring from node to node
in a very organized manner. Each workstation checks the
message for a matching destination address. If the address
doesn’t match the node simply regenerates the message and
sends it on its way. If the address matches, the node accepts
the message and sends a reply to the originating sender.
a
=
Advantages
Disadvantages
1. Easy to troubleshoot
2. There is no master computer on controller.
3. There are no collisions.
4. Fast speed
5. Easy fault detection and isolation
1. Requires more cable
2. More Expensive
3. A break in cable ring brings down entire
network
4, Data flows in single direction
3. Star Topology
The physical star Topology uses a central controlling hub with dedicated legs pointing in all
— like points of a star. Each network
directions
device has a dedicated point-to-point link to
central hub. There is no direct link between these
computers and the computers can communicate via
central controller only.
the
Advantages
Disadvantages
1. Easier to add new node or modify any
existing node without disturbing network.
2. Fast Speed
3. Ifany local computer or link fails, the entire
system does not collapse
4. Easy fault detection and isolation
5. Central node control
1. Central node dependency. If the central
controller or hub fails, entire system
collapses.
2. Cabling cost is more
3. Difficult to install4, Mesh Topology
In mesh topology, each node is connected to every other
node in the network i.e. each node has a dedicated point
to point link to every other node as shown. Dedicated
means that the link carries the traffic only between two
devices it connects.
In this way there exist multiple paths between two nodes
of the network. In case of failure of one path, the other
one can be used.
Advantages
Disadvantages
1. It is robust. Failure of one node does not
collapse the entire system.
2. No traffic congestion
3. Dedicated links ensure faster transmission
4. Point to point links makes
identification and isolation easier.
fault
1. Network installation and reconfiguration
difficult.
2. High cabling cost. If there are n nodes in
the network then each node has (n-1)
connections.
5. Tree Topology
This topology has Hierarchical structure. This topology connects the node via hubs. Hub,
which is present at top level, is called root hub or active hub. Another hub is called
secondary hub or passive hub.
aire
_—Advantages Disadvantages
1. New node can be added easily. 1. If the backbone line breaks, the entire
2. Signal can travel for long distance. segment goes down.
3. Isolate and prioritize communication. 2. More difficult to configure
3. Higher cabling cost
6. Hybrid Topology:
It is a composition of more than one topology.
8.8 Network Protocol:
1. TCP: Transmission Control Protocol — 4 layers
‘Application Layer
Transport Layer
Internet
‘Network Interface
2. IP: Internet Protocol
Each computer has unique address over internet, is called IP address. An IP address is an
identifier for a computer or device on a TCP/IP network.An IPv4 address (dotted-decimal notation)
172.16 .254.1
+ + + +
10101100 ,00010000.11111110 00000001
oo
One byte=eight bits
Thirty-two bits (4.x 8), or 4 bytes
Two types:
I. IPv4 (32-bits or 4-bytes) : IPv4 addresses are canonically represented in dot-
decimal notation, which consists of four decimal numbers, each ranging from 0
to 255, separated by dots, e.g., 192.168.1.1.
Il. IPV6 (128-bits or 16-bytes)
3. FTP (File Transfer Protocol): use to transfer files from one computer to another computer.
4, PPP (Point to Point Protocol)
5. HTTP( HyperText Transfer Protocol): To transfer the hypertext pages over internet.
6.1 work) : A network protocol that allows a user on one
computer to log into another computer(remote) that is part of the same network or on the
internet.
Inet (TELecommunication NI
7. GSM: GSM (Global System for Mobile communication) is a digital mobile telephony
system that digitizes and compresses data, then sends it down a channel with two other
streams of user data, each in its own time slot
8. CDMA: Code Division Multiple Access (CDMA) is a digital air interface standard,
claiming eight to fifteen times the capacity of traditional analog cellular systems.
Each user is separated by a unique code; all users can share the same frequency band.
i//pyt
‘dpCDMA is a spread spectrum technology, which means that it spreads the information
contained in a particular signal of interest over a much greater bandwidth than the original
signal.
9, GPRS: General Packet Radio Service is a packet-switching technology that enables data
transfers through cellular networks (wireless). It is used for mobile internet, MMS and other
data communications. In theory the speed limit of GPRS is 115 kbps, but in most networks it
is around 35 kbps.
10. WLL: Wireless Local Loop is a system that connects subscribers to the local telephone
station wirelessly.
1}
1
| ]
ers
Nise = oh | oe
Fu
ers
Fig. : Architecture of WLL
FSU : Fixed Subscriber Unit BSC : Base Station Controller __ BTS: Base Transceiver Station
11. VoIP : VoIP (voice over IP) is the transmission of voice and multimedia content over
Internet Protocol (IP) networks. This protocol is used for chat and video conferencing over
internet,
9 Mobile Telecommunication Technologi
Firstly, when wireless generation started, it was analog communication. That generation is
1G. They used various analog modulation for data transfer. Now when the communication
migrated from analog to digital, the foundation of latest communication were led. Hence
came 2G.
https://pythonschoolkvs wordpress.com1G Technology:
+ 1G refers to the first generation of wireless telephone technology, mobile
telecommunications which was first introduced in 1980s and completed in early 1990s.
+ It’s Speed was upto 2.4kbps, allowed the voice calls in one country.
+ Itused Analog Signal and AMPS was first launched in USA in 1G mobile systems
Drawbacks:
Poor Voice Quality
Poor Battery Life
Large Phone Size
No Security
Limited Capacity
Poor Handoff Reliability
2G Technology:
2G technology refers to the 2nd generation which is based on GSM.
It was launched in Finland in the year 1991 and used digital signals.
It’s data speed was upto 64kbps.
d
+ Itenables services such as text messages, picture messages and MMS (multi media
message).
+ Itprovides better quality and capacity.
Features include:
si/ D3Drawbacks:
2G requires strong digital signals to help mobile phones work. If there is no network
coverage in any specific area, digital signals would weak.
These systems are unable to handle complex data such as Videos.
3G Technology:
3G technology refer to third generation which was introduced in year 2000s.
Data Transmission speed increased from 144kbps- 2Mbps
Typically called Smart Phones and features increased its bandwidth and data transfer
rates to accommodate web-based applications and audio and video files.
Features Include:
Providing Faster Communication
Send/Receive Large Email Messages
High Speed Web / More Security
Video Conferencing / 3D Gaming
TV Streaming/ Mobile TV/ Phone Calls
Large Capacities and Broadband Capabilities
11 sec — 1.5 min, time to download a 3 min Mp3 song.
Drawbacl
Expensive fees for 3G Licenses Services
It was challenge to build the infrastructure for 3G
High Bandwidth Requirement
Expensive 3G Phones.
Large Cell Phones
4G Technology:
4G technology refer to or short name of fourth Generation which was started from late
2000s.
Capable of providing 100Mbps ~ 1Gbps speed.
si/ D3One of the basic term used to describe 4G is MAGIC.
Features Include:
* Mobile Multimedia
* Global Mobility Support
«Integrated Wireless Solution
* Customized Personal Services
* Also known as Mobile Broadband Everywhere
* The next generations of wireless technology that promises higher data rates and
expanded multimedia services.
Capable to provide speed 100Mbps-1Gbps.
High QOS and High Security
Provide any kind of service at any time as per user requirements, anywhere.
More Security
High Speed
High Capacity
Low Cost Per-bit
Drawbacks:
* Battery uses is more
* Hard to implement
* Need complicated hardware
* Expensive equipment required to implement next generation network.
5G Technology:
Introduced in 2020
© Faster than 4G.
© Gateway for Internet of Things (loT)
© More secure than 4G
si/ D3°
oo
°
Un-interrupted and Reliable
Less latency than 4G.
Less interference and better efficiency
Cloud based computing
The basic difference between 3G, 4G and 5G is in data transfer and signal quality.
Technology 3G 4G SG
ata Transfer Rate 1 MB/sec 100 MBisec >IGbps
Internet Services Broadband High Broadband Ultra Broadband
fobile — TV Resolution Low High Very High
[Frequency I.6-2 GHz ps GHz 25 GHz
Download and upload [5.8 Mbps 14 Mbps 200-400 Mbps
Latency {100-500 milliseconds po-30 milliseconds < 10 milliseconds
8.10 Introduction to web services:
8.10.1 WWW: World Wide Web is an information system where websites and webpages
are interconnected and accessible through URL. It is also known as Web.
8.10.2 HTML: HTML is the standard markup language for creating Web pages.
HTML stands for Hyper Text Markup Language
HTML describes the structure and design of Web pages using markup
HTML elements are represented by tags
Browsers do not display the HTML tags, but use them to render the content of the page
The current version of HTML is HTML 5.0OUTPUT
A simple HTML Cod
ay —
+0 @ *x| =
My frst web pagestitle> , /
het ee My First Heading
p
Spgs
My First Heading
My first paragraph
8.10.3 XML:
+ XML stands for EXtensible Markup Language
+ XML is a markup language much like HTML
+ XML was designed to store and transport data
+ XML was designed to be self-descriptive
+ XML is a W3C Recommendation
HTML
XML
1_| HyperText Markup Language.
eXtensible Markup Language.
Designed to display data with focus on how
data looks,
XML was designed to be a software and hardware
independent tool used to transport and store data,
with focus on what data is.
3_| HTML is case insensitive.
XML is case sensitive,
HTML is used for designing a wel
rendered on the client side.
-page to be
XML is used basically to transport data between
the application and the database.
5__| HTML has its own predefined tags.
Uses custom tags defined by the user.
HIML is not strict if the user does not use the
closing tags.
XML makes it mandatory for the user the close
each tag that has been used.
HTML does not preserve white space
XML preserves white space.
8 | HTML is about displaying data, hence static.
XML is about carrying information hence
dynamic.
8.10.4 Domain Name:
Domain names are used to identify one or more IP addresses. Domain names are used in
URLs to identify particular web page.
https://pythonschoolkvs wordpress.comFor example, http://www.kvongebrd.com/english-results.htm
URL http://www.kvongebrd.com/english-results.htm
Domain Name | kvongebrd.com
Web Page english-results.htm
Protocol [http
Every domain name has a suffix that indicates which top level domain (TLD) it belongs to.
There are only a limited number of such domains. For examp!
= gov - Government agencies
= edu - Educational institutions
= org - Organizations (nonprofit)
= mil- Military
= com - commercial business
= net - Network organizations
= in- India
= th— Thailand
Because the Intemet is based on IP addresses, not domain names, every Web server require
a Domain Name System (DNS) server to translate domain names into IP addresses.
8.10.5 URL: Uniform Resource Locator. It is the global address of documents and other
resources on the World Wide Web.
8.10.6 Website: Collection of web pages which are interlinked to one another. These pages
are hypertext pages and link between pages is known as hyperlink.
8.10.7 Web browser: It is application software though which user can access internet.
Example: intemet explorer, Google chrome, Mozilla Firefox, opera, UC browser
8.10.8 Web Server: A web server is a system that uses HTTP to accept request and serve the
web pages as response to users. Every web server has IP address.
Example: Apache web server, Microsofi's Internet Information _ Server (IIS)
and nginx (pronounced engine X) from NGNIX.
8.10.9 Web Hosting:
© Web hosting is a service that allows organizations and individuals to post a website on
to the Internet.
o A web host, or web hosting service provider, is a business that provides the
technologies and services needed for the website or webpage to be viewed in the
Internet.
Websites are hosted, or stored, on special computers called servers.
i//pytQa
Q2
Q3
Q4
Qs
Q6
Q7
as
Q9
Q.10
Qa1
Q.12
Q.13
Q.14
Q.45
Q.16
QUESTIONS
Expand the following terms:
i) URL ii) GSM http iv) ARPANET =v) GPRS__vi) WLL
Computers connected by a network across different cities is an example of
A is a networking device that connects computer in a
network by using packet switching to receive and forward data to the
destination.
Bluetooth is example of which type of network:
(a) LAN (b) MAN (¢) WAN (4) PAN
Define the following terms:
a) Channel b) Bandwidth —_c) IP address
Write difference between https and https.
Write difference between circuit switching and packet switching.
Why does switch known as smart hub?
How is star topology better than bus topology?
Write difference 4-G and 5-G Technology.
Write difference between HTML and XML.
Find domain name in given URL:
http://cbseacademi in/web_material/CurriculumMain21 .html
Write difference between internet and intranet,
Write name of any two web browsers.
How is web browser different from web server?
Define web hosting.Q.17 “Deccan Tech Services” is planning to set up its India campus at Delhi with
its Head Office at Mumbai. The Delhi campus has 4-main blocks-BUSINESS,
TECHNOLOGY, LAW and HR. You as a network expert have to suggest the
best network related solutions for their problems raised in (i) to (iv).
MUMBAI
DELHI
Head Office Campus TAW
TECHNOLOGY [susiness ]
HR
Distance between various building blocks:
LAW BLOCK to BUSINESS BLOCK 40m
LAW BLOCK to TECHNOLOGY BLOCK 80m
LAW BLOCK to HR BLOCK 105m
BUSINESS BLOCK to TECHNOLOGY BLOCK 30m
BUSINESS BLOCK to HR BLOCK 35m
TECHNOLOGY BLOCK to HR BLOCK 15m
HEAD OFFICE to DELHI CAMPUS 1485 KM
Number of computers in each of the Blocks:
ftawBlocK—“‘C;O!!C*rOCS CO]
[TECHNOLOGYBLOCK =—~SsS SC
[HRBLOCK = =~=——~—~—CSSCLC._—CY
BUSINESS BLOCK 30
i. Suggest the most appropriate location of the server inside the DELHI
campus (out of the 4 blocks), to get the best connectivity for maximum
number of computers. Justify your answer.
ii, Suggest and draw the cable layout to efficiently connect various blocks
within the DELHI campus for connecting the computers.
‘dpto be installed to protect and control the internet uses within the
campus?
iv. Suggest network type (out of LAN, MAN, WAN) for connecting each of
the following set of their offices:
> Law & Technology Department
> Head Office and Delhi Office
“India Computer Ltd.” is planning to start their offices in four major cities in
India to provide regional IT infrastructure. The company has planned to setup
their head office in New Delhi in three locations and have named their New
Delhi offices as “Sales Office”, “Head Office” and “Tech Office”. The company’s
regional offices are located in “Bangalore”, “Kolkata” and “Ahmedabad”. A
rough layout of the same is as follows:
Which hardware device will you suggest to be procured by the company
INDIA
New Delhi
<~™.
Sales
office a
office
m—™.
Head |
office
‘Ahmedabad
office
Bangalore
affice
Approximate distance between these offices as per network survey team is in
table-1 and company planned to install the number of computers in each
office is given below in table-2:Place
From Place To Distance | | Head Office 100
Head Office | Sales Office 10 KM Sales Office 20
Head Office Tech Office 70 Meter | | Tech Office 50
Head Office | Kolkata Office | 1291 KM Kolkata Office 50
Head Office | Ahmedabad Office | 790 KM | | Ahmedabad Office | 50
Head Office | Bangalore Office | 1952 KM | [Bangalore Office [50
wa
(ii)
(iii)
(iv)
Table-1 Table-2
Suggest network type (out of LAN, MAN, WAN) for connecting each
of the following set of their offices:
> Head office and Tech office
> Head office and Bangalore office
Which device you will suggest to be produced by the company for
connecting all the computers within each of their offices out of the
following devices?
+ Switch/Hub
* Modem
+ Telephone
Which of the following communication media, you will suggest to be
procured by the company for connecting their local offices in New
Delhi for very effective and fast communication?
+ Telephone cable
* Optical fibre
+ Ethernet cable
Suggest a cable/wiring layout for connecting the companies local
offices located in New Delhi, Also suggest an effective
method/technology for connecting the company’s regional offices at
Kolkata, Bangalore and Ahmedabad.