3. Networks

Lans And Wans

LANs and WANs 🌐

Welcome, students! In this lesson, you will learn how networks are grouped into Local Area Networks and Wide Area Networks, why these two types matter, and how they fit into the IB Computer Science SL topic of Networks. By the end of the lesson, you should be able to explain the meaning of a LAN and a WAN, compare their features, and connect them to real-world systems such as school networks, home Wi-Fi, and the internet. You will also see how they support data transmission, network structures, and security and reliability. πŸ“Ά

What is a network?

A network is a set of devices connected so they can share data and resources. These devices can include computers, printers, phones, servers, routers, and switches. Networks let people communicate, store files, print documents, access shared apps, and connect to the internet.

In IB Computer Science SL, networks are important because they show how information moves between devices. For example, when students sends a message from a phone to a friend, the data may travel through a local network first and then through larger networks that connect cities, countries, and continents.

Two key types of networks are LANs and WANs. These terms describe the size and area covered by the network.

LAN: Local Area Network 🏫

A LAN is a network that covers a small geographic area, such as a classroom, school, office, home, or a single building. Devices in a LAN are usually close together and connected by a shared communication system.

A school computer lab is a good example. All the computers may connect to a switch in the same room or building. The printer, student computers, and teacher computer can all communicate quickly because the distance is short.

Main features of a LAN

  • A LAN covers a small area.
  • It is usually owned and managed by one organization, such as a school or company.
  • It often has high speed and low delay because devices are close together.
  • It commonly uses Ethernet cables, Wi-Fi, or both.
  • It is easier to secure than a large public network because the number of users is limited.

In many LANs, devices are connected using switches. A switch sends data only to the device that needs it, which makes communication efficient. A router may also be part of a LAN if the network connects to other networks or to the internet.

Example of a LAN

Imagine a school library with 20 computers, a printer, and a server. Students log in to the server to access files. The computers are connected through a switch, and the whole system is managed by the school’s IT staff. This is a LAN because it is limited to one local site and controlled by one organization.

Why LANs are useful

LANs are useful because they allow fast sharing of data and resources. For example, multiple students can use the same printer, or workers in an office can access a shared database. Since the network is local, communication is usually quick and reliable.

WAN: Wide Area Network πŸ—ΊοΈ

A WAN is a network that covers a large geographic area. It can connect LANs in different buildings, cities, countries, or even continents. A WAN often uses public or leased communication links to move data over long distances.

The most famous WAN is the internet. The internet is not just one network; it is a global network of connected networks. Many LANs connect to WANs so they can communicate with other LANs far away.

Main features of a WAN

  • A WAN covers a large area.
  • It connects multiple LANs or smaller networks.
  • It often uses routers to direct data between networks.
  • It usually has lower speed and higher delay than a LAN because data travels farther.
  • It may be owned by one organization or shared across many organizations and service providers.

Example of a WAN

A company may have an office in London, another in Nairobi, and another in Singapore. Each office has its own LAN. The company uses a WAN to connect these LANs so staff can share files, use video calls, and access the same central database. The WAN may be built using leased lines, fiber connections, or secure virtual private network links.

Why WANs are useful

WANs allow communication across long distances. This makes it possible to use cloud services, send email globally, stream videos, and access websites. Without WANs, each local network would remain isolated and could not easily communicate with distant networks.

Comparing LANs and WANs πŸ“Š

students, understanding the difference between LANs and WANs is essential for IB Computer Science SL because many exam questions ask you to compare network types or explain their use in a scenario.

| Feature | LAN | WAN |

|---|---|---|

| Geographic size | Small | Large |

| Example | School network | Internet or company network across countries |

| Speed | Usually faster | Usually slower than LAN |

| Delay | Lower latency | Higher latency |

| Ownership | Usually one organization | Often shared by multiple organizations |

| Cost | Lower to set up and maintain | Higher to set up and maintain |

| Security | Easier to manage locally | Harder because data crosses many networks |

A useful memory tip is this: a LAN is local, while a WAN is wide. The words themselves give the clue.

Real-world comparison

Think about a home Wi-Fi network. Your laptop, phone, and smart TV are all part of the same LAN. When you watch a video online, your data leaves the LAN and travels through a WAN to reach the server that stores the video. So one action can involve both network types working together.

How LANs and WANs work together πŸ”—

LANs and WANs are not separate in real life; they are connected. A LAN usually acts as the local network for a home, school, or office. A router connects that LAN to a WAN so it can access remote systems.

A common path for data is:

  1. Your device sends data to a switch or wireless access point.
  2. The LAN delivers the data to a router.
  3. The router sends the data into the WAN.
  4. The WAN carries the data across large distances.
  5. Another router delivers the data to the destination LAN.
  6. The destination device receives the data.

This idea is important for understanding internet systems. The internet works because billions of devices belong to local networks, and those networks are linked together through larger communication networks.

LANs, WANs, and IB Computer Science SL reasoning 🧠

IB Computer Science SL often asks students to justify design choices. That means you should be able to explain why a LAN or WAN is suitable for a situation.

Example question style

A small business wants to connect computers in one office. Should it use a LAN or a WAN?

The answer is a LAN, because all devices are in one location. A LAN is cheaper, faster, and easier to manage for a single office.

Another example:

A university has campuses in different cities and wants them to share student records.

The answer is a WAN, because the network must connect locations over a large area.

Applying reasoning

When choosing between LAN and WAN, think about:

  • How far apart the devices are
  • Who owns and controls the network
  • How fast communication must be
  • How much the network will cost
  • How secure the data needs to be

For example, a bank with branches in many locations needs a WAN so staff can access the same account system. But each branch also has its own LAN for local computers, printers, and phones.

Security and reliability in LANs and WANs πŸ”’

Security and reliability are part of the broader Networks topic, and LANs and WANs are directly linked to both.

A LAN is usually easier to protect because it is small and controlled by one organization. Administrators can set passwords, manage users, update devices, and restrict access. However, a LAN is not automatically safe. If someone gains access to the building or a wireless password, they may be able to join the network.

A WAN is harder to secure because data passes through many links and routers. To protect data across a WAN, organizations may use encryption, authentication, firewalls, and virtual private networks. These tools help prevent unauthorized access and reduce the risk of interception.

Reliability is also important. If one cable or device fails in a LAN, the local network may stop working for some users. In a WAN, reliability depends on multiple communication paths and service providers. Large networks often use redundant routes so data can take another path if one route fails.

Conclusion βœ…

LANs and WANs are two fundamental network types in IB Computer Science SL. A LAN connects devices over a small area such as a home, school, or office, while a WAN connects networks over a much larger area, such as across cities or countries. LANs are usually faster, cheaper, and easier to manage, while WANs are essential for long-distance communication and for connecting many LANs together.

Understanding LANs and WANs helps students explain real-world systems, compare network structures, and reason about performance, security, and reliability. These ideas also support the wider Networks topic because they show how local communication becomes global communication through interconnected systems. 🌍

Study Notes

  • A network is a set of connected devices that share data and resources.
  • A LAN is a Local Area Network that covers a small area, such as a room, building, school, or home.
  • A WAN is a Wide Area Network that covers a large area, such as a city, country, or continent.
  • LANs are usually faster, cheaper, and easier to secure than WANs.
  • WANs connect multiple LANs and are used for long-distance communication.
  • A school network is usually a LAN; the internet is a WAN made of many connected networks.
  • Switches are common inside LANs because they direct data efficiently to the correct device.
  • Routers connect LANs to WANs and help send data between networks.
  • Real systems often use both LANs and WANs together.
  • For IB Computer Science SL, be ready to compare LANs and WANs by area, speed, cost, ownership, and security.
  • A good exam answer should explain why a LAN or WAN is suitable for a given scenario.
  • LANs and WANs are important because they support data transmission, internet systems, security, and reliability.

Practice Quiz

5 questions to test your understanding