In this chapter
» Introduction to Computer Networks
» Types of Networks
» Network Devices
» Networking Topologies
» The Internet
» Applications of Internet
» Website
» Web Page
» Web Server
» Hosting of a website
» Browser
Introduction to Computer Networks
We are living in a connected world. Information is being produced,exchanged, and traced across the globe in real time. It's possible as almost everyone and everything in the digital world is interconnected through one way or the other. A group of two or more similar things or people interconnected with each other is called network (Figure 5.1). Some of the examples of network in our everyday life include:
- Social network
- Mobile network
- Network of computers
- Airlines, railway, banks, hospitals networks.
- A computer network is an interconnection among two or more computers or computing devices. A basic network may connect a few computers placed in a room. The network size may vary from small to large depending on the number of computers it connects.
- A computer network can include different types of hosts (also called nodes) like server, desktop, laptop, cellular phones. Apart from computers, networks include networking devices like switch, router, modem, etc.
- Networking devices are used to connect multiple computers in different settings. For communication, data in a network is divided into smaller chunks called packets. packets are then carried over a network.
- Devices in a network can be connected either through wired media like cables or wireless media like air. In a communication network, each device that is a part of a network and that can receive, create, store or send data to different network routes is called a node.
- In the context of data communication, a node can be a device such as a modem, hub, bridge, switch, router, digital telephone handset, a printer, a computer or a server.
Types of Networks
There are various types of computer networks ranging from network of handheld devices (like mobile phones or tablets) connected through Wi-Fi or Bluetooth within a single room to the millions of computers spread across the globe.
Some are connected wireless while others are connected through wires. Based on the geographical area covered and data transfer rate, computer networks are broadly categorised as:
- LAN (Local Area Network)
- MAN (Metropolitan Area Network)
- WAN (Wide Area Network)
LAN (Local Area Network)
It is a network that connects computers, mobile phones, tablet, mouse, printer, etc., placed at a limited distance. The geographical area covered by a LAN can range from a single room, a floor, an office having one or more buildings in the same premise, laboratory, a school, college, or university campus. The connectivity is done by means of wires, Ethernet cables, fibre optics, or Wi-Fi.
MAN
LANs provide the short range communication with the high speed data transfer rates. These types of networks can be extended up to 1 km. Data transfer in LAN is quite high, and usually varies from 10 Mbps (called Ethernet) to 1000 Mbps (called Gigabit Ethernet), where Mbps stands for Megabits per second. Ethernet is a set of rules that decides how computers and other devices connect with each other through cables in a local area network or LAN. This kind of network can be extended up to 30–40 km. Sometimes, many LANs are connected together to form MAN, as shown in Figure
Wide Area Network (WAN) Wide Area Network (WAN) connects computers and others LANs and MANs, which are spread across different geographical locations of a country or in different countries or continents. A WAN could be formed by connecting a LAN to other LANs via wired or wireless media. Large business, educational and government organisations connect their different branches in different locations across the world through WAN. The Internet is the largest WAN that connects billions of computers, smartphones and millions of LANs from different continents.
To communicate data through different transmission media and to configure networks with different functionality, we require different devices like Modem, Hub, Switch, Repeater, Router, Gateway, etc.
Modem stands for ‘MOdulator DEMolulator’. It refers to a device used for conversion between analog signals and digital bits. We know computers store and process data in terms of 0s and 1s. However, to transmit data from a sender to a receiver, or while browsing the internet, digital data are converted to an analog signal and the medium (be it free-space or a physical media) carries the signal to the receiver. There are modems connected to both the source and destination nodes. The modem at the sender’s end acts as a modulator that converts the digital data into analog signals. The modem at the receiver’s end acts as a demodulator that converts the analog signals into digital data for the destination node to understand.
Ethernet card, also known as Network Interface Card (NIC card in short) is a network adaptor used to set up a wired network. It acts as an interface between computer and the network. It is a circuit board mounted on the motherboard of a computer as shown in Figure. The Ethernet cable connects the computer to the network through NIC. Ethernet cards can support data transfer between 10 Mbps and 1 Gbps (1000 Mbps). Each NIC has a MAC address, which helps in uniquely identifying the computer on the network.
Repeater: Data are carried in the form of signals over the cable. These signals can travel a specified distance (usually about 100 m). Signals lose their strength beyond this limit and become weak. In such conditions, original signals need to be regenerated. A repeater is an analog device that works with signals on the cables to which it is connected. The weakened signal appearing on the cable is regenerated and put back on the cable by a repeater.
HUB: An Ethernet (Figure) is a network device used to connect different devices through wires. Data arriving on any of the lines are sent out on all the others. The limitation of hub is that if data from two devices come at the same time, they will collide.
Switch : A switch is a networking device (Figure) that plays a central role in a Local Area Network (LAN). Like a hub, a network switch is used to connect multiple computers or communicating devices. When data arrives, the switch extracts the destination address from the data packet and looks it up in a table to see where to send the packet. Thus it sends signals to only selected devices instead of sending to all. It can forward multiple packets at the same time. A switch does not forward the signals which are noisy or corrupted. It drops such signals and asks the sender to resend it. Ethernet switches are common in homes and offices to connect multiple devices, thus creating LANs or to access the Internet.
Gateway As the term “Gateway” suggests, it is a key access point that acts as a “gate” between an organisation's network and the outside world of the Internet (Figure ). Gateway serves as the entry and exit point of a network, as all data coming in or going out of a network must first pass through the gateway in order to use routing paths. Besides routing data packets, gateways also maintain information about the host network's internal connection paths and the identified paths of other remote networks. If a node from one network wants to communicate with a node of a foreign network, it will pass the data packet to the gateway, which then routes it to the destination using the best possible route. For simple Internet connectivity at homes, the gateway is usually the Internet Service Provider that provides access to the entire Internet. Generally, a router is configured to work as a gateway device in computer networks. A gateway can be implemented as software, hardware, or a combination of both. Network gateway is placed at the edge of a network and the firewall is usually integrated with it.
Networking Topologies: We have already discussed that a number of computing devices are connected together to form a Local Area Network (LAN), and interconnections among millions of LANs forms the Internet. The arrangement of computers and other peripherals in a network is called its topology. Common network topologies are mesh, ring, bus, star and tree.
Mesh Topology In this networking topology, each communicating device is connected with every other device in the network as shown in Figure 5.12. Such a network can handle large amounts of traffic since multiple nodes can transmit data simultaneously. Also, such networks are more reliable in the sense that even if a node gets down, it does not cause any break in the transmission of data between other nodes. This topology is also more secure as compared to other topologies because each cable between two nodes carries different data. However, wiring is complex and cabling cost is high in creating such networks, and there are many redundant or unutilised connections.
To build a fullyconnected mesh topology of n nodes, it requires n(n-1)/2 wires.
Ring Topology In ring topology, each node is connected to two other devices, one each on either side, as shown in . The nodes connected with each other thus form a ring. The link in a ring topology is unidirectional. Thus, data can be transmitted in one direction only (clockwise or counterclockwise).
Star Topology In star topology, each communicating device is connected to a central node, which is a networking device like a hub or a switch, as shown in Figure 5.15. Star topology is considered very effective, efficient and fast as each device is directly connected with the central device. Although disturbance in one device will not affect the rest of the network, any failure in the central networking device may lead to the failure of complete network. The central node can be either a broadcasting device means data will be transmitted to all the nodes in the network, or a unicast device means the node can identify the destination and forward data to that node only.
The Internet is the global network of computing devices including desktop, laptop, servers, tablets, mobile phones, other handheld devices as well as peripheral devices such as printers, scanners, etc. In addition, it also consists of networking devices such as routers, switches, gateways, etc. Today, smart electronic appliances like TV, AC, refrigerator, fan, light, etc., can also communicate through the Internet.
The list of such smart devices are always increasing e.g., drones, vehicles, door lock, security camera, etc. The Internet is evolving everyday. Computers are either connected to a modem through a cable or wirelessly (Wi-Fi).
A modem, be it wired or wireless, is connected to a local Internet Service Provider (ISP) who then connects to a national network. Many such ISPs connect together forming a regional network and regional networks connect together forming a national network, and such country-wise networks form the Internet backbone.
The Internet today is a widespread network, and its influence is no longer limited to the technical fields of computer communications. It is being used by everyone in the society as is evident from the increasing use of online tools for education, creativity, entertainment, socialisation and e-commerce.
Following are some of the broad areas or services provided through Internet:
- The World Wide Web (WWW)
- Electronic mail (Email)
- Chat
- Voice Over Internet Protocol (VoIP)
The World Wide Web (WWW) The World Wide Web (WWW) or web in short, is an ocean of information, stored in the form of trillions of interlinked web pages and web resources. The resources on the web can be shared or accessed through the Internet.
Earlier, to access files residing in different computers, one had to login individually to each computer through the Internet. Besides, files in different computers were sometimes in different formats, and it was difficult to understand each other’s files and documents. Sir Tim Berners-Lee — a British computer scientist invented the revolutionary World Wide Web in 1990 by defining three fundamental technologies that lead to creation of web:
HTML — HyperText Markup Language or HTML is a language which is used to design standardised Web Pages so that the Web contents can be read and understood from any computer across the globe. It uses tags to define the way page content should be displayed by the web browser. Basic structure of every webpage is designed using HTML.
URI — Uniform Resource Identifier or URI is a unique identifier to identify a resource located on the web. URI identifies a resource (hardware or software) either by its location or by its name or by both. URL is Uniform Resource Locator and provides the location and mechanism (protocol) to access the resource. Examples of URI identifying resources using location (i.e., URL) are:
- https://www.mhrd.gov. in,
- http://www.ncert.nic.in,
- http://www.airindia. in, etc.
URL(Uniform Resource Locator) is sometimes also called a web address. However, it is not only the domain name, but contains other information that completes a web address, as depicted below: http://www.ncert.nic.in/textbook/textbook.htm URL Domain Name In the above URL, http is the protocol name, it can be https, http, FTP, Telnet, etc. www is a subdomain. ncert.nic.in is the domain name. Note: These days it is not mandatory to mention protocol and subdomain while entering a URL. The browser automatically prefixes it. HTTP — The HyperText Transfer Protocol is a set of rules which is used to retrieve linked web pages across the web. It’s more secure and advanced version is HTTPS.
Many people confuse the web with the Internet. The Internet as we know is the huge global network of interconnected computers, which may or may not have any file or webpage to share with the world. The web on the other hand is the interlinking of a collection of WebPages on these computers which are accessible over the Internet. WWW today gives users access to a vast collection of information created and shared by people across the world. It is today the most popular information retrieval system.
Chat Chatting or Instant Messaging (IM) over the Internet means communicating to people at different geographic locations in real time through text message(s). It is a forum where multiple people connect to each other, to discuss their common interests. Two individuals can also send messages instantly. The sender types a message and sends it; the receiver immediately receives the message and can read and revert through text message. All this happens in real time, as if the sender and receiver were sitting in the same place.
VoIP Voice over Internet Protocol or VoIP, allows us to have voice call (telephone service) over the Internet, i.e., the voice transmission over a computer network rather than through the regular telephone network. It is also known as Internet Telephony or Broadband Telephony. But to avail the phone service over the Internet, we need to have an Internet connection with reasonably good speed. VoIP works on the simple principle of converting the analogue voice signals into digital and then transmitting them over the broadband line.
There are two major advantages of a VoIP—
- These services are either free or very economical, so people use them to save on cost. That is why these days even international calls are being made using VoIP.
- VoIP call(s) can be received and made using IP phones from any place having Internet access. Hence, VoIP has increased the portability and functionality of the voice calling system.
Incoming phone calls can be automatically routed to the VoIP phone as soon as it is connected to the Internet. The only disadvantage of VoIP is that its call quality is dependent on Internet connection speed. Slow Internet connection will lead to poor quality voice calls.
Website Each one of us might have visited one or the other website. A website in general contains information organised in multiple pages about an organisation. A website can also be created for a particular purpose, theme or to provide a service. A website (usually referred to as a site in short) is a collection of web pages related through hyperlinks, and saved on a web server. A visitor navigates from one page to another by clicking on hyperlinks. Also, all the pages of a website are integrated under one domain name and have a common theme and template. For example, the website of NCERT will have all the pages related to NCERT, viz., textbooks, syllabus, events, resource materials, etc., under one domain name and having a common design theme. To access a website, one has to type the address of the website (URL) in the address bar of a browser, and press enter. The home page of the website will be displayed.
Purpose of a Website We are living in an Internet era where the whole world is connected. A website’s purpose is to make the information available to people at large.
Web Page A web page (also referred to as a page) is a document on the WWW that is viewed in a web browser. Basic structure of a web page is created using HTML (HyperText Markup Language) and CSS (Cascaded Style Sheet). A web page is usually a part of a website and may contain information in different forms, such as:
- text in the form of paragraphs, lists, tables, etc.
- images
- audio
- video
- software application
- other interactive contents
A static web page remains the same for all users until someone changes its code manually. Static web pages are generally written in HTML, JavaScript and/or CSS and have the extension .htm or .html.
A dynamic web page is one in
which the content of the web page can be different for
different users. The difference in content may be because
of different choices made by the user. Dynamic web pages can be created using various
languages such as JavaScript, PHP, ASP.NET, Python,
Java, Ruby, etc
Web Server
A web server is used to store and deliver the contents of
a website to clients such as a browser that request it. A
web server can be software or hardware.
When talking about a web server as computer
hardware, it stores web server software and a website's
contents (HTML pages, images, CSS stylesheets, and
JavaScript files). The web browser from the client computer sends a
request (HTTP request) for a page containing the desired
data or service. The web server then accepts, interprets,
searches and responds (HTTP response) to the request
made by the web browser.
Web hosting is a service that allows us to put a website
or a web page onto the Internet, and make it a part of
the World Wide Web. Once a website is created using a
hardware server, we need to connect it to the Internet
so that users across the globe can access. On the other
hand, we can rent server resources (CPU, RAM, and
storage) from a cloud service provider and host our locally
created website there. This is done by uploading the
files constituting the website (HTML, CSS, JavaScript,
images, databases, etc.) from the local computer onto
the space allocated on the server.
How to host a website?
To host a website, follow the steps given below:
- Select the web hosting service provider that will provide the web server space as well as related technologies and services such as database, bandwidth, data backup, firewall support, email service, etc. This has to be done keeping in mind the features and services that we want to offer through our website.
- Identify a domain name, which best suits our requirement, and get it registered through domain name Registrar.
- Once we get web space, create logins with appropriate rights and note down IP address to manage web space.
- Upload the files in properly organised folders on the allocated space.
- Get domain name mapped to the IP address of the web server.
Find out some of the Web hosting service providers from both categories — free and paid.
Mosaic was the first web browser developed by the National Centre for Supercomputing Application (NCSA).
Browser
A browser is a software application that helps us to view
the web page(s). In other words, it helps us to view the
data or information that is retrieved from various web
servers on the Internet. Some of the commonly used web
browsers are Google Chrome, Internet Explorer, Mozilla
Firefox, Opera, etc
Add-Ons and Plug-ins
Add-ons and plug-ins are the tools that help to extend
and modify the functionality of the browser. Both the
tools boost the performance of the browser, but are
different from each other.
A plug-in is a complete program or may be a
third-party software. For example, Flash and Java are
plug-ins. A Flash player is required to play a video in
the browser. A plug-in is a software that is installed on
the host computer and can be used by the browser for
multiple functionalities and can even be used by other
applications as well.
0 Comments