1. Home
  2. Explore
  3. Computer Science
  4. Internet Fundamentals

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Internet Fundamentals

How the Internet Works: Study Notes

1. The Internet as a Network of Connected Devices

The internet is a worldwide communication system that allows electronic devices to exchange data. It is not a single machine or one central structure. Instead, it is made from millions of smaller networks connected through cables, routers, switches, servers, and other networking devices.

A useful way to understand the internet is through abstraction. Rather than studying every technical detail immediately, the main components and their relationships can be understood visually and conceptually:

  • Computers and other devices generate and receive data.

  • Switches connect devices within a local network.

  • Routers connect separate networks.

  • Internet service providers connect users and organizations to larger networks.

  • Servers provide websites, videos, files, and other online services.

  • Cables—especially fiber-optic cables—carry data over long distances.

The internet is the network of networks: a massive system formed by connecting millions of local and larger networks around the world.

Data is transmitted between devices in small units. These units are commonly called packets. Some networking contexts also use the term frame, but packet is used here as the general term.


2. Switches and Communication Within a Local Network

What a Switch Does

A switch is a networking device used to connect computers and other devices in the same local environment. Typical environments include:

  • A home

  • An office

  • A school

  • A laboratory

  • A building

  • A small campus

For example, if an office contains seven computers and every computer needs to communicate with the others, a switch can connect all seven computers into one network.

A switch does not, by itself, provide access to the internet. Its main responsibility is to allow devices within the same local network to communicate.

Connecting Devices to a Switch

Devices connect to a switch through physical network cables. The most common cable types in homes and offices are copper Ethernet cables, such as:

  • Category 5, or Cat 5

  • Category 6, or Cat 6

The word Cat means category.

  • Cat 6 cables generally support faster data transmission than Cat 5 cables.

  • Some switches also support fiber-optic cables.

  • Fiber-optic cables generally transmit data faster and over longer distances than copper cables.

A switch requires a physical cable connection between the device and the switch. Wireless devices cannot connect directly to a traditional switch using wireless communication.

Switch Ports

A physical switch contains multiple connection points called LAN ports. The number of ports differs between switch models:

  • Some switches have approximately ten ports.

  • Other switches have many more.

  • A greater number of ports often increases the cost of the switch.

Computers and laptops also have LAN ports. A network connection is created by connecting:

  1. A LAN port on the computer

  2. A LAN port on the switch

  3. A suitable copper or fiber-optic cable between them

How a Switch Forwards a Packet

Suppose PC 1 wants to send a packet to PC 6:

  1. PC 1 creates the packet and sends it through its network cable.

  2. The packet arrives at a port on the switch.

  3. The switch examines information inside the packet to determine its destination.

  4. The switch sends the packet through the port connected to PC 6.

  5. PC 6 receives the packet.

The switch therefore acts as an intermediary between devices. It receives packets, determines where they need to go, and forwards them to the correct connected device.

If one computer can send packets to another computer through the same local network, the two computers can communicate with each other.


3. Local Area Networks (LANs)

A local area network, abbreviated LAN, is a group of devices connected within a restricted physical area.

Common LAN locations include:

  • A home

  • An office

  • A school building

  • A university department

  • A small business

  • A laboratory

A LAN is limited geographically. Computers located in the same office can normally form a LAN, whereas computers located in distant countries would not normally be considered part of the same LAN.

Millions of LANs exist throughout the world:

  • A person’s home may contain a LAN.

  • A neighboring home may contain a separate LAN.

  • An office may contain one or several LANs.

  • A school or organization may contain many LANs.

A switch is commonly used to create a LAN because it connects devices within the same local environment.

Example of LAN Communication

If four computers are connected to four ports on a switch, they form a LAN. PC 1 can communicate with PC 4 because:

  • Both computers are connected to the same switch.

  • The switch can identify the destination of each packet.

  • The switch can forward packets between the connected computers.

The router is not needed for communication between devices that are already on the same LAN. The switch alone performs this local communication function.


4. Access Points and Wireless Local Networks

An access point provides a function similar to a switch but uses wireless communication instead of physical cables.

Switches and Access Points

  • Switch: connects devices using cables.

  • Access point: connects devices using wireless technology.

Both devices can allow computers in the same environment to communicate. The difference is the transmission method.

For example, seven computers in an office can communicate through:

  • A switch and copper cables

  • An access point and wireless connections

The discussion of basic local networking focuses primarily on switches, but access points are important because they provide wireless access to a local network.


5. Routers and Internet Connectivity

The Purpose of a Router

A router connects different networks. This includes connecting:

  • A home or office LAN to the internet

  • One office network to another office network

  • Networks in different cities

  • Networks in different countries

A switch connects devices within the same network. A router connects separate networks.

The main task of a router is to connect different networks. Internet access is one important application of this function.

Connecting a LAN to the Internet

A typical office internet connection contains:

  1. Computers connected to a switch

  2. The switch connected to a router

  3. The router connected to an internet service provider

  4. The internet service provider connected to the wider internet

The connection can be represented conceptually as:

Computer → Switch → Router → ISP → Internet

The cable between the switch and router is commonly a copper Ethernet cable. A separate connection supplied by the ISP connects the router to the provider’s network.

Local Communication Versus Internet Communication

If PC 1 sends a packet to PC 5 on the same LAN:

  1. PC 1 sends the packet to the switch.

  2. The switch identifies PC 5 as the destination.

  3. The switch forwards the packet to PC 5.

  4. The router does not participate in this communication.

If PC 1 sends a packet to a device on the internet:

  1. PC 1 sends the packet to the switch.

  2. The switch determines that the destination is outside the local network.

  3. The switch forwards the packet to the router.

  4. The router examines the packet.

  5. The router forwards the packet toward the ISP and the internet.

The router acts as a gateway between the local network and external networks.


6. How the Internet Is Structured

The internet can be understood as millions of LANs connected together by routers and long-distance communication links.

For example:

  • A home network is one LAN.

  • A company office is another LAN.

  • A university may contain multiple LANs.

  • Routers connect those LANs to other networks.

  • Internet providers connect regional and international networks.

Thus, connecting to the internet effectively means connecting a local network to other networks, potentially anywhere in the world.

Why the Internet Uses Many Routers

The internet uses a distributed structure containing many routers rather than one central router.

A single worldwide router would create several serious problems.

Overloading

If every device in the world connected to one router, that router would have to process an enormous number of packets. It would require an unrealistic number of ports and would become overloaded.

A distributed structure divides the traffic among many routers, improving efficiency through load balancing.

Single Point of Failure

A single point of failure is one component whose failure causes an entire system to fail.

If the entire internet depended on one router:

  • Failure of that router could disconnect the entire world.

  • Maintenance would be extremely difficult.

  • A technical problem in one location could affect every user.

With many routers, the failure of some routers does not necessarily stop the internet. Traffic can often be redirected through other available routes.

Cable-Length Problems

A single central router would require extremely long cables connecting it to distant locations. This would be expensive, difficult to install, and difficult to maintain.

A distributed structure reduces the required cable lengths:

  • Local networks connect to nearby routers.

  • Routers connect to other routers.

  • Long-distance connections are distributed across the overall system.

  • No single router needs direct cables to millions of distant LANs.

A distributed internet structure improves scalability, reduces congestion, avoids a single point of failure, and minimizes the need for extremely long direct connections.


7. Submarine and Fiber-Optic Cables

International internet communication depends heavily on physical cables installed beneath oceans and across land.

Submarine cables connect:

  • Countries separated by oceans

  • Different continents

  • International ISP networks

  • Large data centers and internet infrastructures

The source describes approximately 99% of international internet communication as being carried through submarine fiber-optic cables. These cables can vary greatly in length:

  • Some are only a few hundred kilometers long.

  • Others extend for approximately 20,00020{,}00020,000 kilometers.

  • One example described a cable of nearly 17,00017{,}00017,000 kilometers connecting Europe and Africa.

Why Fiber Optics Are Used

Fiber-optic cables are preferred for international communication because they:

  • Transmit data at very high speeds.

  • Carry data over long distances.

  • Produce fewer transmission errors over long distances than copper cables.

  • Use light signals rather than electrical signals.

As a copper cable becomes longer, the probability of transmission errors increases. Fiber-optic cables maintain reliable high-speed communication across much greater distances.

Damage to Submarine Cables

Submarine cables can be damaged by:

  • Ship anchors

  • Fishing activity

  • Earthquakes

  • Underwater landslides

  • Other natural disasters

  • Deliberate human activity

The source notes that approximately 200 cable-related problems may occur each year. It also describes an incident in which pirates removed and sold part of a cable as scrap metal.

Damage to a major cable can seriously affect connectivity for entire countries or regions. In one cited example, a cable accident disrupted internet service in approximately ten countries.

Although maps often emphasize intercontinental submarine connections, land-based cables and routers also exist throughout countries and regions. A simplified map may omit these internal connections to focus on international links.


8. Packet Movement Across the Internet

A Packet Leaving a LAN

Suppose a computer in LAN 1 needs to communicate with a computer in LAN 2 located in another country.

The packet follows a general process:

  1. The source computer sends the packet to its local switch.

  2. The switch examines the destination.

  3. Because the destination is outside LAN 1, the switch sends the packet to the local router.

  4. The local router determines that the destination is on another network.

  5. The router forwards the packet to another router connected to the wider internet.

  6. Additional routers examine and forward the packet.

  7. Eventually, the packet reaches the router connected to the destination LAN.

  8. That router sends the packet into the destination LAN.

  9. The destination switch forwards the packet to the receiving computer.

The packet may pass through many routers before reaching its destination.

Routing Tables

Each router contains a routing table. This table stores information that helps the router decide where to forward packets.

When a router receives a packet, it:

  1. Receives the packet through one of its ports.

  2. Examines the packet’s destination information.

  3. Consults its routing table.

  4. Selects an appropriate outgoing port or path.

  5. Forwards the packet toward its destination.

This process is called forwarding.

Routers use processors and routing algorithms to create and update routing-table information. These algorithms consider multiple factors when selecting paths.

Routers Do Not Simply Choose the Visually Shortest Path

A path that appears shortest on a diagram is not necessarily the fastest or best path.

Routing decisions can consider:

  • The number of intermediate routers

  • The condition of each link

  • Link capacity

  • Network traffic

  • Delays

  • Congestion

  • Reliability

  • Other routing metrics

For example, a path with fewer routers may be heavily congested. A longer path may contain less traffic and deliver the packet faster.

Congestion Control

Congestion control involves avoiding paths that are too busy with packets.

If a router detects heavy traffic on one link, it may forward a packet along a different route, even if that route contains more intermediate points. The alternative route may provide faster overall delivery because it has less congestion.

Routers also avoid immediately sending a packet back through the same path from which it arrived, since doing so would normally be inefficient.

Dynamic Paths

The path chosen for one packet may differ from the path chosen for another packet sent between the same locations. Routing conditions can change continuously as:

  • Traffic levels change

  • Links become unavailable

  • Routers fail

  • New paths become preferable

  • Network policies change

The exact path is therefore determined during transmission by the routers along the way.


9. Connecting to the Internet from a Computer’s Perspective

A single computer in a home may not need a separate switch. A home router can provide the necessary routing and switching functions.

The home router connects:

  • The computer or wireless devices inside the home

  • The ISP’s connection outside the home

If there is only one computer, the switching function is less important because there are no multiple local devices that need to communicate. If several devices are present, the home router can usually connect them together while also providing internet access.

What “Being Connected to the Internet” Means

A computer is connected to the internet when it can:

  • Send packets to external networks

  • Receive packets from external networks

The home router performs both directions of packet transfer:

  • It sends packets from the computer to the internet.

  • It sends packets from the internet back to the computer.

Packet transmission is therefore the practical basis of internet communication.


10. Websites, Requests, Responses, and Streaming

Request and Response

When a person enters a website address, such as udemy.com, into a web browser, the following general process occurs:

  1. The browser creates a request.

  2. The computer places the request into one or more packets.

  3. The packets travel to the home router.

  4. The home router forwards them across the internet.

  5. The packets reach a server associated with the website.

  6. The server processes the request.

  7. The server creates a response containing the requested content.

  8. The response travels back across the internet.

  9. The browser uses the response to display the webpage.

A response may contain:

  • HTML files

  • Images

  • Videos

  • Text

  • Stylesheets

  • Scripts

  • Other webpage resources

An HTML file can be understood as the basic structural skeleton of a webpage. The browser interprets the returned information and renders the page for the user.

The request and response may travel along different paths. Routers determine paths dynamically, so the return route is not necessarily identical to the route taken by the request.

Servers

A server is a computer that provides services or content to other computers. Servers are not fundamentally different from ordinary computers, but they are generally more powerful because they must handle many simultaneous requests.

Servers often require:

  • More processing power

  • More memory

  • Faster storage

  • High-speed network connections

  • Greater reliability

  • The ability to serve many users at the same time

Large companies usually operate many servers in different geographical locations rather than relying on one server.

Distributed Servers

A distributed server structure provides several advantages:

  • Users can connect to a geographically closer server.

  • Response times can be reduced.

  • Traffic can be distributed among multiple servers.

  • Failure of one server does not necessarily stop the entire service.

  • The system avoids a single point of failure.

A user accessing a large website may connect to a suitable server based on location, network conditions, and server availability. Different users may connect to different servers while receiving identical content.

Streaming

Streaming is the process of delivering media in pieces rather than waiting for the entire file to arrive before playback begins.

For example, when watching a one-hour video:

  1. The video is divided into many pieces.

  2. The server sends those pieces over the internet.

  3. The computer begins playback after receiving enough initial data.

  4. Additional pieces continue arriving while playback proceeds.

Streaming is more practical than waiting for the entire video to download first. The time required to receive the content depends partly on internet speed:

  • Faster internet generally delivers pieces more quickly.

  • Slower internet may cause delays, buffering, or interruptions.

  • The video does not need to be fully received before playback starts.


11. Wide Area Networks (WANs)

A wide area network, abbreviated WAN, connects multiple separate networks across a large geographical area.

A WAN may connect:

  • Offices in different cities

  • Branches in different countries

  • Data centers in different regions

  • Multiple LANs belonging to one organization

For example, a company may operate offices in several countries and want the computers in those offices to communicate as though they belong to one connected organizational network.

WAN Versus the Internet

The internet already allows separate LANs to communicate. However, the internet is a public network:

  • It has no single private owner.

  • Many unrelated users and organizations share it.

  • Data may pass through infrastructure outside the company’s control.

  • Security and privacy must be considered carefully.

A company may therefore create a private WAN over the public internet to protect its communications.


12. VPN-Based WANs

A common, cost-effective method of creating a WAN is using a virtual private network, or VPN.

A VPN creates a protected connection between separate networks over a public network.

VPN Tunneling

The key concept in a VPN is tunneling. A VPN tunnel:

  • Creates a logical private connection over a public network.

  • Makes the communication behave as if it were traveling through a private connection.

  • Helps provide privacy, anonymity, and security.

  • Does not involve the construction of a literal physical tunnel.

A VPN tunnel can connect routers at two company offices. This arrangement is commonly called a site-to-site VPN.

Encapsulation Analogy

VPN tunneling can be compared to sending a letter:

  • Sending an unprotected letter is like sending unencrypted data across the internet. The carrier may be able to read it.

  • Placing the letter inside an envelope is like putting the original packet inside another packet.

  • The outer packet carries the inner packet through the public network.

This process is often called encapsulation. The original packet is placed inside an additional packet so that it can be transported across the public network.

Encryption

Tunneling alone does not necessarily protect the contents of the original packet. If someone opens the outer packet, the inner data could potentially be exposed.

Encryption solves this problem by transforming the original data into an unreadable form.

A VPN commonly performs two actions:

  1. Encrypts the original packet.

  2. Encapsulates the encrypted packet inside another packet.

At the receiving office, the VPN router:

  1. Removes the outer packet.

  2. Decrypts the inner packet.

  3. Recovers the original packet.

  4. Examines its destination.

  5. Sends it to the correct device on the destination LAN.

Security Limitations

VPNs provide strong practical protection, but no system provides absolute security. Vulnerabilities may still exist because of:

  • Weak passwords

  • Poor configuration

  • Compromised devices

  • Software vulnerabilities

  • Human error

  • Attacks on endpoints

Despite this, VPN-based WANs are widely used because they offer a useful balance of cost, privacy, and security.


13. Public WANs and Private WANs

Public WAN

A VPN-based WAN that uses the public internet is often called a public WAN. It uses shared internet infrastructure but protects traffic through tunneling and encryption.

Advantages include:

  • Lower cost

  • Easier deployment

  • Use of existing internet infrastructure

  • Flexibility across different locations

Private WAN

A private WAN uses a dedicated communication line reserved for one organization. The company obtains the line from an ISP and pays for exclusive use.

Advantages include:

  • Greater control

  • More predictable performance

  • Reduced exposure to public internet infrastructure

  • Stronger isolation from unrelated users

The main disadvantage is cost. Dedicated private lines can be expensive, so many average-sized organizations choose VPN-based public WANs instead.

LAN Security Compared with VPN WAN Security

A direct LAN connection is generally more secure than a VPN-based WAN because:

  • LAN traffic remains on the organization’s own physical cables.

  • It does not pass through the public internet.

  • There are fewer external points where traffic could be intercepted.

A VPN WAN is still highly useful because it encrypts and protects traffic, but it relies on a public network and therefore cannot guarantee perfect security.


14. Campus Area Networks (CANs)

A campus area network, abbreviated CAN, connects LANs that are geographically close but located in separate buildings or areas.

For example, two company offices separated by approximately 100100100 meters may be connected directly using network cables. Because the distance is short, the two switches may be connected to form one larger LAN.

CANs are commonly associated with:

  • University campuses

  • Corporate campuses

  • Industrial sites

  • Closely located office buildings

Direct LAN Connection Versus VPN WAN

Two nearby offices might be connected in either of two ways:

  • Directly through physical network connections

  • Through a VPN-based WAN over the internet

The direct LAN or CAN connection is generally more secure because the packets remain on dedicated physical cables. The VPN connection is protected but still travels across public internet infrastructure.


15. Routers as Connectors of Different Networks

A router is not only an “internet device.” Its fundamental purpose is to connect different networks, regardless of where those networks are located.

Two separate networks may exist:

  • In different countries

  • In different cities

  • In different buildings

  • In different departments of the same office

A router can connect them in every case.

Multiple Router Ports

Each cable connected to a router generally leads to a different network. For example:

  • One router port may connect to LAN 1.

  • A second port may connect to LAN 2.

  • A third port may connect to an internet or ISP connection.

This arrangement allows the router to transfer packets between separate networks.

Dividing an Office into Multiple Networks

Large offices may divide their computers into separate networks based on organizational units, such as:

  • Marketing

  • Software development

  • Finance

  • Human resources

  • Administration

Separating departments can improve:

  • Organization

  • Hierarchy

  • Traffic management

  • Security

  • Administrative control

A router can connect these departmental networks when communication between them is required.


16. Internet Service Providers (ISPs)

An internet service provider, abbreviated ISP, is a company or organization that provides access to the internet.

An ISP generally:

  • Supplies a physical or logical connection to a home or office.

  • Operates networking infrastructure.

  • Controls and manages groups of routers.

  • Transmits packets from one location to another.

  • Charges customers for internet service.

A customer normally cannot connect to the wider internet without obtaining service from an ISP.

ISPs are not a single worldwide structure. There are many thousands of ISPs, and they operate at different geographical and organizational levels.

Points of Presence

A point of presence, abbreviated PoP, is a physical ISP facility containing networking equipment.

A PoP may contain:

  • Routers

  • Switches

  • Servers

  • Other specialized networking devices

Although real PoPs contain many types of equipment, routers are especially important because they connect different networks and forward packets.

A home or small office typically connects first to a nearby ISP PoP.


17. The Hierarchical ISP Structure

Internet providers can be understood through a simplified hierarchy.

Local ISPs

A local ISP provides service to a relatively small area, such as:

  • A neighborhood

  • A town

  • Several nearby neighborhoods

  • A small geographical region

A home or small office usually connects to a local ISP first. The local ISP may operate one or several PoPs depending on its size.

Local ISPs connect nearby LANs and may forward packets through several local routers.

Regional ISPs

A regional ISP connects larger areas, such as:

  • Multiple towns

  • Different parts of a city

  • Different cities within one country

Regional ISPs connect local ISPs to each other. For example, two homes in different cities may use different local ISPs, but those local ISPs can communicate through a regional ISP.

The hierarchy reduces unnecessary complexity. If every local ISP connected directly to every other local ISP, the number of connections would become very large and difficult to manage. A central hierarchical structure allows many networks to communicate using fewer, more organized connections.

Global ISPs

A global ISP supports communication between countries and continents.

Global ISPs are necessary when a packet must travel across international boundaries, especially when the source and destination are separated by oceans.

Global ISPs operate large-scale infrastructure involving:

  • International routers

  • Submarine fiber-optic cables

  • Long-distance terrestrial cables

  • Data centers

  • Connections to regional and local ISPs

There are relatively few global ISPs compared with local and regional providers because establishing and operating a global network is extremely expensive.

Example of ISP Packet Movement

A packet traveling from a computer in one country to a computer in another may follow a path such as:

Source LAN → Local ISP → Regional ISP → Global ISP → Another Global ISP → Destination Regional ISP → Destination Local ISP → Destination LAN

However, not every packet follows this exact pattern. Depending on the network structure and routing decisions, a local ISP may connect directly to a global ISP, or a packet may move through several regional and global providers.


18. Multiple Possible Paths Through ISP Networks

A packet does not have one permanently fixed route through the internet. At each stage, routers may select among several possible paths.

A packet may travel:

  • From a regional ISP to Global ISP 1

  • From Global ISP 1 to Global ISP 2

  • From Global ISP 2 directly to a local ISP

  • From Global ISP 2 to another regional ISP

  • Through an additional global ISP before reaching its destination

The route depends on routing tables and current network conditions.

A small local ISP may connect directly to a global ISP if:

  • The global ISP already has infrastructure in that location.

  • The location is strategically useful.

  • The local ISP pays for the required connection.

  • The direct link provides better performance.

A direct connection can reduce the number of intermediate networks and may improve speed.


19. Accessing Websites Hosted in Other Countries

Suppose a user in Belgium requests a website whose servers are located in the United States.

The general process is:

  1. The user enters the website address.

  2. The computer creates a request message.

  3. The request travels through the home router.

  4. It reaches the local ISP.

  5. It may pass through regional and global ISPs.

  6. It eventually reaches the website’s server in the United States.

  7. The server processes the request.

  8. The server creates a response containing the webpage’s content.

  9. The response travels back through the internet.

  10. The browser uses the response to display the webpage.

The response may take a different route from the request because routing decisions are made dynamically.

The entire process usually takes place within milliseconds, even though the packet may cross many networks and travel thousands of kilometers.


20. Distributed Web Servers

Large companies do not usually rely on one physical server. They operate many servers distributed around the world.

A distributed server system can:

  • Place servers closer to users.

  • Reduce network delay.

  • Handle a larger number of simultaneous requests.

  • Improve service reliability.

  • Continue operating if some servers fail.

  • Balance requests across multiple locations.

When a user accesses a major service, the request is directed to a suitable server or server cluster. The user may not know which physical server handles the request, but the content remains consistent across the system.

This approach is used by large companies such as Google, Amazon, and other global online platforms.


21. Peering

Peering is a direct connection established between a large content provider and an ISP.

For example, a company such as Google may connect directly to local ISPs so that users can reach Google’s servers without relying on as much of the ISP’s broader public infrastructure.

Benefits of Peering

Peering can provide:

  • Faster access to online services

  • Lower latency

  • More efficient traffic flow

  • Improved video streaming

  • Reduced dependence on intermediate networks

  • Potentially improved security because fewer public network segments are involved

When a user watches a YouTube video, the video may be delivered from one of Google’s geographically distributed servers. Google’s peering arrangements can help the video arrive efficiently and reduce interruptions.

Services with fewer distributed servers or less extensive peering may experience more buffering or interruptions, especially when many users access them at the same time.


22. Internet Backbone and Internet Exchange Points

Internet Backbone

The internet backbone is the collection of high-capacity networks operated and interconnected by global ISPs.

It carries large volumes of international and long-distance traffic. Backbone infrastructure includes:

  • High-speed fiber-optic links

  • Submarine cables

  • Large routers

  • Connections between major providers

  • Data centers and network hubs

Internet Exchange Points

An internet exchange point, abbreviated IXP or IX, is a facility where different networks connect and exchange traffic directly.

IXPs help global and regional networks communicate more efficiently by:

  • Reducing unnecessary intermediate routing

  • Improving traffic exchange between providers

  • Lowering latency

  • Increasing network efficiency

  • Supporting coordination within the internet backbone

The backbone and IXPs help the many independent networks that make up the internet operate as one globally connected system.


23. Choosing an ISP

A user does not always have to connect through a local ISP. Depending on what services are available in a location, a customer may potentially connect directly to:

  • A local ISP

  • A regional ISP

  • A global ISP

For most home users, the practical choice is among the providers serving their location. Larger organizations may negotiate directly with regional or global providers if they need:

  • Higher bandwidth

  • Dedicated connections

  • Greater reliability

  • Direct access to a provider’s infrastructure

  • Specialized networking services

The cost of service and available infrastructure determine which options are realistic.


24. Essential Conceptual Distinctions

Switch Versus Router

  • Switch: connects devices within the same LAN.

  • Router: connects different networks.

  • A switch is sufficient for communication between devices on the same LAN.

  • A router is required when traffic must leave one network and reach another.

LAN Versus WAN

  • LAN: a network covering a restricted local area.

  • WAN: a network formed by connecting separate LANs across a wider area.

  • A LAN is commonly created using switches.

  • A WAN commonly uses routers and long-distance links.

Public WAN Versus Private WAN

  • Public WAN: uses public internet infrastructure, often protected by a VPN.

  • Private WAN: uses dedicated lines reserved for one organization.

  • Private WANs are generally more isolated but more expensive.

  • VPN-based WANs are more affordable and flexible but still use the public internet.

Physical Cable Versus Wireless Connection

  • Switches traditionally use physical cables.

  • Access points use wireless communication.

  • Fiber-optic cables provide faster and more reliable long-distance transmission than copper cables.

  • Wireless access is convenient, but it does not change the underlying need for routers and network infrastructure.


25. Overall Data-Flow Model

A simplified home-to-website data flow is:

Computer → Home Router → Local ISP → Regional ISP → Global ISP → Website Server

The response returns through a potentially different route:

Website Server → Global ISP → Regional ISP or Local ISP → Home Router → Computer

For communication between two computers on the same LAN, the shorter process is:

Computer → Switch → Destination Computer

For communication between separate LANs, the process is:

Source Computer → Source Switch → Source Router → Intermediate Routers and ISPs → Destination Router → Destination Switch → Destination Computer

The internet works because switches manage local communication, routers connect different networks, ISPs operate and interconnect infrastructure, cables transport data, and servers respond to requests.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent