2.1 Networks – The Internet (Cambridge AS/A‑Level Computer Science)
Learning Objective
Describe the hardware that is used to support the Internet, explain why each device is required, and relate it to the wider networking concepts set out in the Cambridge 9618 syllabus.
1. Core Networking Hardware – Purpose & Benefits
2. LAN vs. WAN – Key Characteristics
| Aspect | LAN (Local Area Network) | WAN (Wide Area Network) |
|---|
| Geographic scope | Single building or campus (≤ 10 km) | City, country, or global (tens to thousands of km) |
| Typical latency | 1 ms – 5 ms | 20 ms – 200 ms (or more for satellite) |
| Primary devices | NICs, switches, hubs, WAPs, bridges | Routers, leased‑line modems, satellite dishes, MPLS switches |
| Media | Copper (twisted‑pair), fibre‑optic, Wi‑Fi | Leased copper/fibre lines, microwave links, satellite, under‑sea cables |
| Management | Often under a single administrative domain | Multiple organisations (ISPs, carriers) with contractual SLAs |
| Typical bandwidth | 100 Mbps – 10 Gbps (or higher in data‑centres) | 10 Mbps – 100 Gbps (backbone), variable for last‑mile access |
3. LAN Topologies & Their Characteristics
| Topology | Physical layout | Advantages | Disadvantages |
|---|
| Bus | All devices share a single coaxial or twisted‑pair cable. | Simple, inexpensive, easy to extend. | Single point of failure, limited bandwidth, difficult troubleshooting. |
| Star | Each device connects to a central hub or switch. | Easy management, fault isolation, scalable. | More cabling; central device is a point of failure (mitigated with redundant switches). |
| Mesh | Multiple redundant paths between devices (full or partial). | High reliability, load balancing, fault tolerance. | Complex, costly, difficult to install. |
| Hybrid | Combination of two or more basic topologies (e.g., star‑bus). | Can be tailored to specific requirements. | Design and management can be complex. |
4. Router Role, Functions & IP Addressing
5. Core Internet Hardware (Beyond the LAN)
- Modem – Modulates/demodulates signals for transmission over telephone, cable, DSL, or fibre links.
- ISP / Backbone Router – High‑capacity devices that interconnect autonomous systems and run advanced routing protocols (OSPF, BGP).
- Data‑centre Switch – Layer 2/3 switches operating at 10 GbE, 40 GbE, 100 GbE; aggregate server traffic and provide VLAN, QoS, and link‑aggregation.
- Hardware Firewall – Enforces security policies, performs stateful inspection and can include intrusion‑prevention functions.
- Load Balancer – Distributes incoming client requests across multiple servers (round‑robin, least‑connections, weighted).
- Servers – Host services such as Web (HTTP/HTTPS), Email (SMTP/IMAP), DNS, Cloud storage, Virtualisation.
- Data‑centre Infrastructure
- Racks, blade enclosures, cable‑management systems.
- Power Distribution Units (PDUs), UPS, diesel generators.
- Cooling: CRAC units, liquid‑cooling loops, hot‑aisle/cold‑aisle containment.
- Environmental monitoring and physical security (CCTV, access control).
- Repeaters / Optical Amplifiers – Boost long‑haul fibre or submarine‑cable signals.
- Satellite Ground Stations & Dishes – Provide broadband where terrestrial infrastructure is unavailable.
- Fiber‑optic Cabling – Single‑mode for long‑distance backbone; multimode for intra‑building links.
6. Client‑Server vs. Peer‑to‑Peer (P2P) Models
| Aspect | Client‑Server | Peer‑to‑Peer |
|---|
| Architecture | Dedicated servers provide resources; clients request services. | All nodes can act as both client and server; resources are shared directly. |
| Typical uses | Web browsing, email, online banking, cloud services. | File‑sharing (e.g., BitTorrent), VoIP, distributed computing. |
| Device types | Thin client vs. thick (fat) client. | Each peer usually runs a “thick” client with comparable capabilities. |
| Advantages | Centralised control, easier security management, scalable with load balancers. | Reduced server cost, resilience (no single point of failure), higher local bandwidth. |
| Disadvantages | Server can become a bottleneck; requires robust infrastructure. | Security harder to enforce; performance depends on peers’ availability. |
Thin‑client vs. Thick‑client (Cambridge wording)
- Thin‑client – Minimal processing power, little or no local storage; relies on a server for applications and data.
- Thick‑client (fat client) – Performs most processing locally, stores data on its own disk, and can operate independently of a server.
7. Internet vs. World Wide Web (WWW)
- Internet – Global network of interconnected routers, switches, servers and end‑devices that use the TCP/IP protocol suite.
- World Wide Web – One of many services that run on the Internet; it uses HTTP/HTTPS to exchange hypertext documents.
- Domain Name System (DNS)
- Translates human‑readable domain names (e.g.,
www.example.com) into IP addresses. - Hierarchical: root → top‑level domain (TLD) → second‑level domain → sub‑domains.
- Typical query flow: client → recursive resolver → root server → TLD server → authoritative server.
- URL structure –
protocol://host:port/path?query#fragment- Protocol:
http, https, ftp, … - Host: domain name or IP address.
- Port: optional (default 80 for HTTP, 443 for HTTPS).
- Path, query string and fragment identify specific resources.
8. Wireless vs. Wired Networks – Key Technical Points
| Aspect | Wired (Ethernet) | Wireless (Wi‑Fi) |
|---|
| Medium | Copper twisted‑pair or fibre‑optic cable. | Radio‑frequency (2.4 GHz, 5 GHz, 6 GHz). |
| Standards | IEEE 802.3 – 10 Mbps to 400 Gbps. | IEEE 802.11ax (Wi‑Fi 6/6E), 802.11be (Wi‑Fi 7) – up to 30 Gbps. |
| Access method | CSMA/CD (collision detection) – largely replaced by full‑duplex switching. | CSMA/CA (collision avoidance) – uses acknowledgements and back‑off. |
| Bandwidth & latency | Higher, more predictable; latency typically < 1 ms on a LAN. | Variable; affected by interference, distance, and channel congestion. |
| Security | Physical security; optional MAC filtering. | Encryption (WPA3), authentication (802.1X), MAC filtering. |
| Installation | Requires cabling and conduit; higher upfront cost. | Flexibility, easier to deploy for mobile devices. |
9. Cloud‑Computing Overview (Relevant to the Internet)
- Service models
- IaaS – Infrastructure as a Service (e.g., Amazon EC2, Microsoft Azure VMs).
- PaaS – Platform as a Service (e.g., Google App Engine, Heroku).
- SaaS – Software as a Service (e.g., Google Workspace, Microsoft 365).
- Deployment models
- Public cloud – Owned by a third‑party provider; resources shared among many customers.
- Private cloud – Dedicated infrastructure for a single organisation (often in its own data centre).
- Hybrid cloud – Combination of public and private resources linked via secure connections.
- Key hardware enablers
- Virtualisation servers (hypervisors), storage arrays, high‑speed Ethernet/fibre switches, and software‑defined networking (SDN) controllers.
10. Typical End‑User to Server Path (Illustrative Example)
- Desktop PC with a NIC connects to a Wi‑Fi Access Point or an Ethernet Switch (LAN).
- Switch forwards Ethernet frames to the LAN router (gateway). The router performs NAT, DHCP and forwards packets to the ISP.
- ISP modem converts digital signals to the appropriate carrier (DSL, cable, or fibre).
- ISP edge router forwards the packet onto the ISP’s backbone using BGP routing.
- Backbone routers transmit the packet over single‑mode fibre‑optic links, possibly passing through repeaters/amplifiers and under‑sea cables.
- At the destination data centre, a load balancer selects a suitable web server (HTTP/HTTPS).
- The web server processes the request, accesses storage or cloud services, and sends the response back along the reverse path.
11. Supporting Infrastructure (Reliability & Management)
- Power – UPS, diesel generators, redundant power feeds.
- Cooling – CRAC units, liquid cooling, hot‑aisle/cold‑aisle containment.
- Monitoring & Management – SNMP agents, network taps, syslog servers, performance dashboards.
- Physical Security – CCTV, biometric access, man‑traps.
- Disaster Recovery – Geo‑redundant data centres, backup links, fail‑over routing.