Transmission Performance, Wireless and Network Security
IB Computer Science · Networks
Three different measurements. Bandwidth is the maximum capacity of a link in bits per second. Latency is the delay before data begins to arrive, determined largely by distance and by the number of hops. Throughput is the rate actually achieved, which is lower than bandwidth because of protocol overhead, congestion and retransmission. A satellite link can have high bandwidth and high latency at the same time: it transfers a large file well but makes an interactive video call unpleasant. Confusing these three is the single most common error in this topic.
What limits real performance. The medium — fibre, copper or radio — sets an upper bound. Congestion reduces throughput when many users share a link. Distance and the number of intermediate devices add latency. Interference and obstacles degrade wireless links. Protocol overhead consumes part of the capacity, since every packet carries headers. Compression raises effective throughput by sending fewer bits: lossless compression removes redundancy and can be reversed exactly, and must be used for code and documents; lossy compression discards information that human perception will not miss and achieves far higher ratios, which is why it is used for media.
Wireless. Radio brings mobility, cheap installation with no cabling, and easy addition of devices. Its costs are shared bandwidth among all devices on the same channel, degradation with distance and obstacles, interference from other transmitters, and above all the fact that the signal propagates beyond the walls of the building, so anyone within range can receive it. That last point is why wireless security is a different problem, not merely a harder one.
Security measures and what each actually achieves. Encryption protects confidentiality: an intercepted message is unreadable. Authentication establishes who a party is, through passwords, tokens or biometrics, and is strongest when two independent factors are combined. A firewall filters traffic by rules and controls what may cross the network boundary. A VPN encrypts traffic across a public network so that remote work is as safe as being on site. MAC address filtering is weak, because MAC addresses are transmitted in clear and can be copied. WEP is broken and must not be used; WPA2 and WPA3 are the current standards. Two principles hold generally: security is a stack of independent layers rather than one measure, and the human being is usually the weakest layer, which is why social engineering succeeds against technically strong systems.
Worked example: Bandwidth, latency and throughput — three quantities that cannot substitute for one another
A school switches from a 100 Mb/s cable link with 10 ms latency to a 500 Mb/s satellite link with 600 ms latency. Users report that large file downloads are much faster but online meetings and working with applications on the server are clearly worse. Explain, and state how to handle it.
Solution
Why the large file downloads faster. For a large file, transfer time is dominated by bandwidth. A latency of 600 ms only affects when the first byte arrives; after that, data flows continuously at the line speed. For a 500 MB file, the portion of time caused by latency is less than one second out of a total of many seconds, so it is almost negligible compared with a fivefold increase in bandwidth.
Why online meetings are worse. Real-time conversation is dominated by latency, not bandwidth. A round trip of 1.2 seconds means the pause between one person finishing and the other reacting is longer than a second, so the two sides keep talking over each other. No amount of bandwidth fixes this, because the cause is the physical distance the signal must travel via the satellite.
Why server-based applications are much worse than predicted. This is the subtle part and where the marks are earned. Many applications make a long series of small back-and-forth exchanges: each user action can trigger dozens of request-response turns between client and server. Each turn costs one round trip, so 30 exchanges multiplied by 1.2 seconds is 36 seconds for an action that should take less than a second over the cable. The problem lies in the number of exchanges, not the amount of data.
Throughput is the third quantity and it is affected too. TCP adjusts its sending rate based on the acknowledgments it receives. With very high latency, the sender must wait a long time to learn that data has arrived, so if the sending window is not large enough, the actual throughput is far lower than the nominal bandwidth even though the line is completely idle.
The solution. Keep the satellite link for bulk downloads, backups and updates, which tolerate latency. Keep or lease a low-latency cable link, even with smaller bandwidth, for online meetings and for applications with many exchanges, and route traffic by type. For those applications themselves, reduce the number of exchanges by combining several requests into one and caching data on the client side. The principle to take away: increasing bandwidth solves a volume problem, not a latency problem, and only redesigning the application can reduce the number of exchanges.
Worked example: Designing layered security for a school wireless network
A school has Wi-Fi covering the whole campus, shared by teachers, students and guests. Propose layered security measures, and state clearly what each measure protects against and what it does NOT protect against.
Solution
Layer 1 — encrypt the link with WPA3, or at minimum WPA2. Protects: the confidentiality of traffic over the air, so someone sitting outside the school gate capturing the signal cannot read the content. Does not protect: anything once the user is connected. WEP must never be used because it has been completely broken and can be cracked in minutes.
Layer 2 — separate the network using virtual LANs. Split into three separate logical networks: teachers, students and guests. Protects: it limits the damage — a student's machine infected with malware cannot attack the grades server in the teacher network, and the guest network cannot reach internal resources at all. This is the most cost-effective measure in this situation. Does not protect: a stolen teacher account still has full teacher privileges.
Layer 3 — authenticate each user instead of using one shared Wi-Fi password. Protects: it allows tracing who did what, allows revoking one person's access without changing the password for the whole school, and prevents a shared password from spreading outside. For teacher accounts, two-factor authentication should be enabled, because these are high-privilege accounts. Does not protect: users who voluntarily give their password to a scammer.
Layer 4 — firewall and content filtering at the network boundary. Protects: it controls inbound and outbound traffic by rules, blocking unneeded ports and known malicious addresses. Does not protect: traffic between two machines inside the same network, because it does not cross the boundary.
Layer 5 — virtual private network for remote access. Protects: teachers working from home or on public Wi-Fi still have an encrypted tunnel to the school. Does not protect: an infected personal computer, because a VPN only protects the transmission and does not inspect the end device.
Why MAC address filtering should not count as a real layer. The MAC address is transmitted unencrypted in every frame, so anyone eavesdropping can read a valid address and set their own machine's address to it. It creates a false sense of security while costing a lot of effort to manage a very large list.
The final layer, and the weakest — people. Most successful intrusions do not break the encryption but persuade a person to hand over their login details. So phishing-awareness training, a clear rule that the IT department never asks for passwords, and a simple procedure for reporting suspicious incidents are measures as valuable as the technical layers above.
Common mistake
Trap 1 — confusing bandwidth, latency and throughput. Bandwidth is the maximum capacity; latency is the wait before data starts to arrive; throughput is the actual speed achieved. A link can have both high bandwidth and high latency, and increasing bandwidth never fixes a latency problem.Trap 2 — treating MAC address filtering as a real security measure. MAC addresses are transmitted unencrypted so they are easily copied; it only creates a false sense of security.
Trap 3 — saying asymmetric encryption is more secure so it should be used for everything. It is hundreds of times slower. Real systems use a HYBRID model: asymmetric only to exchange the session key, then symmetric for all the data.