Unit-5 - Computer Networks-Part 1
Unit-5 - Computer Networks-Part 1
Unit-5 - Computer Networks-Part 1
Networks:
A computer network is a telecommunications network that allows computers to exchange
data.
Network devices that originate, route and terminate the data are called network nodes.
It is a system in which multiple nodes are connected to each other to share information and
resources. A computer network allows sharing of resources between different nodes
connected within it.
Components of a Network:
The objects basically used in a computer network are known as Computer Network Elements
(CNEs). There are basically 4 computer networking elements:
• Computers
• Transmission medium (wired or wireless)
• Protocols
• Network software
Computers:
A computer is a digital device that is able to accept data as input, a process that data using
predefined algorithms and data structures, and perform tasks as output – that includes the
transformation of raw data into information, then knowledge, and finally insight about the
data’s domain. The output also takes the form of the performance of physical tasks along with
data storage, data transformation, and data retrieval. The network is also formed by
computers for the purposes of data interchange and leveraging a distributed programming
model for parallel processing.
Transmission medium:
The means through which we send our data from one place to another is known as the
Transmission medium.
Signals are used to represent data by computers and other telecommunication devices. The
signals (i.e., data or information) are transmitted in the form of electromagnetic energy from
one device to another. These signals travel through a vacuum, air, or other transmission
mediums to move from one point to another (from sender to receiver).
The transmission medium is of two types:
• Wired or Guided: For example, Twisted Pair Cable, Coaxial Cable, and Optical Fiber
Cable.
• Wireless or Unguided: For example, Radiowaves, Microwaves, and Infrared.
Protocols:
There are some defined rules and conventions for communication between network devices.
These are called Protocols. Network protocols include mechanisms for devices to identify and
make connections with each other, as well as formatting rules that specify how data is
packaged into sent and received messages.
Protocols may be of 3 types:
• Internet Protocols
• Wireless Network Protocols
• Network Routing Protocols
Network Software:
Network software is a foundational element for any network. This type of software helps
administrators deploy, manage and monitor a network. The traditional networks are made up
of specialized hardware, such as routers and switches, that bundle the networking software
into the solution.
Such types of software encompasses a broad range of software used for the design,
implementation, and operation, and monitoring of computer networks. Traditional networks
were hardware-based with software embedded. When software like Defined Networking
(SDN) emerged, the software is separated from the hardware thus making it more adaptable
to the ever-changing nature of the computer network.
Types of Networks:
The Network allows computers to connect and communicate with different computers via any
medium. LAN, MAN, and WAN are the three major types of networks designed to operate
over the area they cover. There are some similarities and dissimilarities between them. One
of the major differences is the geographical area they cover, i.e. LAN covers the smallest
area; MAN covers an area larger than LAN and WAN comprises the largest of all.
Local Area Network (LAN) –
LAN or Local Area Network connects network devices in such a way that personal computers
and workstations can share data, tools, and programs. The group of computers and devices
are connected together by a switch, or stack of switches, using a private addressing scheme
as defined by the TCP/IP protocol. Private addresses are unique in relation to other computers
on the local network. Routers are found at the boundary of a LAN, connecting them to the
larger WAN.
Data transmits at a very fast rate as the number of computers linked is limited. By definition,
the connections must be high speed and relatively inexpensive hardware (Such as hubs,
network adapters, and Ethernet cables). LANs cover a smaller geographical area (Size is
limited to a few kilometers) and are privately owned. One can use it for an office building,
home, hospital, schools, etc. LAN is easy to design and maintain. A Communication medium
used for LAN has twisted-pair cables and coaxial cables. It covers a short distance, and so
the error and noise are minimized.
Network Topologies:
• Physical Topology: It refers to the configuration of cables, computers and other
peripherals.
• Logical Topology: It is the method used to pass information between computers.
LINEAR BUS: It consists of a main cable with a terminator at each end. All the nodes are
connected to the linear cable.
Advantages:
1. Easy to install.
2. Requires less cable length than STAR topology.
Disadvantages:
1. Entire network fails if there is a break in main cable.
2. Terminators are required at both ends of the backbone cable.
3. Difficult to detect network faults.
STAR TOPOLOGY: A star topology is designed with each node connected directly to a
central network hub.
Data on the network passes through the hub before continuing to its destination.
The hub manages and controls all functions of the network. It also acts like repeater.
Advantages:
1. Easy to install
2. No disruptions to the network while connecting or removing devices.
3. Easy to detect network faults.
Disadvantages:
1. Requires more cable length than a linear topology
2. If the hub fails the network shuts down.
3. Setup cost is more than of linear bus.
TREE TOPOLOGY: It combines the characteristic of linear bus and star topologies. It consists
of groups of star configured workstations connected to a linear bus backbone cable.
Advantages:
1. Point to point wiring for individual segments.
2. Allows easy expansion for network.
Disadvantages:
1. If the backbone line breaks, entire segment shuts down.
2. More difficult to configure and install than other topologies.
RING TOPOLOGY: Each node is connected to two and only two neighbouring nodes.
Data is accepted from one of the neighbouring nodes and is transmitted onwards to another.
Data travels in one direction only from node to node around the ring.
Data after passing through each node, it returns to the sending node which removes it.
The signal is amplified before it is passed to the next node.
Advantages:
1. Short cable length
2. Suitable for optical fibers.
Disadvantages:
1. Node failure causes network failure.
2. Difficult to diagnose faults.
3. Network reconfigurations are difficult.
Application of Networks:
Email
Electronic mail, is a method of exchanging digital messages from a sender to one or more
recipients.
Advantages of emails
• Emails are easy to use. You can organize your daily correspondence, send and receive
electronic messages and save them on computers.
• Emails are fast.
• When you reply to an email you can attach the original message so that when you
answer the recipient knows what you are talking about
• It is possible to send automated emails with a certain text. These emails are called auto
responders.
• Emails do not use paper.
• Emails can also have pictures and other documents attached.
• Products can be advertised with emails. Companies can reach a lot of people and
inform them in a short time.
Disadvantages of emails
• Emails may carry viruses. These are small programs that harm your computer system.
They can read out your email address book and send themselves to a number of people
around the world.
• Many people send unwanted emails to others.
• Your mailbox may get flooded with emails after a certain time so you have to empty it
from time to time.
E-commerce
Electronic commerce, commonly known as e-commerce, is a type of industry where buying
and selling of product or service is conducted over electronic systems such as the Internet
and other computer networks.
Chat Services
Between two or occasionally more users of a display-based communications system.
Video Conferencing
It is the conduct of a videoconference by a set of telecommunication technologies which allow
two or more locations to communicate by simultaneous two-way video and audio
transmissions.
Usenet
Usenet is a worldwide distributed Internet discussion system.
Usenet is an Internet bulletin board that has thousands of newsgroups in it where people can
exchange news and e-mail. An example of Usenet is a newsgroup about sports where readers
post their own bits of information and read information.
Internet Forum
An Internet forum is an online discussion site where people can hold conversations in the
form of posted messages. They differ from chat rooms in that messages are at least
temporarily archived. Also, depending on the access level of a user or the forum set-up, a
posted message might need to be approved by a moderator before it becomes visible.
Domain name
A series of alphanumeric strings separated by periods serving as an address for a computer
network.
DNS
The Domain Name System translates Internet domain and host names to IP addresses. It
automatically converts the names we type in our Web browser address bar to the IP
addresses of Web servers hosting those sites.
IP Address
An Internet Protocol address (IP address) is a numerical label assigned to each device
participating in a computer network that uses the Internet Protocol for communication. An IP
address serves two principal functions: host or network interface identification and location
addressing.
HTTP
Hyper Text Transfer Protocol is the protocol to exchange or transfer hypertext.
Uniform Resource Locator (URL)
A uniform resource locator also known as web address, is a specific character string
that constitutes a reference to a resource on internet.
http://en.example.org/wiki/Main_Page
Every URL consists of the following:
• the scheme name (commonly called protocol), then
• a colon, two slashes, then
• a host, normally given as a domain name but sometimes as a literal IP address, then
• optionally a port number, then
• the full path of the resource
The scheme says how to connect, the host specifies where to connect, and the remainder
specifies what to ask for.
On the Internet, a hostname is a domain name assigned to a host computer. This is usually
a combination of the host's local name with its parent domain's name. For example,
en.example.org consists of a local hostname (en) and the domain name example.org. The
hostname is translated into an IP address via the domain name system (DNS) resolver.
The domain google.com, or its numeric IP address 74.125.228.87, is the address of Google's
India website.
Web Server:
A web server is computer software and underlying hardware that accepts requests via HTTP
(the network protocol created to distribute web content) or its secure variant HTTPS. A user
agent, commonly a web browser or web crawler, initiates communication by making a request
for a web page or other resource using HTTP, and the server responds with the content of
that resource or an error message. A web server can also accept and store resources sent
from the user agent if configured to do so.
The hardware used to run a web server can vary according to the volume of requests that it
needs to handle. At the low end of the range are embedded systems, such as a router that
runs a small web server as its configuration interface. A high-traffic Internet website might
handle requests with hundreds of servers that run on racks of high-speed computers.
Webpage
It is a document, typically written in plain text interspersed with formatting instructions of
Hypertext Markup Language to design a website.
Website
It is a set of related web pages served from a single web domain. A website is hosted on at
least one web server, accessible via a network such as the Internet or a private local area
network through an Internet address known as a Uniform Resource Locator.
Web Browser:
A web browser is a software application for retrieving, presenting and traversing information
resources on the World Wide Web.
Search Engine
A search engine is a software system that is designed to carry out web searches. They search
the World Wide Web in a systematic way for particular information specified in a textual web
search query. The search results are generally presented in a line of results, often referred to
as search engine results pages (SERPs) The information may be a mix of links to web pages,
images, videos, infographics, articles, research papers, and other types of files.