Computer Networks IP & CS
Computer Networks IP & CS
Computer Networks IP & CS
(UNIT 3)
Network:
A computer network is a collection of two or more computers linked together for the purpose of sharing
information and resources.
Requirements of a Network:
Every network includes:
Internet: The Internet (or internet) is the global system of interconnected computer networks that uses
the Internet protocol suite (TCP/IP) to communicate between networks and devices.
Interspace: It 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. It provides the most advanced form of
communication technology available today. It is a vision of what internet will become tomorrow.
Network Topologies:
Network topology is the arrangement of the elements of a communication network. Network topology can be used
to define or describe the arrangement of various types of telecommunication networks.
• Ring Topology:
A ring topology is a network configuration where device
connections create a circular data path. Each networked device
is connected to two others, like points on a circle. Together,
devices in a ring topology are referred to as a ring network.
• Star Topology: -
A star network features a central connection point called a "hub
node" to which all other nodes are connected by a single path. Each
node has a dedicated set of wires connecting it to a central network
hub. Since all traffic passes through the hub, the hub becomes a
central point for isolating network problems and gathering network
statistics.
Advantages of Star Topology: -
i) Failure of a single connection does not affect the entire network. It just involves
disconnecting one node from an otherwise fully functional network. This also helps
in easy reconfiguration of the network.
ii) Fault detection is easier.
iii) Access protocols being used in a Star network are very simple since the central
node has the control of the transmission medium for data transmission.
• Tree Topology: -
A tree network, or star-bus network, is a hybrid
network topology in which star networks are
interconnected via bus networks. Tree networks
are hierarchical, and each node can have an
arbitrary number of child nodes.
Advantages: -
Disadvantages: -
Advantages:
• The network can be expanded without disrupting current
users.
• No traffic problem as nodes has dedicated links.
• It has multiple links, so if any single route is blocked, then
other routes should be used for data communication.
• P2P links make the fault identification isolation process easy.
• It helps you to avoid the chances of network failure by connecting all the systems to a
central node.
Disadvantages:
• Installation is complex because every node is connected to every node.
• It is expensive due to the use of more cables. No proper utilization of systems.
• It requires more space for dedicated links.
• Because of the amount of cabling and the number of input-outputs, it is expensive to
implement.
• It requires a large space to run the cables.
Network Devices:
• Modem:
Modem is short for "Modulator-Demodulator." It is a hardware component that allows
a computer or another device, such as a router or switch, to connect to the Internet. It
converts or "modulates" an analog signal from a telephone or cable wire to digital data (1s
and 0s) that a computer can recognize. Similarly, it converts digital data from a computer or
other device into an analog signal that can be sent over standard telephone lines.
• RJ-45:
RJ-45, short form of Registered Jack - 45, is an eight wired
connector that is used to connect computers on a local area
network (LAN), especially Ethernet. RJ-45 connectors look similar
to the RJ-11 connector used for connecting telephone equipment,
but they are somewhat wider.
• Ethernet Card:
An Ethernet card is a kind of network adapter and is also known as Network
Interface Card (NIC). These adapters support the Ethernet standard for high-speed
network connections via cables. An Ethernet Card contains connections for either
coaxial or twisted pair cables or even for fibre optic cable.
• Switch:
A switch is a device that is used to break a network into different
sub-networks called subnet or LAN segments. This prevents traffic
overloading on the network. Switches are another fundamental part
of many networks because they speed things up. They allow
different nodes of a network to communicate directly with one
another in a smooth and efficient manner.
• HUB:
An internet hub, also referred to as a network hub, is a
network connection point for devices. An internet hub is a
device used for connecting parts of a Local Area Network
(LAN). The hub contains several ports, and when a packet
reaches one port, it is copied to the rest of the ports so that
all parts of the LAN can view all the packets.
Repeater:
• A repeater is an electronic device that receives a signal,
amplifies it and then retransmits it on the network so that the
signal can cover longer distances. Network repeaters
regenerate incoming electrical, wireless or optical signals.
An electrical signal in a cable gets weaker with the distance
it travels, due to energy dissipated in conductor resistance
and dielectric losses.
• Routers:
A Router is a network device that works like a bridge to establish
connection between two networks but it can handle networks with
different protocols. If the destination is unknown to the router, it
sends the traffic to another router which knows the destination. The
data is sent to the router which determines the destination address
(using logical address) and then transmits the data accordingly. Hence
routers are smarter than hubs and switches.
• Gateway:
A gateway is a network device that establishes an intelligent
connection between a local network and external networks with
completely different structures i.e. it connects two dissimilar
networks. In simple terms, it is a node on a network that serves
as an entrance to another network.
• Wi-Fi Card:
Wi-Fi cards are small and portable cards that allow your desktop or
laptop computer to connect to the internet through a wireless
network. Wi-Fi transmission is through the use of radio waves. The
antenna transmits the radio signals and these signals are picked up
by Wi-Fi receivers such as computers and cell phones equipped
with Wi-Fi cards. These devices have to be within the range of a Wi-
Fi network to receive the signals. The Wi-Fi card then reads the
signals and produces a wireless internet connection.
• Bridges:
Bridges connects two or more different LANs that
has a similar protocol and provides communication
between the devices (nodes) in them. By joining
multiple LANs, bridges help in multiplying
the network capacity of a single LAN.
Types of Networks: -
• LAN (Local Area Network):
In a LAN, network devices are connected over a relatively short distance. They are generally
privately owned networks within a single building or campus, of up to a few kilometres in size.
LANs can be small, linking as few as three computers, but often link hundreds of computers
used by thousands of people. This means that many users can share expensive devices,
such as laser printers, as well as data on the LAN.
• MAN (Metropolitan Area Network):
This is basically a bigger version of LAN and normally uses similar technology. It might cover
few buildings in a city and might either be private or public. This is a network which spans a
physical area (in the range of 5 and 50 km diameter) that is larger than a LAN but smaller
than a WAN. MANs are usually characterized by very high-speed connections using optical
fibres or other digital media and provides uplink services to wide area networks (WANs) and
the Internet.
Client-Side Scripting:
On some web pages the contents change in response to an action done by the user, for
example a click from the mouse or a key press from a keyboard action. Such pages use
client-side scripting. In this technology, the content is generated on the user's local
computer. VB Script and Java Script are examples of client-side scripting languages.
Server -Side Scripting:
Some web pages use applications running on the server to generate the web content.
Such pages use server-side scripting language. Web page display the current time and
date, forums, submission forms, shopping carts etc., use server-side scripting. ASP, JSP,
PHP are examples of server-side scripting languages.
o Website:
Related webpages from a single web domain is termed as a website. A website has
multiple webpages providing information about a particular entity.
o Web browser:
Web browser is software program to navigate the web pages on the internet. A bowser
interprets the coding language of the web page and displays it in graphic form. A web
browser allows anyone to access the web without even knowing commands used in
software languages to design a web page.
o Cookies:
This small text file is a cookie. Generally, a cookie contains the name of the website that
it has come from and a unique ID tag. They are usually used to track the pages that you
visit so that information can be customised for you for that visit. On the other hand, some
cookies are stored on your hard drive until you delete them or they reach their expiry date.
o Web Server:
A web server is server software, or hardware dedicated to running this software, that can
satisfy client requests on the World Wide Web. A web server can, in general, contain one
or more websites. A web server processes incoming network requests over HTTP and
several other related protocols.
o Web Hosting:
A web hosting service is a type of Internet hosting service that allows individuals and
organizations to make their website accessible via the World Wide Web. Web hosts are
companies that provide space on a server owned or leased for use by clients, as well as
providing Internet connectivity, typically in a data center. Web hosts can also provide data
center space and connectivity to the Internet for other servers located in their data center,
called colocation.
Chat Protocol and VOIP:
o Chatting:
A real time informal communication over the Internet is chatting. A chat program
is software which is required for chatting over the internet.
o Internet Relay Chat (IRC):
IRC protocol is used for chatting. It provides chatting between a group or
between two individuals. It is based on client/server model. The IRC client
sends and receives messages to and from an IRC server. The IRC server
transports the message from one client to another. The IRC server is linked to
many other servers to form an IRC network. IRC server identifies every user
through a unique nickname.
o VOIP:
VOIP stands for voice over internet protocol. It enables the transfer of voice
using packet switched network rather than using public switched telephone
network. By using VOIP software, phone calls can be done using standard
internet connection. This method of making phone calls is much cheaper than
convectional way because the service of Telecommunication Company is not
used. There are three different methods of VoIP service in common use today
▪ ATA - ATA stands for analog-to-digital converted. It is used to connect the
telephone device to the computer. It takes the analog signals from the phone
and converts them to digital signals. These digital signals can know be
transmitted over the internet. Some providers also are bundling ATAs free with
their service.
▪ IP phones - IP phones appear much like an ordinary telephone or cordless
phone. They are directly connected to the router or the LAN. They have all the
hardware and software necessary right onboard to handle the IP call. IP Phones
are sometimes called VoIP telephones, SIP phones or Soft phones.
▪ Computer-to-computer - It is the most easy and simplest way to use VoIP. The
basic hardware requirements are as follows:
Computer
Internet
Speakers
Microphone
The only cost involved with computer - to- computer VoIP is the monthly
ISP fee
o E-Mail Protocols:
▪ Simple Mail transfer protocol (SMTP):
SMTP stands for Simple Mail Transfer Protocol that allows transmission of
email over the Internet. Most email software is designed to use SMTP for
communication purposes when sending email. It only works for outgoing
messages. So, when an email has to be sent, the address of their Internet
Service Provider's SMTP server has to be given. SMTP is a reliable and easy
to set up protocol. Messages either get to a recipient, or there is an error
message that explains why that wasn't possible. One of the purposes of an
SMTP is that it simplifies the communication of email messages between
servers.
▪ Post Office Protocol Version 3 (POP3):
Post Office Protocol 3 or POP3 is the third version of a widespread method of receiving
email which receives and holds email for an individual until they pick it up. SMTP has
a disadvantage that if the destination computer is not online, mails cannot be received.
So, the SMTP server receives the mail on behalf of every host and the respective host
then interacts with the SMTP server to retrieve messages by using a client server
protocol called POP3.