A-Level Computer Science / Unit 2: Networks, Connectivity and the Internet

2.1.4 LAN Hardware & Routers

πŸ”’ Lesson slides are available to signed-in users. Sign in

2.1.4 LAN Hardware & Routers

When you send a document to a network printer, several devices work together. One connects your computer, another carries the signal, and another delivers the data to the correct place. If the destination is on a different network, a router may also be needed.

This study page explains what each device actually does. Learn the function before learning the name: that makes it easier to choose the right hardware in unfamiliar exam questions.

After studying this lesson, you should be able to

  • explain the roles of a NIC, WNIC, WAP, cable, switch, server, bridge and repeater in a LAN;
  • describe how a switch uses MAC addresses to forward frames;
  • explain how a router uses destination IP addresses to forward packets between networks;
  • trace data through simple wired and wireless connections;
  • choose suitable hardware for a specific need and give a technically correct reason.

1. Begin with the task: what problem does the device solve?

A useful way to remember network equipment is to classify it by function. Some equipment connects a computer; some passes data onward; other equipment supplies the information that users want.

Needed taskRelevant equipmentMain action
Join a wired networkNIC and cableProvide the computer's network interface and carry signals.
Join a wireless networkWNIC and WAPExchange data over a Wi-Fi connection.
Deliver traffic within a LANSwitchSend frames towards the appropriate local connection.
Give users a shared serviceServerRespond to requests for files or other services.
Connect LAN sectionsBridgeForward or filter frames between segments.
Restore a weak signalRepeaterRegenerate a signal so it can continue along the link.
Send data to another networkRouterUse the destination IP address to choose where a packet goes next.

Exam habit: name + action

Saying that equipment is β€œused for networking” is too general. Give its specific action, such as regenerates a signal, provides wireless access or forwards frames using MAC addresses.

2. NICs, WNICs and the physical connection

Network Interface Card (NIC)

NIC: hardware in a device that allows it to send and receive data using a network connection. In these lessons, NIC usually refers to the wired Ethernet interface.

A desktop computer needs a working network interface even when the switch and cables are already installed. The NIC handles communication over the local connection. It can be built into the computer or fitted as a separate component.

A network interface normally has a MAC (Media Access Control) address. This address is used to identify an interface when delivering frames on a local network. A device with both Ethernet and Wi-Fi usually has a separate interface, and MAC address, for each connection.

Wireless Network Interface Card (WNIC)

WNIC: a network interface that transmits and receives data using wireless signals, for example Wi-Fi.

A handheld inventory scanner may contain a WNIC so that its user can move around a warehouse without plugging in a network cable. The scanner still requires suitable wireless coverage; having a WNIC alone does not create a wireless LAN.

Cables

A wired connection needs a medium for the signal. Copper Ethernet cable carries electrical signals; fibre-optic cable carries light. For this topic, the essential point is the function of the cable: it provides a signal path between connected devices.

DeviceConnection usedWhat must be present?
Workshop desktopWiredNIC, suitable cable and network port
Portable scannerWirelessWNIC and a reachable wireless network
Storage serverUsually wiredNetwork interface and a connection to the LAN

Common confusion

A network socket, a NIC and a cable are related but not identical. The NIC is the interface hardware; the cable carries the signal between connections.

3. Wireless Access Point (WAP)

Wireless Access Point (WAP): networking equipment that provides wireless devices with a connection to a LAN.

Consider a design workshop where staff use tablets to check equipment. Each tablet has a WNIC. A WAP allows those tablets to communicate with the network without a cable from each tablet to the switch. The WAP is normally connected to the rest of the LAN by a wired link.

  1. A tablet sends data using its WNIC.
  2. The WAP receives the wireless transmission.
  3. The WAP passes the network data towards the rest of the LAN.
  4. Data returning to the tablet can travel back through the WAP by Wi-Fi.

Wireless coverage is limited. A large building may need several access points. Radio interference or thick walls can make the connection less reliable.

WNIC or WAP?

Think about where the equipment is. A WNIC belongs to the device that wants to connect. A WAP is installed as part of the network to give wireless devices access.

4. Servers: providing something useful

Server: a computer or program that supplies resources or services in response to requests from other systems called clients.

Suppose a local theatre maintains a digital collection of costume photographs. Instead of keeping separate copies on every office PC, it stores the images on a file server. Authorised staff can request a file when they need it.

ServiceWhat the server doesPossible result
Shared filesStores files and returns requested contentStaff can access the current version.
AuthenticationChecks sign-in details and access permissionsOnly approved users gain access.
Shared printingManages submitted print jobsSeveral computers can use a shared printer.

The server also needs a network interface and connection. A server does not replace a switch: the server provides the resource, whereas a switch carries frames towards the resource.

Develop an answer

β€œUse a file server” names the device. Explain the consequence as well: staff can retrieve shared files from a managed location, rather than relying on copies saved separately on different computers.

5. Switches: forwarding within the LAN

Switch: a device that connects several LAN links and forwards frames based on MAC addresses.

Imagine three office PCs and one file server plugged into the same switch. When PC A sends data to the server, the switch should direct the traffic to the server's connection instead of sending an ordinary known-destination unicast frame out of every port.

How the switch decides

  1. A frame enters the switch through one of its ports.
  2. The switch can learn the source MAC address and remember its incoming port.
  3. The switch looks at the frame's destination MAC address.
  4. It checks its stored MAC-address information for the destination's port.
  5. If that port is known, the switch forwards the frame to that port.

The remembered address-to-port information is often called a MAC address table. It allows the switch to send later frames to the correct local connection.

What if the destination is not in the table?

For an unknown unicast destination, a switch normally forwards the frame through other suitable ports in the same LAN segment. This is called flooding. When replies arrive, the switch can learn where the destination is located. This does not mean that every frame is always flooded.

Use the correct technical term

A normal Ethernet switch examines the MAC address in a frame. A router examines the IP address in a packet. They do not make the same forwarding decision.

6. Bridge or repeater? Two different problems

Both devices can appear between parts of a network, but their jobs are quite different. Ask whether the problem concerns where data should be sent or whether a signal can travel far enough.

Bridge

Bridge: joins sections of a LAN and uses MAC-address information to decide whether frames need to cross between them.

A community radio studio has a recording-area LAN segment and an office-area LAN segment. A bridge can connect the segments while keeping some local traffic within its own section. It forwards frames across the connection when needed. A modern multi-port switch uses similar forwarding principles.

Repeater

Repeater: regenerates a signal received along a link, allowing the regenerated signal to continue further.

If a signal weakens over a long connection, a repeater can regenerate a recognisable signal before it travels along the next part of the link. A repeater does not read destination MAC addresses to choose which computer should receive the data.

QuestionBridgeRepeater
What is the main purpose?Link LAN segments and control frame forwardingExtend a usable signal path
Does it use MAC addresses?YesNo
Does it decide which frames cross a LAN boundary?Yes, using forwarding informationNo; it regenerates signals

Do not swap their functions

A bridge is not chosen just to repair weak signals. A repeater is not chosen to separate traffic by destination address.

7. Routers: leaving one network for another

Router: a network device that forwards IP packets between networks, selecting the next connection using the destination IP address and routing information.

Imagine that a city's community library has a public-reading LAN and a separate administrative network. A computer in one network may need to reach a service in the other network. A router makes that communication possible.

Basic forwarding process

  1. The router receives a packet through a network interface.
  2. It reads the packet's destination IP address.
  3. It consults routing information to choose a suitable next hop or outgoing interface.
  4. It forwards the packet towards its destination network.

The next hop is where the packet should go next. The router does not need to know every physical cable on the complete journey.

A router links two separate LANs A terminal in the left LAN connects through a switch and router to a server in the right LAN. The router forwards packets between networks. Reading-room LAN Admin LAN Terminal Switch Router uses destination IP Switch Server Links different networks
Simplified example: switches handle local frame delivery; the router forwards packets between the two networks. The drawing is not a map of individual packets.

Why the destination address matters

A router uses the destination IP address to decide where a packet should be sent next. It is not looking for the destination by reading a website name.

8. Devices that are easy to confuse

Several network components can sit between two computers. The best answer depends on the type of information they examine and the decision they make.

EquipmentWhat it works withDecision or action
SwitchEthernet frames; MAC addressesForwards frames on local links, usually through a selected port.
RouterIP packets; destination IP addressesChooses how to forward packets towards another network.
BridgeFrames; MAC addressesConnects and filters traffic between LAN segments.
RepeaterPhysical signalsRegenerates a weakened signal; does not use destination addresses.
WAPWireless signals and LAN dataAllows wireless clients to communicate with a LAN.
ServerApplication requestsProvides information or services to clients.
Quick question: Two offices have different IP networks. Should you choose a switch or a router?

Router. It can forward packets between the different networks using IP addressing. Switches remain useful for connecting devices within each office LAN.

Quick question: A long cable causes a weak signal. Bridge or repeater?

Repeater. The problem is signal strength, not deciding which LAN segment should receive a frame.

9. Follow the data: two short journeys

Journey A: two devices on the same LAN

A ticket counter sends a small report to a records computer on the same wired LAN. The counter's NIC sends network data over a cable to a switch. The switch checks the frame's destination MAC address and forwards the frame to the connection where the records computer can be reached.

Typical local path: source NIC β†’ cable β†’ switch β†’ cable β†’ destination NIC.

Journey B: a Wi-Fi device sends to another network

A technician uses a wireless tablet in a repair centre to request information from a server in a separate office network. The tablet uses its WNIC to reach a WAP. The data then moves through the local LAN towards the router. The router examines the destination IP address and forwards the packet towards the office network. The destination LAN then delivers the data to the server.

Typical cross-network path: tablet WNIC β†’ WAP β†’ local switch β†’ router β†’ destination LAN β†’ server.

One important detail

The Wi-Fi part and wired Ethernet part may use different link-frame formats. For this lesson, focus on which hardware handles the data and which addressing information the switch and router use. Do not assume that an unchanged Ethernet frame travels through every network.

10. Interactive: LAN Hardware Explorer

Try the bus, star and wireless examples. Concentrate on the hardware's job: connecting devices, forwarding local traffic or regenerating a signal. The bus example illustrates a shared cable; modern desktop LANs commonly use a central switch.

Bus LAN

End-system Cable / link LAN hardware Signal path

After exploring: explain in one sentence why a repeater cannot replace a switch. Then explain why a WAP is not the same as a WNIC.

11. Original exam-style practice

These questions are newly written for this page. Use technical terms accurately, but keep your explanations short and focused on the scenario.

Check the hardware

  1. Identify the hardware in a tablet that allows it to send data through Wi-Fi. [1]
  2. State the function of a WAP. [2]
  3. Explain one difference between a switch and a file server. [2]
  4. Describe how a switch forwards a frame when the destination MAC address is in its table. [2]
  5. Explain why a repeater cannot filter frames based on their destination address. [2]
  6. Describe the function of a bridge. [2]
  7. Describe the role of a router when data travels from one IP network to another. [3]

Apply your knowledge β€” bicycle-repair cooperative

A bicycle-repair cooperative has a wired office LAN, a server storing job records, and staff tablets used in the repair area. The tablets need wireless access. A second workshop operates on a different IP network and must exchange repair information.

  1. Name the equipment that gives the tablets wireless access to the LAN and explain its function. [2]
  2. Explain how the office switch directs a frame to the records server. [2]
  3. Explain how a router helps send a packet to the second workshop. [2]
Reveal suggested marking points β€” 6 marks

(a) WAP [1]; it connects tablets using Wi-Fi to the LAN [1].

(b) The switch checks the destination MAC address [1]; it uses its address-to-port information to forward the frame towards the server's port [1].

(c) The router reads the destination IP address [1] and uses routing information to forward the packet to an appropriate next network or next hop [1].

Equivalent accurate explanations can earn credit.

12. Review and self-check

RememberShort exam-ready idea
NIC / WNICNetwork interfaces for wired / wireless communication.
WAPProvides wireless devices with LAN access.
CableCarries signals between wired network interfaces and equipment.
SwitchForwards local frames using destination MAC addresses.
ServerResponds to client requests for shared resources or services.
BridgeConnects LAN segments and filters or forwards frames.
RepeaterRegenerates signals; does not read destination addresses.
RouterForwards packets between networks based on destination IP addresses.

Can you answer without notes?

  • What is the difference between a WNIC and a WAP?
  • How does a switch decide which port to use?
  • Which device is needed when a signal becomes too weak?
  • How does a bridge differ from a repeater?
  • What does a router examine before forwarding a packet?
  • Can you explain why a server and a switch perform different jobs?

Exam reminder: identify the correct device, describe its action and connect that action to the requirement in the question.