Learn

Foundations

Understanding your network: the essential building blocks

A laptop, a printer and a Wi-Fi access point can belong to the same network but do different jobs. This guide introduces the main components of a small office network and separates three ideas that are often confused: your local network, Wi-Fi and internet access.

START HERE

What is a network?

A network connects devices so they can exchange information and use shared resources, such as a printer, files on a server or an application reached over the internet.

A local network, usually called a LAN, connects devices within a limited area such as a home, an office or a building. It can include both wired and wireless connections. “Local” describes its scope, not how many devices it contains.[1]

In this guide we use one small office as the example: two desktop computers connected by cables, a laptop and a phone using Wi-Fi, a shared printer, and equipment that links the office to its internet provider. It is an illustration, not a recommended design for every office.

Keep in mind“The internet is down” and “the network is down” are not necessarily the same problem. Local resources can keep working when the internet connection fails, provided the relevant equipment and services are available.

End devices and the switch

Computers, phones, printers and servers are end devices, also called endpoints. They use the network to send or receive information: a computer reaches an application, a printer receives a job, a server provides a service to others.

A switch connects devices within a local network. Computers, printers, servers and access points can all plug into it.[2] In our office, one cable runs from each desktop, the printer and the access point to the switch.

A typical Ethernet switch learns which devices are reachable through which of its ports, using MAC addresses, and forwards traffic accordingly.[3] You do not need to memorise MAC addresses to understand its basic role.

Keep in mindA switch connects devices. It does not, by itself, provide an internet service.
Optional detail: can a switch also route?

Some switches also perform routing functions and are commonly described as Layer 3 switches. That does not make the distinction between switching and routing useless; it means one product can perform more than one role. This guide separates the roles first, then looks at equipment that combines them.[7]

The access point and the router

A wireless access point lets Wi-Fi devices join a wired network. In a common office arrangement it connects by cable to the switch, so the laptop and phone can reach resources on the wired network, subject to the network’s configuration and access rules.[4]

Wi-Fi is a wireless network connection; it is not the internet connection itself. A device can be connected to Wi-Fi and still fail to reach the internet, because the wireless link and the route to other networks are separate parts of the arrangement.[5]

A router connects different networks and forwards traffic between them. The familiar case is joining the office network to the internet provider’s network, but routers can also connect internal networks.[6]

Network roles in separate and combined devicesThe same three roles, routing, switching and wireless access, shown first as three separate devices and then inside one combined device.Separate devicesRouterroutingSwitchswitchingAccess pointwireless accessOne combined deviceWireless routerRoutingSwitchingWireless access
Figure 2 · The same roles as separate devices and as one combined device.
  • Switch: Connects the office’s local devices
  • Access point: Connects Wi-Fi devices to the office network
  • Router: Connects the office network to another network
Keep in mind“Connected to Wi-Fi” does not establish that every other part of the connection is working.

Why your equipment looks different

You may look around your office and find a single box with several cable sockets and Wi-Fi antennas. That does not mean the other functions are missing.

A wireless router combines routing and wireless-access functions in one enclosure, and some products add further functions.[5] A business may instead use separate devices for each role.

The useful question is not “how many boxes do we have?” but “which device performs each job?” Once you can answer that, your own equipment becomes much easier to read, even when labels and packaging differ.

Putting the pieces together

Small office networkAn internet provider connects to a router, the router to a switch, and the switch to two desktops, a printer and an access point. A laptop and a phone connect wirelessly to the access point.Local networkInternet providerRouterSwitchDesktop 1Desktop 2PrinterAccess pointLaptopPhone))) Wi-Fi
Figure 1 · A small office network. Solid lines are cables; dashed lines are wireless links.

The switch connects the wired devices, the access point provides wireless access, and the router connects the local network to another network.[2][4][6] A real network may add equipment, use several networks, or combine several functions in one device.

The diagram shows roles. It is not a complete installation or security plan.

Check your understanding

My laptop uses Wi-Fi and my desktop uses a cable. Are they on different networks?

Not necessarily. A local network can include both wired and wireless connections; which network each device belongs to depends on how the environment is configured.[1]

We have a switch. Do we automatically have internet access?

No. The switch connects local devices; reaching other networks requires routing and an upstream connection.[3]

We have only one networking box. Can it do more than one job?

Yes. A wireless router is the familiar example of a product combining routing and wireless access.

An observation exercise

Look at your own environment without unplugging, resetting or changing anything. Try to identify:

  1. Which devices connect by cable.
  2. Which devices use Wi-Fi.
  3. Where the cables converge.
  4. Which device provides wireless access.
  5. Which device connects towards the internet provider.
  6. Which roles you cannot identify yet.

Sketch what you can establish, and mark uncertain connections with a question mark rather than guessing. The goal is a reliable picture of what you know and what still needs checking.

What to remember

The essentials

  • A local network connects devices in a limited area and can mix wired and wireless links.[1]
  • A switch connects local devices so they can communicate.[2]
  • An access point provides wireless access to a network.[4]
  • A router connects different networks.[6]
  • One physical device can perform several of these roles.
  • Wi-Fi connectivity and internet connectivity are related but not the same.[5]

This guide stops before IP addressing, DNS, DHCP, VLANs, firewall policy and configuration commands. Each deserves its own explanation.

Sources and further reading

  1. Cisco: What is a LAN?
  2. Cisco: How Does a Switch Work?
  3. Cisco: What Is Network Switching?
  4. Cisco: What is an Access Point?
  5. Cisco: What Is Wi-Fi?
  6. Cisco: What is a WAN?
  7. Cisco: Networking Fundamentals
Continue reading

VLANs: what separation means, and what it doesn’t →