Module 1 · Beginner · Start here

Networking terms every beginner should know

A glossary of 60 networking terms for beginners, grouped by topic: devices, addresses, protocols, performance, security and cloud, each in a line or two.

By theprogrammers team · · 8 min read

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

#TermMeaning
1HostAny device that sends or receives data: a laptop, phone or server
2NIC (network interface card)The hardware that connects a device to a network, wired or wireless
3SwitchConnects devices within a LAN, sending each frame only to the port it's for
4RouterConnects different networks and forwards packets between them
5Access point (AP)Connects Wi-Fi devices to a wired network
6ModemConverts between your ISP's line signal (fibre, DSL, cable) and network data
7HubAn old device that repeated everything to every port; replaced by switches
8FirewallAllows or blocks traffic based on rules
9Load balancerSpreads incoming requests across several servers
10ProxyA server that makes requests on behalf of clients
11GatewayA device that connects one network to another; often means "the router to the outside"

Addresses and identifiers

#TermMeaning
12MAC addressA 48-bit hardware address of a network card, like 3C:52:82:1A:9F:04; used inside one LAN
13IP addressA device's address on an IP network, like 192.168.1.10 (IPv4) or 2404:6800::200e (IPv6)
14IPv4 / IPv6Versions 4 (32-bit addresses) and 6 (128-bit addresses) of the Internet Protocol
15PortA number from 0 to 65535 that picks the program on a host, such as 443 for HTTPS
16SocketOne end of a connection: an IP address plus a port, like 192.168.1.10:443
17SubnetA range of IP addresses forming one network, such as 192.168.1.0/24
18Subnet maskMarks which part of an IP address is the network part, such as 255.255.255.0
19CIDRWriting a network as address/prefix length, like 10.0.0.0/16
20Default gatewayThe router a device sends traffic to when the destination isn't on its own subnet
21Public / private IPPublic addresses are reachable on the internet; private ones (10.x, 172.16–31.x, 192.168.x) only inside a network
22Loopback127.0.0.1 or localhost: the device talking to itself
23Hostname / domain nameA 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

#TermMeaning
24EthernetThe standard for wired LANs: cables, frames and MAC addresses
25Wi-Fi (IEEE 802.11)The standard for wireless LANs
26IPInternet Protocol: addresses packets and gets them across networks
27TCPReliable, ordered delivery with connections; used for web pages, email, SSH
28UDPFast, connectionless delivery with no guarantees; used for video calls, games, DNS
29ARPFinds the MAC address that belongs to an IP address on a LAN
30DHCPGives devices an IP address and settings automatically when they join
31DNSTurns domain names into IP addresses
32HTTP / HTTPSThe web's request-and-response protocol; HTTPS is encrypted with TLS
33TLSEncrypts connections and proves a server's identity with a certificate
34SSHEncrypted remote login to servers
35ICMPError and diagnostic messages; ping uses it
36NATLets many private addresses share one public address
37BGPThe routing protocol that connects the internet's networks
38OSPFA routing protocol used inside an organisation's network
39SMTP / IMAPSending email / reading email from a server

Data and models

#TermMeaning
40PacketA unit of data at the network (IP) layer, with source and destination IP addresses
41FrameA unit of data on a link (Ethernet or Wi-Fi), with MAC addresses
42SegmentA unit of data at the transport layer (TCP)
43HeaderControl information added in front of data: addresses, ports, lengths
44EncapsulationWrapping data in each layer's header on the way down the stack
45OSI modelA 7-layer model for describing networks
46TCP/IP modelThe 4-layer model the internet actually uses
47MTUThe largest packet a link can carry, usually 1,500 bytes on Ethernet

Performance

#TermMeaning
48BandwidthThe maximum data rate of a link, such as 100 Mbps
49ThroughputThe data rate you actually get
50LatencyThe time for data to travel from one end to the other, in milliseconds
51RTT (round-trip time)Time for a message to go and its reply to come back; ping shows it
52JitterVariation in latency; bad for calls and games
53Packet lossThe share of packets that never arrive

Security

#TermMeaning
54VPNAn encrypted tunnel that joins a remote device or site to a private network
55CertificateA signed file that proves a server's identity, used by TLS
56DDoSFlooding a service with traffic from many machines to knock it offline
57Man-in-the-middleAn attacker secretly relaying and possibly changing traffic between two parties

Cloud networking

#TermMeaning
58VPC / VNetYour own private network inside a cloud (AWS and Google call it VPC; Azure calls it VNet)
59Security groupA cloud firewall attached to servers, allowing only the traffic you choose
60CDNA 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:

WrittenMeans
Mbps (lower-case b)Megabits per second: how ISPs advertise speed
MB/s (upper-case B)Megabytes per second: what download windows often show
msMilliseconds: 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

  1. 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.

  1. Which protocol does each of these: gives your phone an IP address when it joins Wi-Fi; turns google.com into an IP address; encrypts your connection to a bank website?
Show the answer

DHCP, DNS and TLS (HTTPS is HTTP over TLS).

  1. Use Python to check whether 10.1.5.20 is in the network 10.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
  1. 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.

  1. 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

  1. Start the network models module with the OSI model, layer by layer.
  2. See how the internet's own model works in the TCP/IP model.
  3. Revise the start of the course in what is a computer network?