Computer Networks Notes 2
Computer Networks Notes 2
Evolution of Networking
1. ARPANET (1969)
o The first network, created by the U.S. Department of Defense.
o Connected universities for research.
o First message sent between UCLA and Stanford University.
2. NSFNET (1986)
o Developed for research and education.
o Faster than ARPANET and connected more institutions.
o Helped expand the internet.
3. Internet (1990s – Present)
o WWW (World Wide Web) was introduced in 1991 by Tim Berners-Lee.
o Made the internet popular for everyone.
o Used for emails, social media, online shopping, and more.
Network Devices
Network devices help in communication between computers and other devices in a network.
Some important network devices are:
Computer networks are classified based on their size and geographical coverage.
Network Topology
network topology refers to the arrangement of various elements (links, nodes, etc.) in a
computer network.
1. Bus Topology
In a bus topology, all devices are connected to a single central cable, known as the bus.
Advantages:
Disadvantages:
• Single Point of Failure: If the main cable fails, the entire network goes down.
• Difficult Troubleshooting: Identifying the exact location of a problem can be
challenging.
2. Star Topology
Advantages:
Disadvantages:
• High Cabling Cost: Requires more cables, increasing the overall cost.
• Central Point of Failure: If the central hub fails, the entire network is affected.
3. Tree Topology
A tree topology combines characteristics of star and bus topologies, with groups of star-
Advantages:
Disadvantages:
Concept of Communication
Communication in data networks refers to the exchange of data between two or more devices.
This process ensures that information is accurately transmitted from a source to a destination.
1. Bandwidth: The maximum rate at which data can be transferred over a communication
channel, typically measured in bits per second (bps).
o Example: A fiber optic cable with a bandwidth of 1 Gbps.
2. Data Transfer Rate: The actual speed at which data is transmitted between devices,
which may be less than the maximum bandwidth due to various factors like network
congestion.
o Example: Downloading a file at 500 Mbps on a 1 Gbps connection.
Switching Techniques
Transmission media
Transmission media are the physical pathways that connect devices and facilitate data
transfer. They are broadly categorized into wired (guided) and wireless (unguided) media.
1. Radio Waves
o Description: Electromagnetic waves with frequencies ranging from 3 kHz to
300 GHz.
o Applications: Used in broadcasting (radio and television), Wi-Fi networks,
and mobile communications.
o Advantages:
▪ Capable of covering large areas.
▪ Supports mobility and wireless communication.
o Disadvantages:
▪ Susceptible to interference from other electronic devices.
▪ Potential security vulnerabilities due to signal interception.
2. Microwaves
o Description: Electromagnetic waves with frequencies between 1 GHz and 300
GHz.
o Applications: Employed in point-to-point communication links, satellite
communications, and radar systems.
o Advantages:
▪ Supports high data rates and bandwidth.
▪ Effective for long-distance communication when using satellites.
o Disadvantages:
▪ Requires line-of-sight between transmitting and receiving antennas.
▪ Weather conditions can affect signal quality.
3. Infrared Waves
o Description: Electromagnetic waves with frequencies between 300 GHz and
400 THz.
o Applications: Commonly used in remote controls, short-range communication
between devices, and certain wireless peripherals.
o Advantages:
▪ Simple and inexpensive technology.
▪ Immune to radio frequency interference.
o Disadvantages:
▪ Limited to line-of-sight communication.
▪ Short-range and cannot penetrate walls or obstacles.
Network Protocols
Protocols are a set of rules that govern data communication. They define how data is
transmitted, received, and interpreted between devices in a network.
• Standard network protocol used to transfer files between a client and server.
• Operates over TCP and uses ports 20 and 21.
• Protocol used by local email clients to retrieve emails from a remote server.
• Operates over TCP and uses port 110.
HTML: HTML is the standard markup language for creating Web pages.
• HTML describes the structure and design of Web pages using markup
• Browsers do not display the HTML tags, but use them to render the content of
<html>
<head>
<title>My first web page</title>
</head>
<body>
<h1> My First Heading </h1>
<p> My first paragraph </p>
</body>
</html>
XML :
S.
HTML XML
No.
1 HyperText Markup Language. eXtensible Markup Language.
HTML is not strict if the user does not use the XML makes it mandatory for the user the close
6
closing tags. each tag that has been used.
7 HTML does not preserve white space. XML preserves white space.
XML is about carrying information hence
8 HTML is about displaying data, hence static.
dynamic.
8.10.4 Domain Name:
Domain names are used to identify one or more IP addresses. Domain names are
used in URLs to identify particular web page.
For example, http://www.kvongcbrd.com/english-results.htm
URL http://www.kvongcbrd.com/english -results.htm
Domain Name kvongcbrd.com
Web Page english-results.htm
Protocol http
Every domain name has a suffix that indicates which top level domain (TLD) it
belongs to. There are only a limited number of such domains. For example:
▪ gov - Government agencies
▪ edu - Educational institutions
▪ org - Organizations (nonprofit)
▪ mil - Military
▪ com - commercial business
▪ net - Network organizations
▪ in - India
▪ th – Thailand
Because the Internet is based on IP addresses, not domain names, every Web
server require a Domain Name System (DNS) server to translate domain names
into IP addresses.
Website: Collection of web pages which are interlinked to one another. These
pages are hypertext pages and link between pages is known as hyperlink.
Web browser: It is application software though which user can access internet.
Example: internet explorer, Google chrome, Mozilla Firefox, opera, UC browser
Webpage: A web page is a document on the World Wide Web that contains
hypertext links. When a person searches for any information, the server sends
the web page to the user. Every Web page is given a unique Uniform Resource
Locator (URL). When a user enters the URL, the web browser downloads the
file of that page and displays it to the user.
Web Server: A web server is a system that uses HTTP to accept request and
serve the web pages as response to users. Every web server has IP address.
Web Hosting:
o Web hosting is a service that allows organizations and individuals to post
a website on to the Internet.
o A web host, or web hosting service provider, is a business that provides
the technologies and services needed for the website or webpage to be
viewed in the Internet.
Websites are hosted, or stored, on special computers called s