Internet and Its Services
Internet and Its Services
np
www.anilpandit.com.np Page 1
Internet and its Services www.anilpandit.com.np
A computer network is a system that connects multiple computing devices, allowing them to
communicate and share resources. This interconnection is fundamental for modern computing,
enabling everything from simple file sharing to complex cloud computing and Internet services.
1. Nodes:
o Nodes are individual devices connected to a network. These can include
computers, servers, printers, routers, switches, and mobile devices. Each node can
communicate with other nodes over the network.
2. Communication Medium:
o This refers to the physical or wireless pathways that connect nodes. Common
types include:
▪ Wired: Ethernet cables, fiber optics.
▪ Wireless: Wi-Fi, Bluetooth, cellular networks.
3. Network Interface Card (NIC):
o A NIC is a hardware component that allows a device to connect to a network.
Each NIC has a unique MAC (Media Access Control) address that identifies the
device on the network.
4. Protocols:
o Protocols are standardized rules that determine how data is transmitted over a
network. Key protocols include:
▪ TCP/IP (Transmission Control Protocol/Internet Protocol): The
foundational protocol suite for the Internet.
▪ HTTP/HTTPS (HyperText Transfer Protocol/Secure): Used for
transferring web pages.
▪ FTP (File Transfer Protocol): Used for transferring files between
devices.
5. Routers and Switches:
o Router: A device that forwards data packets between networks. It connects
different networks and directs traffic to ensure data reaches its destination.
o Switch: A device that connects devices within the same network, using MAC
addresses to forward data only to the intended recipient.
6. Server:
o A server is a powerful computer that provides resources, data, services, or
programs to other computers, known as clients, over a network. Common types
include:
▪ File servers: Store and manage files.
▪ Web servers: Host websites and serve web pages to clients.
▪ Database servers: Provide database services to other applications.
www.anilpandit.com.np Page 2
Internet and its Services www.anilpandit.com.np
1. Resource Sharing:
o Networks allow users to share hardware (e.g., printers, scanners) and software
(e.g., applications) resources, reducing costs.
2. Data Sharing:
o Users can easily exchange files and data across the network, facilitating
collaboration.
3. Communication:
o Networks enable various forms of communication, including email, instant
messaging, and video conferencing, enhancing productivity.
4. Centralized Management:
o Administrators can manage resources, security, and data backup from a central
location, improving efficiency and control.
5. Remote Access:
o Users can access the network and its resources remotely, enabling work-from-
home capabilities and remote management.
6. Scalability:
o Networks can be easily expanded by adding new devices or upgrading existing
infrastructure to meet growing demands.
1. The Internet:
o The largest and most well-known network, connecting millions of smaller
networks worldwide. It facilitates global communication, information sharing,
and access to online services.
2. Intranet:
o A private network used within an organization, providing a secure environment
for sharing information and resources among employees.
3. Extranet:
o An extension of an intranet that allows controlled access to external users (e.g.,
partners, clients) for collaboration.
www.anilpandit.com.np Page 3
Internet and its Services www.anilpandit.com.np
1. Security:
o Protecting data and resources from unauthorized access, cyberattacks, and
malware is critical. Implementing firewalls, encryption, and access controls are
essential.
2. Network Congestion:
o High traffic can lead to slow performance or outages. Proper network
management and traffic shaping can mitigate these issues.
3. Compatibility:
o Ensuring that different devices and systems can communicate effectively requires
adherence to standards and protocols.
4. Maintenance:
o Regular updates, troubleshooting, and hardware maintenance are necessary to
keep the network running smoothly.
Conclusion
Communication media refers to the means by which data is transmitted from one device to
another in a network. These media can be broadly categorized into guided (wired) and
unguided (wireless) communication. Each type has its own advantages, disadvantages, and
applications.
Guided media involves physical connections between devices. Data is transmitted through a
medium such as cables or fibers that guide the signal along a specific path.
www.anilpandit.com.np Page 4
Internet and its Services www.anilpandit.com.np
2. Coaxial Cable:
o Description: Composed of a central conductor, an insulating layer, a metallic
shield, and an outer insulation layer. The shielding provides protection from
interference.
o Uses: Cable television, broadband internet connections, and some LANs.
o Types:
▪ Single-mode Fiber: Designed for long-distance communication, allowing
a single light mode to travel.
▪ Multimode Fiber: Used for shorter distances, allowing multiple light
modes to travel simultaneously.
o Uses: Internet backbones, high-speed data communication, and
telecommunications.
Unguided media refers to the transmission of data through the air or vacuum without any
physical medium. Signals are broadcast over electromagnetic waves.
1. Radio Waves:
o Description: Electromagnetic waves with wavelengths ranging from a few
millimeters to several kilometers. Used for broadcasting and wireless
communications.
o Uses: AM/FM radio, television broadcasts, and mobile communications (cellular
networks).
2. Microwaves:
o Description: Higher frequency radio waves used for point-to-point
communication. They require line-of-sight transmission between the sender and
receiver due to their high frequency.
o Uses: Satellite communications, wireless LANs, and cellular communications.
3. Infrared:
o Description: Electromagnetic radiation with wavelengths longer than visible light
but shorter than microwaves. Infrared communication typically requires line-of-
sight.
o Uses: Remote controls, short-range communication devices, and wireless personal
area networks (WPANs).
www.anilpandit.com.np Page 6
Internet and its Services www.anilpandit.com.np
4. Satellite Communication:
o Description: Uses satellites in orbit to transmit data over long distances. Signals
are sent from ground stations to satellites, which relay the signals to other ground
stations.
o Uses: Global positioning systems (GPS), weather monitoring, and international
telecommunications.
Conclusion
www.anilpandit.com.np Page 7
Internet and its Services www.anilpandit.com.np
A network topology refers to the physical or logical layout of nodes (devices) and connections
(cables or wireless) in a computer network. Each topology type has its strengths, weaknesses,
and applications depending on the network's size and purpose.
A LAN is a small network that typically covers a single building or a group of buildings, like in
an office or a school. It enables high-speed communication between devices in close proximity.
Common topologies in LANs include Star, Bus, and Ring.
Star Topology:
• Description: In a star topology, all devices (nodes) are connected to a central device such as a
hub or switch. Each device communicates via the central device, and the central hub manages
the flow of data.
• Advantages:
o Easy to install and manage.
o Failure of one device doesn't affect others.
o Easy to add new devices without disrupting the network.
• Disadvantages:
o If the central hub fails, the entire network goes down.
o More cabling is required compared to bus or ring topologies.
• Use Case in LAN: Star topology is commonly used in homes, small offices, and modern
enterprise LANs due to its simplicity and ease of management.
Bus Topology:
• Description: In a bus topology, all devices are connected to a single central cable (the bus) that
acts as the shared communication medium. Data sent by one device travels along the bus and is
received by all other devices.
www.anilpandit.com.np Page 8
Internet and its Services www.anilpandit.com.np
• Advantages:
o Easy to install and requires less cabling.
o Cost-effective for small networks.
• Disadvantages:
o Limited scalability.
o If the central bus cable fails, the entire network goes down.
o Data collisions can occur if two devices send data simultaneously.
• Use Case in LAN: Historically used in small office or home networks but is less common today
due to scalability and performance limitations.
Ring Topology:
• Description: In a ring topology, each device is connected to two other devices, forming a circular
pathway for data. Data travels in one or both directions around the ring.
• Advantages:
o Predictable data transmission, reducing collisions.
o Simple to install for small networks.
• Disadvantages:
o If one device or connection fails, the entire network can be disrupted unless redundancy
is built in.
o Difficult to troubleshoot failures.
• Use Case in LAN: Mainly used in token ring networks (e.g., IBM Token Ring), but has largely
fallen out of favor due to better alternatives like star topology.
www.anilpandit.com.np Page 9
Internet and its Services www.anilpandit.com.np
A MAN spans a city or metropolitan area, connecting multiple LANs across different locations
such as university campuses, government buildings, or branches of a corporation.
Ring Topology:
• Description: Similar to its use in LANs, in a MAN, the ring topology connects multiple LANs in a
circular configuration. The data travels around the ring between LANs.
• Advantages:
o Efficient for connecting geographically distributed LANs in a circular layout.
o More cost-effective than a full mesh.
• Disadvantages:
o Vulnerable to failure at any single point on the ring, though this can be mitigated by
adding redundancy.
• Use Case in MAN: Commonly used for interconnecting LANs across campuses or municipal
facilities.
Bus Topology:
• Description: In a MAN, the bus topology can connect several LANs across the city using a central
backbone cable, usually made of high-speed fiber optic cables.
• Advantages:
o Simple and cost-effective for connecting multiple networks over a large area.
o Easier to install compared to mesh topology.
• Disadvantages:
o Vulnerable to single point of failure (if the backbone cable is damaged, the entire
network is affected).
o Can suffer from network congestion if the backbone becomes overloaded.
• Use Case in MAN: Used in older MAN infrastructures for interconnecting different LANs over a
large area, though it is becoming less common with newer technologies like optical networks.
• Description: In a partial mesh topology, only some nodes are interconnected, while others
connect to only a few nodes. It offers redundancy while limiting costs compared to a full mesh.
• Advantages:
o Provides good redundancy; even if one connection fails, data can be rerouted through
other nodes.
o Scalable to accommodate additional nodes.
• Disadvantages:
o Higher installation costs due to the need for multiple connections between nodes.
o Complex to configure and manage.
• Use Case in MAN: Commonly used in modern MANs for its reliability and scalability in handling
large amounts of data traffic across a city.
www.anilpandit.com.np Page 10
Internet and its Services www.anilpandit.com.np
A WAN connects multiple LANs or MANs across vast geographical distances, often spanning
countries or continents. WANs use public networks (like the internet) or private leased lines for
long-distance communication. The topologies used in WANs include Mesh, Hybrid, and Tree.
Mesh Topology:
• Description: In a full mesh topology, every node is connected to every other node. This ensures
that there are multiple pathways for data to travel, providing maximum redundancy.
• Advantages:
o Highly reliable and fault-tolerant since data can always find an alternative path if one
connection fails.
o Efficient data transfer due to multiple available routes.
• Disadvantages:
o Very expensive due to the large number of connections required.
o Complex to manage and maintain.
• Use Case in WAN: Used by large organizations, governments, or telecom companies to ensure
high availability and redundancy over large geographical areas.
Hybrid Topology:
• Description: Hybrid topology is a combination of different topologies, such as star, ring, and
mesh, to suit the needs of a complex WAN.
• Advantages:
o Highly flexible and scalable, allowing for a mix of topologies based on the specific needs
of each segment.
o Can combine the reliability of a mesh with the simplicity of a star.
• Disadvantages:
o Complex to design and implement.
o Expensive to deploy and maintain.
• Use Case in WAN: Ideal for large WANs connecting diverse network infrastructures such as
branch offices, data centers, and cloud services across different regions.
Tree Topology:
• Disadvantages:
www.anilpandit.com.np Page 11
Internet and its Services www.anilpandit.com.np
o Vulnerable to failures at higher levels in the hierarchy, which can affect multiple
branches.
o Requires extensive cabling and configuration.
• Use Case in WAN: Used in large WANs where branch offices or multiple networks are connected
in a hierarchical fashion.
A PAN connects devices within a small personal space, such as around a desk or within a few
meters of a person (e.g., Bluetooth connections). PANs are typically used for short-range
wireless communication between personal devices.
Star Topology:
• Description: In a PAN, star topology is commonly used, where a central device (e.g., a
smartphone or computer) connects to several peripheral devices (e.g., Bluetooth headphones,
smartwatch).
• Advantages:
o Simple to set up and manage.
o Low cost and minimal wiring required (often wireless).
• Disadvantages:
o The central device is a point of failure. If it fails, none of the connected devices can
communicate.
• Use Case in PAN: Bluetooth-based networks between a phone and accessories (headphones,
fitness trackers) are typically arranged in a star topology.
• Description: In a P2P topology, devices connect directly to each other without a central device,
as is common in Bluetooth and Wi-Fi Direct connections.
• Advantages:
o No need for a central device, making the network easy to establish and flexible.
o Suitable for quick, short-range communication.
• Disadvantages:
o Limited scalability; only suitable for a few devices at close range.
• Use Case in PAN: Direct file sharing between two devices, such as transferring data between a
phone and a laptop via Bluetooth.
www.anilpandit.com.np Page 12
Internet and its Services www.anilpandit.com.np
conclusion,
network topologies play a crucial role in determining the efficiency, cost, and reliability of
networks across different scales. Each network type (LAN, MAN, WAN, PAN) utilizes specific
topologies based on its geographic scope, performance requirements, and cost constraints.
The World Wide Web (WWW) is a vast information space that allows users to access and share
documents and resources over the internet. It operates on the principles of hypertext and
hypermedia, enabling users to navigate between different pages through hyperlinks. The WWW
is a critical component of the internet, providing a wide range of services and applications that
enhance communication, information sharing, and entertainment.
The WWW offers a multitude of services that cater to various needs of users, businesses, and
organizations.
www.anilpandit.com.np Page 13
Internet and its Services www.anilpandit.com.np
• Description: The most basic function of the WWW, allowing users to access and retrieve
information on a wide array of topics.
• Examples:
o Search Engines: Services like Google, Bing, and Yahoo that index web content and allow
users to search for information using keywords.
o Online Encyclopedias: Websites like Wikipedia provide comprehensive information on a
wide range of subjects.
2.2. Communication
• Description: The WWW facilitates communication through various platforms and tools.
• Examples:
o Email: Web-based email services like Gmail and Outlook allow users to send and receive
messages online.
o Instant Messaging and Chat: Platforms like Slack, WhatsApp, and Facebook Messenger
enable real-time communication.
o Forums and Discussion Boards: Websites like Reddit and Quora allow users to engage in
discussions and ask questions.
2.3. E-commerce
• Description: The WWW has revolutionized the way businesses conduct transactions by allowing
for online shopping and sales.
• Examples:
o Online Retailers: Websites like Amazon, eBay, and Alibaba enable users to purchase
products online.
o Payment Gateways: Services like PayPal and Stripe facilitate secure online payments.
• Description: The WWW provides platforms for users to connect, share, and communicate with
others.
• Examples:
o Social Media: Websites like Facebook, Twitter, Instagram, and LinkedIn allow users to
create profiles, share content, and connect with others.
o Blogs and Vlogs: Platforms like WordPress and YouTube enable users to publish
personal content and share it with a global audience.
• Description: The WWW supports the delivery of multimedia content, including images, audio,
and video.
• Examples:
o Streaming Services: Platforms like Netflix, Spotify, and YouTube allow users to stream
movies, music, and videos on demand.
o Image and Photo Sharing: Websites like Flickr and Instagram enable users to share and
explore images.
www.anilpandit.com.np Page 14
Internet and its Services www.anilpandit.com.np
• Description: The WWW provides access to cloud-based services that allow users to store,
manage, and process data over the internet.
• Examples:
o Cloud Storage: Services like Google Drive, Dropbox, and OneDrive allow users to store
files online and access them from any device.
o Software as a Service (SaaS): Applications like Google Workspace and Microsoft 365
provide online tools for productivity and collaboration.
• Description: The WWW has transformed education by providing access to online courses,
resources, and learning platforms.
• Examples:
o Online Learning Platforms: Websites like Coursera, Udemy, and Khan Academy offer a
wide range of courses across various subjects.
o Educational Resources: Websites like edX and Moodle provide tools for educators and
students to facilitate learning.
Conclusion
The World Wide Web is an integral part of modern life, offering a diverse array of services that
enhance communication, information sharing, commerce, and education. Its impact on society,
business, and culture is profound, making it an essential tool for users around the globe. As
technology continues to evolve, the WWW will likely expand further, introducing new services
and capabilities that will shape how we connect and interact with the world.
www.anilpandit.com.np Page 15
Internet and its Services www.anilpandit.com.np
2 Structure of Email:
The email header contains essential information about the email, including:
• Content: The main message of the email, which can include text, images, and multimedia
attachments.
• Formatting: The body can be formatted using various text styles (bold, italic), bullet points, and
links.
2.4. Attachments
• Files: Users can attach files (e.g., documents, images, videos) to the email, allowing for sharing
of information beyond the text.
• File Size: Most email services have limits on the size of attachments (commonly between 10 MB
to 25 MB).
3. Email Protocols
Email communication relies on various protocols to send, receive, and store messages. The most
common protocols include:
• Function: Used for sending emails from a client to a server or between servers.
www.anilpandit.com.np Page 16
Internet and its Services www.anilpandit.com.np
• Operation: SMTP operates on a push model, meaning it sends messages to the next server in
the path until it reaches the recipient's mail server.
• Function: Also used for retrieving emails, but allows for more flexibility than POP3.
• Operation: IMAP synchronizes emails between the server and the client, allowing users to
access and manage their emails from multiple devices while keeping messages stored on the
server.
• Description: Accessible through a web browser, web-based email services allow users to send
and receive emails without needing an email client.
• Examples: Gmail, Yahoo Mail, Outlook.com.
• Description: Software applications installed on a user's device for managing emails. They can
work with various protocols (SMTP, POP3, IMAP).
• Examples: Microsoft Outlook, Mozilla Thunderbird, Apple Mail.
• Description: Email services specifically designed for businesses, often providing additional
features like enhanced security, collaboration tools, and custom domains.
• Examples: Microsoft Exchange, Google Workspace.
www.anilpandit.com.np Page 17
Internet and its Services www.anilpandit.com.np
5. Features of Email
• Folders/Labels: Users can organize emails into folders or apply labels to categorize messages.
• Spam Filtering: Automatic detection and filtering of unwanted or suspicious emails.
• Users can search for specific emails using keywords, sender names, or date ranges.
5.3. Signature
• A personalized sign-off that automatically appears at the end of each email, often including the
sender’s name, title, and contact information.
• Some email services allow users to schedule emails to be sent at a later time and set reminders
for follow-ups.
6. Security Considerations
• Encryption: Using protocols like TLS (Transport Layer Security) to secure email content during
transmission.
• Authentication: Implementing two-factor authentication (2FA) to enhance account security.
• Phishing Awareness: Educating users about recognizing and avoiding phishing attempts to
protect personal information.
Conclusion
Email is a fundamental communication tool that has transformed the way we interact in personal
and professional contexts. Understanding its structure, protocols, services, and features is
essential for effectively utilizing email in today's digital landscape. With ongoing advancements
in technology, email continues to evolve, incorporating new features and security measures to
meet the needs of users worldwide.
www.anilpandit.com.np Page 18
Internet and its Services www.anilpandit.com.np
1. Hub
• Definition: A hub is a basic networking device that connects multiple Ethernet devices, making
them act as a single network segment.
• Functionality: It operates at the physical layer (Layer 1) of the OSI model, broadcasting data
packets to all connected devices regardless of the intended recipient. This can lead to network
collisions.
• Use Case: Hubs are mostly obsolete today but were once used in small networks for simple
connectivity.
2. Switch
• Definition: A switch is a more intelligent networking device that connects devices on a local area
network (LAN).
• Functionality: Operating at the data link layer (Layer 2) of the OSI model, switches forward data
only to the specific device (MAC address) that needs it, reducing collisions and improving
network efficiency.
• Use Case: Commonly used in LANs to connect computers, printers, and servers.
www.anilpandit.com.np Page 19
Internet and its Services www.anilpandit.com.np
3. Router
• Definition: A router is a device that connects different networks and directs data packets
between them.
• Functionality: Operating at the network layer (Layer 3) of the OSI model, routers use IP
addresses to determine the best path for data transmission and can perform network address
translation (NAT).
• Use Case: Used in homes and businesses to connect to the internet and manage traffic between
devices and networks.
4. Gateway
• Definition: A gateway is a network node that acts as a "gate" between two networks, often with
different protocols.
• Functionality: It operates at various layers of the OSI model and performs protocol conversions,
data translation, and routing. It can also provide security features.
• Use Case: Commonly used to connect an organization’s internal network to the internet or to
connect different types of networks (e.g., a LAN to a WAN).
www.anilpandit.com.np Page 20
Internet and its Services www.anilpandit.com.np
5. Bridge
• Definition: A bridge is a device that connects two or more network segments, making them
function as a single network.
• Functionality: Operating at the data link layer (Layer 2), it filters traffic by examining MAC
addresses and can reduce collisions by separating collision domains.
• Use Case: Used to extend networks and improve performance by reducing traffic on a single
network segment.
• Definition: An access point is a device that allows wireless devices to connect to a wired
network using Wi-Fi.
• Functionality: It acts as a bridge between the wired network and wireless devices, facilitating
communication and data transfer.
• Use Case: Commonly used in homes and businesses to provide Wi-Fi connectivity to laptops,
smartphones, and tablets.
www.anilpandit.com.np Page 21