Networking has more abbreviations than almost any other part of computing. In one sentence, a cloud engineer might mention a VPC, a NAT gateway, CIDR, TCP port 443 and a TLS certificate. None of these is hard, but if you don't know the words, every tutorial feels like it's in a foreign language. This lesson is a glossary of the networking terms you'll meet most, grouped by topic, with a one- or two-line explanation of each.
You don't need to memorise it. Read it once to get a feel for the vocabulary, then come back whenever a word in a later lesson stops you. Each term is covered properly in its own module of this course.
What you need first: what is a computer network?
Key terms
- Abbreviation: a short form, such as LAN for local area network. Networking uses hundreds.
- Protocol: an agreed set of rules for communicating. Most networking abbreviations name a protocol.
- Layer: one level of a network model; many terms belong to a particular layer, explained in the OSI model.
- Device: a physical or virtual box that does a networking job, such as a switch or router.
Devices
| # | Term | Meaning |
|---|---|---|
| 1 | Host | Any device that sends or receives data: a laptop, phone or server |
| 2 | NIC (network interface card) | The hardware that connects a device to a network, wired or wireless |
| 3 | Switch | Connects devices within a LAN, sending each frame only to the port it's for |
| 4 | Router | Connects different networks and forwards packets between them |
| 5 | Access point (AP) | Connects Wi-Fi devices to a wired network |
| 6 | Modem | Converts between your ISP's line signal (fibre, DSL, cable) and network data |
| 7 | Hub | An old device that repeated everything to every port; replaced by switches |
| 8 | Firewall | Allows or blocks traffic based on rules |
| 9 | Load balancer | Spreads incoming requests across several servers |
| 10 | Proxy | A server that makes requests on behalf of clients |
| 11 | Gateway | A device that connects one network to another; often means "the router to the outside" |
Addresses and identifiers
| # | Term | Meaning |
|---|---|---|
| 12 | MAC address | A 48-bit hardware address of a network card, like 3C:52:82:1A:9F:04; used inside one LAN |
| 13 | IP address | A device's address on an IP network, like 192.168.1.10 (IPv4) or 2404:6800::200e (IPv6) |
| 14 | IPv4 / IPv6 | Versions 4 (32-bit addresses) and 6 (128-bit addresses) of the Internet Protocol |
| 15 | Port | A number from 0 to 65535 that picks the program on a host, such as 443 for HTTPS |
| 16 | Socket | One end of a connection: an IP address plus a port, like 192.168.1.10:443 |
| 17 | Subnet | A range of IP addresses forming one network, such as 192.168.1.0/24 |
| 18 | Subnet mask | Marks which part of an IP address is the network part, such as 255.255.255.0 |
| 19 | CIDR | Writing a network as address/prefix length, like 10.0.0.0/16 |
| 20 | Default gateway | The router a device sends traffic to when the destination isn't on its own subnet |
| 21 | Public / private IP | Public addresses are reachable on the internet; private ones (10.x, 172.16–31.x, 192.168.x) only inside a network |
| 22 | Loopback | 127.0.0.1 or localhost: the device talking to itself |
| 23 | Hostname / domain name | A human-friendly name, like example.com |
Python's ipaddress module understands most of these ideas already:
import ipaddress
network = ipaddress.ip_network("192.168.1.0/24")
print(network.netmask)
print(network.num_addresses)
print(ipaddress.ip_address("192.168.1.10") in network)
print(ipaddress.ip_address("192.168.1.10").is_private)
print(ipaddress.ip_address("127.0.0.1").is_loopback)
255.255.255.0
256
True
True
True
A /24 network has the mask 255.255.255.0 and 256 addresses. The subnetting module explains why.
Protocols
| # | Term | Meaning |
|---|---|---|
| 24 | Ethernet | The standard for wired LANs: cables, frames and MAC addresses |
| 25 | Wi-Fi (IEEE 802.11) | The standard for wireless LANs |
| 26 | IP | Internet Protocol: addresses packets and gets them across networks |
| 27 | TCP | Reliable, ordered delivery with connections; used for web pages, email, SSH |
| 28 | UDP | Fast, connectionless delivery with no guarantees; used for video calls, games, DNS |
| 29 | ARP | Finds the MAC address that belongs to an IP address on a LAN |
| 30 | DHCP | Gives devices an IP address and settings automatically when they join |
| 31 | DNS | Turns domain names into IP addresses |
| 32 | HTTP / HTTPS | The web's request-and-response protocol; HTTPS is encrypted with TLS |
| 33 | TLS | Encrypts connections and proves a server's identity with a certificate |
| 34 | SSH | Encrypted remote login to servers |
| 35 | ICMP | Error and diagnostic messages; ping uses it |
| 36 | NAT | Lets many private addresses share one public address |
| 37 | BGP | The routing protocol that connects the internet's networks |
| 38 | OSPF | A routing protocol used inside an organisation's network |
| 39 | SMTP / IMAP | Sending email / reading email from a server |
Data and models
| # | Term | Meaning |
|---|---|---|
| 40 | Packet | A unit of data at the network (IP) layer, with source and destination IP addresses |
| 41 | Frame | A unit of data on a link (Ethernet or Wi-Fi), with MAC addresses |
| 42 | Segment | A unit of data at the transport layer (TCP) |
| 43 | Header | Control information added in front of data: addresses, ports, lengths |
| 44 | Encapsulation | Wrapping data in each layer's header on the way down the stack |
| 45 | OSI model | A 7-layer model for describing networks |
| 46 | TCP/IP model | The 4-layer model the internet actually uses |
| 47 | MTU | The largest packet a link can carry, usually 1,500 bytes on Ethernet |
Performance
| # | Term | Meaning |
|---|---|---|
| 48 | Bandwidth | The maximum data rate of a link, such as 100 Mbps |
| 49 | Throughput | The data rate you actually get |
| 50 | Latency | The time for data to travel from one end to the other, in milliseconds |
| 51 | RTT (round-trip time) | Time for a message to go and its reply to come back; ping shows it |
| 52 | Jitter | Variation in latency; bad for calls and games |
| 53 | Packet loss | The share of packets that never arrive |
Security
| # | Term | Meaning |
|---|---|---|
| 54 | VPN | An encrypted tunnel that joins a remote device or site to a private network |
| 55 | Certificate | A signed file that proves a server's identity, used by TLS |
| 56 | DDoS | Flooding a service with traffic from many machines to knock it offline |
| 57 | Man-in-the-middle | An attacker secretly relaying and possibly changing traffic between two parties |
Cloud networking
| # | Term | Meaning |
|---|---|---|
| 58 | VPC / VNet | Your own private network inside a cloud (AWS and Google call it VPC; Azure calls it VNet) |
| 59 | Security group | A cloud firewall attached to servers, allowing only the traffic you choose |
| 60 | CDN | A network of servers around the world that caches content near users; see CDN explained |
Units you'll see
Network speeds are in bits per second; file sizes are usually in bytes. A byte is 8 bits, so they differ by a factor of 8:
| Written | Means |
|---|---|
Mbps (lower-case b) | Megabits per second: how ISPs advertise speed |
MB/s (upper-case B) | Megabytes per second: what download windows often show |
ms | Milliseconds: how latency is measured |
plan_mbps = 100
print(plan_mbps / 8, "MB/s at best")
12.5 MB/s at best
A 100 Mbps plan downloads at about 12.5 MB/s at most. Bandwidth, latency and throughput covers this properly.
Practice
- What's the difference between a MAC address and an IP address?
Show the answer
A MAC address is a fixed hardware address of a network card, used to deliver data within one local network. An IP address is a logical address given to a device on a network, used by routers to deliver data across networks.
- Which protocol does each of these: gives your phone an IP address when it joins Wi-Fi; turns
google.cominto an IP address; encrypts your connection to a bank website?
Show the answer
DHCP, DNS and TLS (HTTPS is HTTP over TLS).
- Use Python to check whether
10.1.5.20is in the network10.1.0.0/16, and whether it's private.
Show the answer
import ipaddress
address = ipaddress.ip_address("10.1.5.20")
print(address in ipaddress.ip_network("10.1.0.0/16"), address.is_private)
True True
- Your ISP says "300 Mbps". What's the fastest a large file could download, in MB/s?
Show the answer
300 ÷ 8 = 37.5 MB/s, before any overhead.
- What's the difference between bandwidth and latency?
Show the answer
Bandwidth is how much data a link can carry per second (like the width of a road). Latency is how long data takes to get from one end to the other (like the travel time). A link can have high bandwidth and still high latency, such as a fast connection to a far-away server.
Key takeaways
- Devices: hosts send and receive; switches connect a LAN; routers connect networks; firewalls filter.
- Addresses: MAC within a LAN, IP across networks, ports for programs; a socket is IP plus port.
- Core protocols: Ethernet and Wi-Fi on links, IP for addressing, TCP and UDP for transport, DNS, DHCP and HTTPS above.
- Performance: bandwidth is capacity, throughput is what you get, latency is delay, jitter is its variation.
- Speeds are in bits per second; divide by 8 for bytes per second.
Frequently asked questions
Do I need to memorise all these terms?
No. Read them once, and look them up when they appear. After a few modules, the common ones become familiar through use.
What is the difference between a gateway and a router?
A router forwards packets between networks. "Gateway" describes a role: the device that connects one network to another. Your "default gateway" is usually just your router's address.
Is a port the same as a socket?
No. A port is just a number (like 443). A socket is a connection endpoint: an IP address together with a port, such as 142.250.183.14:443.
What to learn next
- Start the network models module with the OSI model, layer by layer.
- See how the internet's own model works in the TCP/IP model.
- Revise the start of the course in what is a computer network?