Computer Networks and Internet Concepts Notes Only For 2023-24
Computer Networks and Internet Concepts Notes Only For 2023-24
(i) Resource Sharing. The aim is to make all programs, data and peripherals available to
anyone on the network irrespective of the physical location of the resources and the user.
Can share software, hardware, data, storage etc.
(ii) Reliability. A file can have copies on two or three different machines, so if one of them
is unavailable (hardware crash), the other copies could be used. For military, banking, air
reservation and many other applications it is of great importance.
(iii) Cost Factor. Personal computers have better price/performance ratio than
microcomputers. So, it is better to have PC’s, one per user, with data stored on one shared
file server machine.
(iv) Communication Medium. Using a network, it is possible for managers, working far
apart, to prepare financial report of the company. The changes at one end can be
immediately noticed at another and hence it speeds up co-operation among them.
Advantages Disadvantages
1. Can share resources e.g. printer 1. Some time it may increase the cost and
software, hardware, storage, data etc. needs special staff.
2. Can communicate via messages, 2. If networks managed badly services can
emails. become unusable
3. Centrally control 3. Dependency on server
4. Better control and management of 4. Security of files
data.
5. Increased reliability
6. Overall cost reduction
EVOLUTION OF NETWORKING:
Evolution of networking started way back in 1969 by the development of first network
called ARPANET, which led to the development of Internet.
First network was sponsored by U.S. Department of Defense and called ARPANET
(Advanced Research Projects Agency Network).
The goal of this project was to connect computers at different universities and U.S.
defense.
The users can exchange the data and send messages on it. The users of this system
were also able to play long distance games and socialize with people who shared their
interests.
In mid-80’s, the National Science Foundation, created a new, high- capacity network
called NSFnet, which was more capable than ARPANET.
2|Page Unit-II Computer Networks
The Internet
Internet is a worldwide network of computer networks.
It is an interconnection of large and small networks around the globe.
The common use of Internet standards allows users connected to one network to
communicate with users on another network.
The computers on the Internet have to use a common set of rules for
communication. Those rules are called protocols, and the Internet uses a set of
protocols called TCP/IP (Transmission Control Protocol/Internet Protocol).
HOW DOES INTERNET WORK?
In Internet, most computers are not connected directly to the Internet. Rather they are
connected to smaller Networks, which in turn are connected through gateways to the
Internet backbone.
Gateway: A Gateway is a device that connects dissimilar networks.
Backbone: A Backbone is central interconnecting structure that connects one or more
networks just like the trunk of a tree or the spine of a human being.
The packets are reassembled in the order of their number and the original
message/file/document is obtained.
The reason that the Internet works at all is that every computer connected to it uses the
same set of rules for communication, these set of rules are called protocol.
The TCP (i.e., Transmission Control Protocol) part is responsible for dividing the
file/message into packets on the source computer. It (TCP) is also responsible for
reassembling the received packets at the destination or recipient computer.
The IP (i.e., Internet Protocol) part is responsible for handling the address of destination
computer so that each packet is routed (sent) to its proper destination.
The Interspace
Interspace is a client/server software program that allows multiple users to communicate
online with Realtime audio, video, and text chat in dynamic 3D environments.
The Interspace is a vision of what the Internet will become, where users cross-correlate
information in multiple ways from multiple sources. It is an applications environment for
interconnecting spaces to manipulate information.
Components/terms mostly used in networking.
Whenever we talk about a network it includes the hardware and the software that make
up the network. Some typical hardware components of network
Server: A computer that facilitates the sharing of data, software, and hardware resources
(e.g., printers, modems etc.) on the network, is termed as a Server.
Servers can be of two types: (i) non-dedicated and (ii) dedicated servers
(i) non-dedicated servers:
On small networks, a workstation that can double up as a server, is known as
nondedicated server.
Since one computer works as a workstation as well as a server, it is slower and
requires more memory.
The (small) networks using such a server are known as PEER-TO-PEER networks.
(ii) dedicated servers:
MAC address: The MAC address refers to the physical address assigned by NIC
manufacturer.
SWITCHING TECHNIQUES:
Switching techniques are used for transmitting data across networks. Three switching
techniques are: Circuit switching Message switching Packet switching.
Circuit Switching
First the complete physical connection between two computers is established and
then the data are transmitted from the source computer to the destination.
When a call is placed the switching equipment within the system seeks out a
physical copper path all the way from the sender to the receiver.
It is must to setup an end-to-end connection between computers before any data
can be sent.
The circuit is terminated when the connection is closed.
In circuit switching, resources remain allocated during the full length of a
communication, after a circuit is established and until the circuit is terminated and
the allocated resources are freed.
Message Switching
In this the source computer sends data or the message to the switching circuit
which stores the data in its buffer.
Then using any free link to the switching circuit, the data is send to the switching
circuit.
Entire message is sent to the destination. It reaches through different intermediate
nodes following the “store and forward” approach.
No dedicated connection is required.
Data Channel:
Data travels in the form of signals over a channel. Channel is the medium used to carry
information or data from one point to another.
Data Transfer Rate:
One signal carries one or more bits over the channel. Data transfer rate is the number
of bits transmitted between source and destination in one second. It is also known as
bit rate or Baud. It is measured in terms of bits per second (bps).
Bits Per Second (bps): It refers to the speed at which data transfer is measured. It is
generally used to measure the speed of information through a high-speed phone lines
or modems.
Hiding your IP address is a way to protect your personal information and online identity.
The two primary ways to hide your IP address are:
(i) Thicknet. This form of coaxial cable is thicker than thinnet. The thicknet coaxial
cable segments (while joining nodes of a network) can be upto 500 meters long.
(ii) Thinnet. This form of coaxial cable is thinner, and it can have maximum segment
length of 185 meters i.e., using this cable, nodes having maximum distance of 185
meters can be joined.
Advantages:
(i) The data transmission characteristics of coaxial cables are considerably better
than those of twisted-pair cables.
(ii) The coaxial cables can be used as the basis for a shared cable network.
(iii) The coaxial cables can be used for broadband transmission i.e., several channels
can be transmitted simultaneously (as with cable TV).
(iv) Offer higher bandwidths-upto 400 MBPS.
Disadvantages:
(i) Expensive compared to twisted pair cables.
(ii) The coaxial cables are not compatible with twisted pair cables.
(c) Optical fibers:
Consist of thin strands of glass or glass like material which are so constructed that
they carry light from a source at one end of the fiber to a detector at the other
end.
The light sources used are either light emitting diodes (LEDs) or laser diodes (LDs).
(i) the core, i.e., the glass or plastic through which the light travels
(ii) the cladding, which is a covering of the core that reflects light back to
the core, and the
(iii) protective coating, which protects the fiber cable from hostile environment.
Advantages
(i) It is immune to electrical and magnetic interference i.e., noise in any form
because the information is travelling on a modulated light beam.
(ii) It is highly suitable for harsh industrial environments.
(iii) It guarantees secure transmission and has a very high transmission capacity.
(iv) Fiber optic cables can be used for broadband transmission.
Disadvantages
(i) Installation problem. Fiber optic cables are quite fragile and may need special care to
make them sufficiently robust for an office environment.
(ii) Connecting either two fibers together or a light source to a fiber is a difficult process.
(iii) Because of noise immunity, optical fibers are virtually impossible to tap.
(iv) Light can reach the receiver out of phase. Connection losses are common
problems.
(v) Fiber optic cables are more difficult to solder.
(vii) They are the most expensive of all the cables.
Despite its shortcomings, optical fiber is an important technology and will be a very
attractive transmission indeed.
Microwave:
Satellite Microwave:
In satellite communication the earth station consists of a satellite dish that functions as an
antenna and communication equipment to transmit and receive data from satellites
passing overhead.
Advantages:
Radio Wave:
Network Devices:
Modem:
Modem A Modem is a computer peripheral that allows you to connect and communicate
with other computers via telephone lines.
This shift of digital data into analog data and back again, allows two computers to “speak’’
with one another. Called modulation/demodulation, this transformation of signals is how
the modem received its name.
Modems come in two varieties:
1. Internal modems: Internal modems are fixed within the computer.
2. External modems: An External modem the modems that are connected externally
to a computer as other peripherals are connected.
3. It is hard to transfer the internal modem The external modem can be moved
to another computer. easily.
4. The internal modem is powered by PC. The external modem needs external
power supply.
RJ 45 connector:
RJ-45 is short for Registered Jack-45.
RJ-45 is an eight-wire connector, which is commonly used to connect computers on
the local area networks i.e., LANs especially Ethernets.
The RJ-45 connector looks very much like standard telephone connector (RJ-11
connector), but it is wider than RJ-11 as it houses eight wires instead of four.
RJ-45 connectors are used to connect computers in Ethernet LANs.
Ethernet Card:
Ethernet is a LAN architecture developed by Xerox Corp in association with DEC and
Intel.
Ethernet uses bus or star topologies and can support data transfer rates of upto 10
Mbps.
An Ethernet card contains connections for either coaxial or twisted pair cables (or
both).
If it is designed for coaxial cable, the connection will be BNC (Bayonet Neill–
Concelman).
If it is designed for twisted pair, it will have a RJ-45 connection.
Some Ethernet cards also contain an AUI(attachment unit interface) connector.
This can be used to attach coaxial, twisted pair, or fiber optics cable to an Ethernet
card.
Switch:
A switch has same job as that of a hub’s – i.e., to connect multiple computers.
A switch is a smart device as it can identify the intended destination and send the
information only to the target computer(s).
A switch does not share the media/bandwidth among all its connected computers.
No unnecessary traffic generated.
Can send and receive information at the same time.
Switches, however, are expensive than hubs.
Bridge:
A bridge is a device that lets you link two networks together.
Bridges are smart enough to know which computers are on which side of the
bridge, so they only allow those messages that need to get to the other side to
cross the bridge.
This improves performance on both sides of the bridge.
As a packet arrives at the bridge, the bridge examines the physical destination
address of the packet. The bridge then decides whether to let the packet cross.
Router:
Gateway:
Repeater:
A Repeater is a network device that amplifies and restores signals for long distance
transmission.
Repeaters are of two kinds: amplifier and signal repeater.
The first merely amplifies all incoming signals over the network. However, it
amplifies both the signal and any concurrent noise.
Why repeaters?
Ans. When a signal travels along a cable, it tends to lose strength.
A repeater is a device that boots or regenerates a network’s signal as it passes
through and rebroadcasts it.
When are repeaters required?
Ans. Repeaters are mainly used for extending the range when the total length of network
cable exceeds the standards set, for example, in fast ethernet, this range is 100
meters. And if you must connect two computers that are more than 100 meters
apart you need repeater.
What is the 5:4:3 rule of using repeaters in the network?
Ans: No. we should follow: 5:4:3 RULE. One basic rule of using repeaters is the 5-4-3 Rule.
The maximum path between two stations on the network should not be more than
5 segments with 4 repeaters between those segments and no more than 3
populated segments.
NETWORK TOPOLOGIES:
The pattern of interconnection of nodes in a network is called the Topology.
While we connect the computers in the network the following points are considered.
1. Cost 2. Reliability 3. Flexibility
Various topologies are:
1. Star topology 2. Bus topology 3. Tree topology
4. Ring or circular topology 5. Graph topology 6. Mesh topology
The Star Topology:
This topology consists of a central node to which all other nodes are connected by a
single path.
It is the topology used in most existing information networks involving data
processing or voice communications.
Advantages:
These provide easy access for service or reconfiguration of the network.
Advantages:
It is a combination of bus and star topology
It provides high scalability, as leaf nodes can add more nodes in the hierarchical
chain.
Other nodes in a network are not affected, if one of their nodes get damaged
It provides easy maintenance and fault identification.
Disadvantages:
Large cabling is required as compared to star and bus topology.
On the failure of a hub, the entire network fails.
Tree network is very difficult to configure than other network topologies.
TYPES OF NETWORKS:
Computers are classified based on geographical spread and on this basis, there can be four
types of networks:
MAN are the networks spread over a city. For example, cable TV networks that
are spread over a city, can be termed as metropolitan area networks.
The purpose of a MAN is also the sharing of hardware and software resources
among its users.
Wide Area Networks (WAN):
A Wide Area Network (WAN) is a group of computers that are separated by large
distances and tied together.
It can even be a group of LANs.
The WANs link computers to facilitate fast and efficient exchange of information at
lesser costs and higher speeds.
Computers connected to a wide-area network are often connected through public
networks, such as the telephone system.
Example: The largest WAN in existence is the Internet.
IMAP:
IMAP stands for Internet message access protocol.
IMAP makes it possible to access your emails from different devices and all changes
are synchronized with the mail server and any email client(s) you are using.
HTTPS:
Hypertext Transfer Protocol Secure (HTTPS) is an extension of the Hypertext Transfer
Protocol (HTTP).
It is used for secure communication over a computer network.
In HTTPS, the communication protocol is encrypted using Transport Layer
Security (TLS) or, formerly, Secure Sockets Layer (SSL).
DOMAIN NAMES:
In general, a domain name is an address via which internet users can access your
website.
WEBSITE
A website is a collection of related web pages.
Each page may contain text, images, videos or other digital media and links to other
webpage or websites.
These pages are written in Hyper Text Mark Up Language (HTML) and can be accessed via
Internet.
A web site is hosted on a web server on the World Wide Web.
Each site is owned and managed by an individual, company, or organization.
HOME PAGE
The first page of a website is called the home page.
The home page contains the main information about a website.
It contains the links to other parts of the website.
The URL of the home page also serves as the URL of the Website. For example,
http://www.microsoft.com.
The website of Microsoft has an address or URL as shown above.
We should set the most frequently used website as our home page. This saves our
precious time.
WEB BROWSER:
Web browser is a software which is used to view web sites.
It is an interface between a user and the World Wide Web.
A web browser can have a graphical user interface like Internet Explorer, Mozilla Firefox,
Google Chrome, Opera, or can be text-based, like Lynx.
It can be installed on a single computer. The user can navigate files, folders and web sites
using hyperlinks.
WEB SERVERS:
A web server is software and hardware that uses HTTP (Hypertext Transfer Protocol) and
other protocols to respond to client requests made over the World Wide Web.
The main job of a web server is to display website content through storing, processing,
and delivering webpages to users.
WEB HOSTING:
Web hosting is an online service that enables you to publish your website or web application
on the Internet.
When you sign up for a web hosting service, you basically rent some space on a physical
server where you can store all the files and data necessary for your website to work
properly. Some good web hosting sites in India are: BlueHost, HostGator, A2 Hosting etc.
*****