Computer Network1
Computer Network1
Computer networking:
Nodes and links are the basic building blocks in computer networking. A network
node may be data communication equipment (DCE) such as a modem, hub or,
switch, or data terminal equipment (DTE) such as two or more computers and
printers. A link refers to the transmission media connecting two nodes. Links may
be physical, like cable wires or optical fibers, or free space used by wireless
networks.
Different Types of Computer Networks:
The size of a network should be expressed by the geographic area and number of
computers, which are a part of their networks. It includes devices housed in a
single room to millions of devices spread across the world. Following are the
popular types of Computer Network:
1
What is PAN (Personal Area Network)?
2
What is WAN (Wide Area Network)?
WAN (Wide Area Network) is another important computer network that which is
spread across a large geographical area. WAN network system could be a
connection of a LAN which connects with other LAN’s using telephone lines and
radio waves. It is mostly limited to an enterprise or an organization.
3
Metropolitan Area Network (MAN)
Resource Sharing
The main goal of the computer network is Resource Sharing. It is to create all the
programs, data and hardware accessible to anyone on the network without
considering the resource’s physical area and the client.
Saving Money
The second goal of a computer network is saving money. Small computers have a
much excellent value proportion than higher ones.
High Reliability
4
Improve Performance
Communication Medium
The fifth goal of the computer network offers a powerful communication medium.
The different user on the network can immediately identify a document that has
been refreshed on a network.
OSI Model
The OSI Model is a logical and conceptual model that defines network
communication used by systems open to interconnection and communication with
other systems. The Open System Interconnection (OSI Model) also defines a
logical network and effectively describes computer packet transfer by using
various layers of protocols.
OSI model is a layered server architecture system in which each layer is defined
according to a specific function to perform. All these seven layers work
collaboratively to transmit the data from one layer to another.
• The Upper Layers: It deals with application issues and mostly implemented
only in software. The highest is closest to the end system user. In this layer,
communication from one end-user to another begins by using the interaction
between the application layer. It will process all the way to end-user.
5
• The Lower Layers: These layers handle activities related to data transport.
The physical layer and data link layers also implemented in software and
hardware.
Upper and lower layers further divide network architecture into seven different
layers as below
• Application
• Presentation
• Session
• Transport
• Network, Data-link
• Physical layers
6
Physical Layer:
The physical layer helps you to define the electrical and physical specifications of
the data connection. This level establishes the relationship between a device and a
physical transmission medium. The physical layer is not concerned with protocols
or other such higher-layer items.
Data link layer corrects errors which can occur at the physical layer. The layer
allows you to define the protocol to establish and terminates a connection between
two connected network devices.
Transport Layer:
The transport layer builds on the network layer to provide data transport from a
process on a source machine to a process on a destination machine. It is hosted
using single or multiple networks, and also maintains the quality of service
functions.
It determines how much data should be sent where and at what rate. This layer
builds on the message which are received from the application layer. It helps
ensure that data units are delivered error-free and in sequence.
Transport layer helps you to control the reliability of a link through flow control,
error control, and segmentation or desegmentation.
7
Network Layer:
The network layer provides the functional and procedural means of transferring
variable length data sequences from one node to another connected in “different
networks”.
Session Layer
Session Layer controls the dialogues between computers. It helps you to establish
starting and terminating the connections between the local and remote application.
Presentation Layer
Presentation layer allows you to define the form in which the data is to exchange
between the two communicating entities. It also helps you to handles data
compression and data encryption.
This layer transforms data into the form which is accepted by the application. It
also formats and encrypts data which should be sent across all the networks. This
layer is also known as a syntax layer.
Application Layer
Application layer interacts with an application program, which is the highest level
of OSI model. The application layer is the OSI layer, which is closest to the end-
user. It means OSI application layer allows users to interact with other software
application.
8
Internetworking
9
In modern practice, the interconnected computer networks
or Internetworking use the Internet Protocol. Two architectural models are
commonly used to describe the protocols and methods used in internetworking.
The standard reference model for internetworking is Open Systems
Interconnection (OSI).
Type of Internetworking
✓ Extranet
✓ Intranet
✓ Internet
Intranets and extranets may or may not have connections to the Internet. If
connected to the Internet, the intranet or extranet is normally protected from being
accessed from the Internet without proper authorization. The Internet is not
considered to be a part of the intranet or extranet, although it may serve as a portal
for access to portions of an extranet.
Extranet
10
an extranet cannot consist of a single LAN; it must have at least one connection
with an external network.
Intranet
Internet
Network devices, or networking hardware, are physical devices that are required
for communication and interaction between hardware on a computer network.
11
• Hub
• Switch
• Router
• Bridge
• Gateway
• Modem
• Repeater
• Access Point
Hub
Hubs connect multiple computer networking devices together. A hub also acts as a
repeater in that it amplifies signals that deteriorate after traveling long distances
over connecting cables. A hub is the simplest in the family of network connecting
devices because it connects LAN components with identical protocols.
Switch
Switches generally have a more intelligent role than hubs. A switch is a multiport
device that improves network efficiency. The switch maintains limited routing
information about nodes in the internal network, and it allows connections to
systems like hubs or routers.
Router
Routers help transmit packets to their destinations by charting a path through the
sea of interconnected networking devices using different network topologies.
Routers are intelligent devices, and they store information about the networks
they’re connected to.
12
Bridge
Bridges are used to connect two or more hosts or network segments together.
Bridges work only at the Physical and Data Link layers of the OSI model. Bridges
are used to divide larger networks into smaller sections by sitting between two
physical network segments and managing the flow of data between the two.
Gateway
Gateways normally work at the Transport and Session layers of the OSI model. At
the Transport layer and above, there are numerous protocols and standards from
different vendors; gateways are used to deal with them. Gateways provide
translation between networking technologies such as Open System Interconnection
(OSI) and Transmission Control Protocol/Internet Protocol (TCP/IP).
Modem
Repeater
A repeater is an electronic device that amplifies the signal it receives. You can
think of repeater as a device which receives a signal and retransmits it at a higher
level or higher power so that the signal can cover longer distances, more than 100
meters for standard LAN cables. Repeaters work on the Physical layer.
Access Point
13
While an access point (AP) can technically involve either a wired or wireless
connection, it commonly means a wireless device. An AP works at the second OSI
layer, the Data Link layer, and it can operate either as a bridge connecting a
standard wired network to wireless devices or as a router passing data
transmissions from one access point to another.
TCP/IP MODEL:
TCP/IP Model helps you to determine how a specific computer should be
connected to the internet and how data should be transmitted between them. It
helps you to create a virtual network when multiple computer networks are
connected together. The purpose of TCP/IP model is to allow communication over
large distances.
TCP/IP stands for Transmission Control Protocol/ Internet Protocol. TCP/IP Stack
is specifically designed as a model to offer highly reliable and end-to-end byte
stream over an unreliable internetwork.
The functionality of the TCP IP model is divided into four layers, and each
includes specific protocols.
• Application Layer
• Transport Layer
• Internet Layer
• Network Interface
14
Application Layer
Application layer interacts with an application program, which is the highest level
of OSI model. The application layer is the OSI layer, which is closest to the end-
user. It means the OSI application layer allows users to interact with other software
application.
Transport Layer
Transport layer builds on the network layer in order to provide data transport from
a process on a source system machine to a process on a destination system. It is
hosted using single or multiple networks, and also maintains the quality of service
functions.
Internet Layer
An internet layer is a second layer of TCP/IP layes of the TCP/IP model. It is also
known as a network layer. The main work of this layer is to send the packets from
15
any network, and any computer still they reach the destination irrespective of the
route they take.
Network Interface Layer is this layer of the four-layer TCP/IP model. This layer is
also called a network access layer. It helps you to defines details of how data
should be sent using the network.
It also includes how bits should optically be signaled by hardware devices which
directly interfaces with a network medium, like coaxial, optical, coaxial, fiber, or
twisted-pair cables.
TCP:
IP:
HTTP:
The Hypertext Transfer Protocol is a foundation of the World Wide Web. It is used
for transferring webpages and other such resources from the HTTP server or web
server to the web client or the HTTP client. Whenever you use a web browser like
16
Google Chrome or Firefox, you are using a web client. It helps HTTP to transfer
web pages that you request from the remote servers.
SMTP:
SMTP stands for Simple mail transfer protocol. This protocol supports the e-mail
is known as a simple mail transfer protocol. This protocol helps you to send the
data to another e-mail address.
SNMP:
DNS:
DNS stands for Domain Name System. An IP address that is used to identify the
connection of a host to the internet uniquely. However, users prefer to use names
instead of addresses for that DNS.
TELNET:
TELNET stands for Terminal Network. It establishes the connection between the
local and remote computer. It established connection in such a manner that you can
simulate your local system at the remote system.
FTP:
FTP stands for File Transfer Protocol. It is a mostly used standard protocol for
transmitting the files from one machine to another.
The World Wide Web—usually called the Web for short—is a collection of
different websites you can access through the Internet. A website is made up of
related text, images, and other resources. Websites can resemble other forms of
media—like newspaper articles or television programs—or they can be interactive
in a way that's unique to computers.
Electronic Commerce
Electronic commerce can be classified into four main categories. The basis for this
simple classification is the parties that are involved in the transactions. So the four
basic electronic commerce models are as follows,
18
1. Business to Business
This is Business to Business transactions. Here the companies are doing business
with each other. The final consumer is not involved. So the online transactions only
involve the manufacturers, wholesalers, retailers etc.
2. Business to Consumer
Business to Consumer. Here the company will sell their goods and/or services
directly to the consumer. The consumer can browse their websites and look at
products, pictures, read reviews. Then they place their order and the company ships
the goods directly to them. Popular examples are Amazon, Flipkart, Jabong etc.
3. Consumer to Consumer
Consumer to consumer, where the consumers are in direct contact with each other.
No company is involved. It helps people sell their personal goods and assets directly
to an interested party. Usually, goods traded are cars, bikes, electronics etc. OLX,
Quikr etc follow this model.
4. Consumer to Business
Examples of E-Commerce
• Amazon
• Flipkart
• Upwork
• Olx
19
• Quikr
Advantages of E-Commerce
• E-commerce provides the sellers with a global reach. They remove the barrier
of place (geography). Now sellers and buyers can meet in the virtual world,
without the hindrance of location.
• It provides quick delivery of goods with very little effort on part of the
customer. Customer complaints are also addressed quickly. It also saves time,
energy and effort for both the consumers and the company.
• One other great advantage is the convenience it offers. A customer can shop
24×7. The website is functional at all times; it does not have working hours like
a shop.
• Electronic commerce also allows the customer and the business to be in touch
directly, without any intermediaries. This allows for quick communication and
transactions. It also gives a valuable personal touch.
Disadvantages of E-Commerce
• The start-up costs of the e-commerce portal are very high. The setup of the
hardware and the software, the training cost of employees, the constant
maintenance and upkeep are all quite expensive.
• Although it may seem like a sure thing, the e-commerce industry has a high risk
of failure.
20
• At times, e-commerce can feel impersonal. So it lacks the warmth of an
interpersonal relationship which is important for many brands and products.
• Then there are also fulfillment problems. Even after the order is placed there
can be problems with shipping, delivery, mix-ups etc. This leaves the customers
unhappy and dissatisfied.
21