Chapter8 ComputerNetworkseditable
Chapter8 ComputerNetworkseditable
Computer Networks
Shahija P V
HSST Computer Application
Anjarakkandi HSS,Kannur
Computer Network
Computer Network is a group of computers and other computing
hardware devices connected to each other electronically through
communication medium.
Need/Use of computer networks
Data communication is possible
Computer network helps user to communicate with any other user of the network
through its services like e-mail chatting etc.
Resource Sharing
The sharing of available hardware and software resources ( like programs,
printers , hard disk etc..) in a computer network is called resource sharing.
Reliability
A file can have copies in different computers. So breaking down of one
system does not cause data loss.
Scalability
Computing and storage capacity can be increased or decreased easily by
adding/removing computer or storage devises to the network.
• Bandwidth:
• Noise:
• Node:
HUB
3. Switch
An intelligent device that connects several computers to form a network.
Determins the destination and redirect the data only to the intended node
generating less network traffic.
Stores the addresses of all the devices connected to it in a table.
4. Repeater
Regenerates incoming electrical, wireless or optical
signals through a communication medium.
Receives incoming data signals, amplifies the
signals to their original strength and retransmits
them to the destination.
5. Bridge
A bridge is a device used to segmentise a network ie a network can be
split into different segments and can be interconnected using a bridge.
This reduces the amount of traffic on a network.
Identifies the destination of incoming signals and broadcast to next
segment if the destination address is in the that segment.
6. Router
A router is a device that can interconnect two networks of the same
type using the same protocol.
It can find the optimal path for data packets to travel and reduce the
amount of traffic on a network.
Works similar to bridge but is more intelligent.
Router
7. Gateway
A gateway is a device that can interconnect two different networks
having different protocols.
It can translate one protocol to another protocol.
It is a network point that acts as an entrance to another network.
Gateway can understand the address structure used in different
networks and seamlessly translate the data packet
between these networks.
Data terminal equipments
A data terminal equipment (DTE) is a device that controls data flowing
to or from a computer. It is connected to the transmission medium at the
end of a telecommunication link.
1.Modem(Modulator Demodulator)
A modem is an electronic device used for communication between
computers through telephone lines.
It converts digital signals received from a computer to analog signals for
telephone lines and vice versa.
2.Multiplexer/Demultiplexer
Sending multiple signals through a physical medium simultaneously and
seperating them at th receiving end.
Multiplexing divides the medium into different channels.
Multiplexer combines the signals from different sources and sends them
through different channels.
Demultiplexer seperates the signals and sends them to desired destination.
Network Topologies
The way in which the nodes are physically interconnected to form a network
is called a Topology.
1.Bus topology : all the nodes are connected to a main cable called
bus.
Easy to install.
Requires less cable length and hence it is cost effective.
Failure of a node does not affect the network.
Failure of cable (bus) or terminator leads to a break down of the entire
network.
Fault diagnosis is difficult.
Only one node can transmit data at a time.
2 Star topology
•In star topology each node is directly connected to a hub/switch.
• More efficient compared to bus topology.
• Easy to install.
• Easy to diagnose faults.
• Easy to expand depending on the specifications of central hub/switch.
• Failure of hub/switch leads to failure of entire network.
• Requires more cable length compared to bus topology.
3.Ring topology
•All nodes are connected using a cable that loops in a ring or circle.
•Terminators are not necessary in a ring topology.
•Data travels only in one direction in a ring.
•No Signal amplification required as each node amplifies the signal.
•Requires less cable length and hence is cost effective.
•If one node fails, entire network will fail.
•Addition of nodes to the network is difficult.
4 Mesh topology
• Every node is connected to other nodes. There will be more than one
path between two nodes. If one path fails, the data will take another
path and reach the destination.
• Network will not fail even if one path between the nodes fails.
• Expensive because of the extra cables needed.
• Very complex and difficult to manage.
Types of networks
A computer network may span any amount of geographical area.
Based on area covered network types are divided into:
• PAN - Personal Area Network
• LAN - Local Area Network
• MAN - Metropolitan Area Network
• WAN -Wide Area Network
2 Client-Server
The client-server architecture consists of high-end
computer (server)serving lower configuration
machines called clients. A server provides clients
with specific services (responses) include sharing of
data, software and hardware resources.
Classifications for servers
a)File server - A computer that stores and manages files for
multiple users on a network.
IPv4 uses 32 bits and IPv6 uses 128 bits for an IP address.
Network protocols
A network protocol is the special set of rules in a network when devices in the network
exchange data with each other.
1. TCP/IP- Transmission Control Protocol/Internet Protocol :
When data is to be sent from one computer to another over Internet, it is first
broken into smaller packets by TCP and then sent. If errors are found, TCP submits
requests for retransmission; else packets are assembled into the original message
according to the rules specified in TCP protocol.
HTTP, FTP and DNS are three sub protocols of TCP/IP protocol suite.
HTTP
HTTP stands for Hypertext Transfer Protocol. The HTTP client (browser) sends a
HTTP request to the HTTP server (web server) and server responds with a HTTP
response. This pair of request and response is called an HTTP session
HTTP session
FTP
FTP stands for File Transfer Protocol. It uses TCP and IP to
perform uploading and downloading. FTP uses client-server architecture
in servers with security features, username and password protection for
file transfer. Eg :Filezilla, Cute FTP
DNS
DNS stands for Domain Name System. DNS returns the IP address of the
domain name, that we type in our web browser’s address bar.If one DNS
server does not know how to translate a particular domain name, it asks
another one, and so on, until the correct IP address is returned.
Uniform Resource Locator (URL)
URL stands for Uniform Resource Locator.
a. Protocol
The protocol enables the browser to know what protocol is used to
access the information specified in the domain.
b. Domain name
Domain name is the name assigned to a server through the Domain Name
System (DNS). Domain names are used in URLs to identify the particular
web server.