انتقل إلى المحتوى
لندن، المملكة المتحدة · تأسست عام 1994
العربية

Unit 2: Networking Essentials

How computer networks connect devices and services, the addressing and naming systems that make the internet work, the equipment involved and a structured way to troubleshoot connection problems.

Unit 2 of 5 · about 54 minutes

2.1 How networks work

A network is a group of devices connected so that they can share information and resources. When you send an email, open a shared file, join a video call or print to an office printer, data travels across one or more networks. Understanding the basics helps you work with IT teams, diagnose everyday problems and make sensible decisions about connectivity.

Types of network

  • A local area network (LAN) connects devices within a limited area, such as an office, a school or a home.
  • A wide area network (WAN) connects networks across larger distances, such as an organisation's offices in different cities.
  • The internet is a global network of networks, run by many different organisations that agree to exchange traffic using common rules.
  • A virtual private network (VPN) creates an encrypted connection across the internet, so a remote worker's device can reach the organisation's network securely, as if it were in the office.

Packets and protocols

Data does not travel across a network in one continuous stream. It is broken into small units called packets, each labelled with where it came from and where it is going. Packets may take different routes and are reassembled at the destination. This design makes networks resilient: if one path fails, traffic can be sent another way.

For devices made by different manufacturers to communicate, they must follow shared rules called protocols. The internet relies on a family of protocols usually called TCP/IP:

  • The Internet Protocol (IP) handles addressing and routing, getting each packet towards the right destination.
  • The Transmission Control Protocol (TCP) makes delivery reliable, checking that all packets arrive, in order, and resending any that are lost. It is used for web pages, email and file transfers.
  • The User Datagram Protocol (UDP) is faster but does not guarantee delivery. It suits live audio and video, where a late packet is useless anyway.

Higher-level protocols build on these. HTTP and its secure version HTTPS carry web traffic; other protocols handle email, file transfer and remote administration. Each service is reached on a numbered port, which helps a computer direct incoming traffic to the right program. Web traffic over HTTPS, for example, normally uses port 443.

Layered models

Networking is often explained using layered models. The OSI model has seven layers, from the physical cables and radio signals at the bottom to applications at the top. The simpler TCP/IP model uses four. You do not need to memorise every layer, but the idea is valuable: each layer has its own job and relies on the one below. When troubleshooting, engineers often work up the layers: is the cable connected, does the device have an address, can it reach the router, can it resolve names, does the application respond?

Remember: Most network problems are found at the lower layers: an unplugged cable, a weak Wi-Fi signal or a device without a valid address. Check the simple things first.

Bandwidth and latency

Two measures describe network performance:

  • Bandwidth is the amount of data that can be carried per second, usually measured in megabits or gigabits per second. It is like the width of a road.
  • Latency is the time it takes data to travel from one point to another and back, usually measured in milliseconds. It is like the time a journey takes.

A connection can have high bandwidth but high latency, which suits downloading large files but makes video calls feel awkward. Packet loss, where some packets never arrive, and jitter, where delays vary, also affect real-time applications. Note that internet speeds are usually quoted in megabits, while file sizes are shown in megabytes; there are eight bits in a byte, which explains why downloads seem slower than the advertised speed.

Wired and wireless connections

Wired connections using Ethernet cables are generally faster, more stable and more secure than wireless ones. Wi-Fi offers convenience and mobility but is affected by distance, walls, interference and the number of users sharing it. Many offices use wired connections for desks and fixed equipment and Wi-Fi for meeting rooms and mobile devices. Connections between buildings and to internet providers often use fibre-optic cables, which carry data as pulses of light over long distances.

In practice

When choosing an internet connection for an office, consider not only the advertised download speed but also upload speed, which matters for video calls and cloud backups, as well as reliability, support arrangements and whether a backup connection from a different provider is needed. When video calls are poor, the cause is often latency, jitter or weak Wi-Fi rather than a lack of bandwidth, and a wired connection can make a noticeable difference.

2.2 Addresses, names and network equipment

For data to reach the right place, every device on a network needs an address, and people need a convenient way to find services without remembering numbers. This lesson covers the addressing and naming systems that make this possible and the equipment that moves traffic around.

IP addresses

Every device on an IP network has an IP address. The older and still widely used IPv4 format is written as four numbers between 0 and 255 separated by dots, such as 192.168.1.20. IPv4 offers around four billion addresses, which is not enough for every device in the world. The newer IPv6 format uses much longer addresses written in hexadecimal, providing a vast number of addresses. Many networks now run both.

Several ideas help manage the shortage of IPv4 addresses:

  • Private addresses: certain ranges, including those beginning 10., 192.168. and part of the 172. range, are reserved for use inside organisations and homes and are not used directly on the internet.
  • Network address translation (NAT): a router lets many devices with private addresses share one public address when they connect to the internet.
  • Subnets: larger networks are divided into smaller segments, each with its own range of addresses. A subnet mask indicates which part of an address identifies the network and which part identifies the device.

DHCP

Typing addresses into every device by hand would be slow and error-prone. Instead, most networks use the Dynamic Host Configuration Protocol (DHCP). When a device joins the network, a DHCP server automatically gives it an IP address, the subnet mask, the address of the default gateway (the router that leads to other networks) and the addresses of DNS servers. Servers and printers are often given fixed, or reserved, addresses so that they can always be found in the same place.

DNS

People prefer names to numbers. The Domain Name System (DNS) translates human-friendly names, such as a company's website address, into the IP addresses computers use. It works rather like a distributed directory: your device asks a DNS resolver, which in turn asks other servers across the internet until it finds the answer, then remembers it for a while to speed up future requests. DNS also directs email to the right mail servers and helps verify that email genuinely comes from the domain it claims.

Tip: If websites will not load by name but an IP address still works, the problem is very likely DNS. Many experienced engineers check DNS early when anything strange happens on a network.

Network equipment

DeviceMain job
SwitchConnects devices within a local network and forwards traffic only to the intended device
RouterConnects different networks and decides where to send traffic between them, including to the internet
Wireless access pointLets Wi-Fi devices join the wired network
FirewallAllows or blocks traffic according to security rules
Modem or network terminating equipmentConnects the organisation to the internet provider's line

In homes and small offices, a single box supplied by the internet provider often combines a modem, router, switch, firewall and wireless access point. Larger organisations use separate, more capable devices. Managed switches can divide one physical network into several virtual LANs (VLANs), so that, for example, guest Wi-Fi, staff computers and building systems are kept apart even though they share the same cables.

Wi-Fi essentials

Good Wi-Fi depends on the placement and number of access points, the radio frequency bands used and the security settings. Modern networks should use current encryption standards such as WPA3, or at least WPA2, with strong passwords, and larger organisations typically give each user their own login rather than a shared password. Guest networks should be separated from internal systems.

Common mistakes

  • Leaving default administrator passwords on routers and other network devices.
  • Putting guests, staff and connected devices such as cameras on the same network.
  • Giving two devices the same fixed IP address, which causes intermittent conflicts.
  • Keeping no record of how the network is set up, so nobody can fix it when the person who built it leaves.

In practice

Ask for, or create, a simple network diagram for your office: the internet connection, the router and firewall, the main switches, the access points, and where servers and printers sit, with their fixed addresses. Store the administrator credentials securely in a password manager. These two steps alone make troubleshooting and handovers far easier.

2.3 Troubleshooting network problems

"The internet is down" is one of the most common reports an IT team receives. In reality, the cause may be a single device, a cable, the Wi-Fi, a DNS server, the organisation's internet line or a problem with one particular website. A structured approach saves time, avoids guesswork and helps you explain the problem clearly to colleagues or suppliers.

A structured method

A widely used troubleshooting process follows these steps:

  1. Identify the problem. Gather information: who is affected, what exactly fails, when it started and what changed recently.
  2. Establish a theory of probable cause. Start with the simplest and most likely explanations.
  3. Test the theory. Use checks and tools to confirm or rule it out. If ruled out, form another theory.
  4. Plan and carry out a fix, considering any side effects on other users.
  5. Verify that the service works fully, and take steps to prevent a repeat.
  6. Document what you found and did, so the next person can benefit.

Narrowing down the scope

The single most useful question is how widespread is the problem?

  • One person, one device: suspect the device, its cable or Wi-Fi connection, or its settings.
  • Everyone in one area: suspect a switch, access point or cabling in that area.
  • Everyone in the building: suspect the router, firewall, internet line or a central service such as DNS.
  • Only one website or application, for everyone: the problem may lie with that service or its provider, not your network.

Asking whether anything changed recently, such as an update, a new device, a moved desk or a configuration change, often points straight to the cause.

Useful tools

A few simple command-line tools, available on most operating systems, provide a great deal of information:

  • ipconfig on Windows, or ip and ifconfig on Linux and macOS, shows the device's IP address, subnet mask, gateway and DNS servers. An address beginning 169.254. on Windows usually means the device failed to obtain an address from DHCP.
  • ping sends a small test message to another device and reports whether it replies and how long it took. Pinging the default gateway tests the local network; pinging an external address tests the internet connection.
  • tracert on Windows, or traceroute elsewhere, shows the path packets take, helping locate where along the route a problem occurs.
  • nslookup or dig tests DNS by asking for the address that a name resolves to.

Some networks deliberately block ping replies for security reasons, so a lack of response is a clue, not proof of failure.

Tip: Change one thing at a time and note what you changed. If you restart the router, swap a cable and change a setting all at once, you will not know which action fixed the problem, or which caused a new one.

A worked sequence

Suppose a user cannot reach any websites. A sensible order of checks would be: confirm that the device is connected to the network and the Wi-Fi or cable is working; check that it has a valid IP address; ping the default gateway; ping a well-known external IP address; then test DNS by looking up a website's name. If the gateway responds but external addresses do not, the problem lies beyond the local network, perhaps with the router or internet line. If external addresses respond but names do not resolve, DNS is the likely cause.

Wi-Fi problems

Wireless problems have their own common causes: distance from the access point, physical obstructions, interference from neighbouring networks, too many users on one access point, or a device connected to the wrong network, such as the guest network. Checking signal strength in different locations and comparing with a wired connection quickly shows whether Wi-Fi is the culprit.

Working with providers

When the fault lies with an internet provider or software supplier, clear evidence speeds up resolution. Record the times the problem occurred, which users and sites were affected, the results of your tests and any reference numbers. Check the provider's service status page first, because a known outage may already be under investigation.

In practice

Create a short troubleshooting checklist for your office based on the steps above, including where the network equipment is, how to restart it safely, the internet provider's support number and account reference, and who to contact for escalation. A good checklist allows less experienced colleagues to resolve simple problems and gather useful information about complex ones.

Case study: Solving slow video calls at a recruitment agency

Fenwick Talent, a fictional recruitment agency with thirty staff on one floor, received complaints that video interviews with candidates froze and dropped, particularly in the afternoons. The director's first thought was to buy a faster internet connection.

The office manager, who looked after IT with support from an external provider, followed a structured approach first. She found that the problem affected only people using Wi-Fi in the meeting rooms at the far end of the office, while staff on wired connections were fine. Speed tests showed ample bandwidth, but latency and packet loss rose sharply in those rooms during busy periods.

The provider surveyed the Wi-Fi and found that one ageing access point was serving the whole end of the office, competing with many neighbouring networks on the same channel. They installed two modern access points, adjusted channels and ran network cables to the two main interview rooms. Video calls became stable, the faster internet contract was not needed, and the office manager added the network layout and access point locations to the agency's IT documentation.

Activity

On a computer you are allowed to use, find its IP address, default gateway and DNS servers using the appropriate command or network settings screen. Run a ping test to the default gateway and to a well-known website, and note the response times. Explain what each result tells you about the health of the connection.

Compare with a model answer

A good answer records the details accurately, for example an address of 192.168.1.42, a default gateway of 192.168.1.1 and DNS servers supplied by the router or the organisation. It notes that the address is in a private range, so the device reaches the internet through network address translation.

It reports ping results with approximate times, such as a few milliseconds to the gateway and a larger figure to the website. It explains that a quick reply from the gateway shows the local connection is healthy, that a successful reply from the website shows internet access and working DNS, and that higher times to external sites reflect distance and the number of networks crossed. The best answers note that some sites block ping, so a failed reply is not conclusive on its own.

Key takeaways

  • Networks move data in packets using shared protocols, chiefly the TCP/IP family, with ports directing traffic to the right application.
  • DHCP gives devices their addresses automatically, and DNS translates names into IP addresses.
  • Switches connect devices within a network, routers connect networks, access points provide Wi-Fi and firewalls apply security rules.
  • Bandwidth, latency, packet loss and jitter all affect how a connection performs, especially for video calls.
  • Troubleshoot methodically: establish scope, check simple causes first, test one theory at a time and document the outcome.

Unit check

Create a free account to answer the check, save your progress and receive your free certificate.

Create a free account Log in
← Unit 1 Unit 3 →
WhatsApp