Software Engineering
Design, run and secure networks: TCP/IP, routing, switching, wireless, firewalls, cloud and automation.
A path from networking fundamentals to the daily work of a network engineer. It starts with terminology, protocols and the OSI and TCP/IP models, then covers addressing and subnetting, routing and switching, VPNs and Wi-Fi, high availability and QoS, network security, troubleshooting, cloud networking and automation. Each subject links RFCs, vendor documentation or other authoritative references.
The subjects follow the roadmap.sh Network Engineer roadmap.
A network engineer designs, builds and keeps running the links, devices and protocols that move packets between machines — from a branch office LAN to a data-centre fabric or a cloud VPC. The job mixes protocol knowledge, vendor CLI work, security and, more and more, automation.
Independent networks (autonomous systems) exchange routes with BGP and hand packets to each other at peering points and transit providers. DNS turns names into addresses, IP gets packets between hosts, and TCP or UDP carries them to the right application.
The vocabulary every later topic assumes: who talks (clients, servers, hosts), what travels (frames, packets), how fast and how late (bandwidth, throughput, latency) and through which endpoints (ports, sockets). Getting these words exact makes vendor docs and RFCs far easier to read.
The side that opens a connection and asks for something — a browser, ssh, a DNS stub resolver. It usually uses a short-lived ephemeral source port.
A process (and by extension a machine) that listens on a known port and answers requests from many clients, such as a web, DNS or DHCP server.
Any device with an IP address that sends or receives traffic as an endpoint: laptops, servers, printers, phones. Routers forward traffic for others; hosts originate and consume it.
Better known as a packet: the layer-3 unit with an IP header (source, destination, TTL, protocol) and a payload. Large messages are split into many packets that may take different paths.
The layer-2 unit on a single link. An Ethernet frame wraps a packet with destination and source MAC addresses, an EtherType and a CRC trailer; switches forward frames, routers rewrite them hop by hop.
The maximum bit rate a link can carry, such as 1 Gbit/s on a copper port. It is a ceiling, not what applications actually get.
How long data takes to get somewhere, usually measured as round-trip time with ping. It adds up from propagation, serialisation, queuing and processing delay, and it caps TCP throughput on long paths.
The rate of useful data actually delivered, always below bandwidth because of headers, retransmissions, congestion and window sizes. Measure it with tools like iperf3 rather than trusting link speed.
An agreed set of message formats and rules — what each side sends, in what order and how errors are handled. Internet protocols are specified in RFCs published by the IETF.
A 16-bit number that lets TCP and UDP deliver traffic to the right process on a host. Well-known ports (22, 53, 443) are assigned by IANA; clients pick ephemeral ports for their side.
The operating-system endpoint a program reads from and writes to, identified by protocol, local and remote address and port. A TCP connection is uniquely named by that 5-tuple; ss -tanp lists them on Linux.
Copper twisted pair (Cat5e/6/6A, up to 100 m per run), single- and multi-mode fibre for long or fast links, coax, and radio. The medium decides distance, speed, interference and cost.
A network is a set of devices connected so they can exchange data. Networks are classed by reach (personal, local, metropolitan, wide area), by purpose (storage, VPN) and by who serves whom (client-server or peer-to-peer).
A local area network covers one building or campus, typically switched Ethernet plus Wi-Fi, with high speed and low latency under one administration.
A wide area network joins sites over long distances using leased lines, MPLS, broadband with VPNs or SD-WAN. Bandwidth is costlier and latency higher than on a LAN.
A metropolitan area network spans a city, often a fibre ring run by a carrier or municipality that links campuses and offices.
A wireless LAN built on IEEE 802.11 (Wi-Fi), where access points bridge radio clients onto the wired network.
A personal area network of a few metres around one person — Bluetooth headphones, a watch paired with a phone, USB peripherals.
A storage area network gives servers block-level access to shared disks over Fibre Channel or iSCSI, kept separate from user traffic for predictable performance.
A virtual private network carries private traffic over a shared network inside an encrypted tunnel, either joining whole sites or connecting individual remote users.
Networks rented from a provider and defined in software: VPCs, subnets, route tables and managed gateways you create through an API instead of racking hardware.
Central servers provide services and clients consume them. Easier to secure, back up and manage, but the server is a bottleneck and a single point of failure unless made redundant.
Every node is both client and server, sharing resources directly — BitTorrent, some VoIP and small home workgroups. It scales with participants but is harder to control and secure.
The transport and control protocols almost everything else rides on. Knowing their headers and behaviour by heart — handshakes, retransmissions, error messages — is what lets you read a packet capture.
Connection-oriented, reliable, ordered byte stream: three-way handshake, sequence numbers, acknowledgements, sliding windows and congestion control. Watch for retransmissions, zero windows and RSTs in captures.
Connectionless datagrams with only ports, length and checksum — no delivery or ordering guarantees. Used by DNS, DHCP, VoIP, games and QUIC, which builds its own reliability on top.
IP's control and error channel: echo request/reply for ping, time exceeded for traceroute, destination unreachable and the fragmentation-needed message that path MTU discovery depends on — so do not block it wholesale.
The protocols users and services actually speak. A network engineer needs their ports, transports and failure modes, because "the network is down" tickets are usually about one of them — most often DNS.
The request/response protocol of the web on TCP 80, or 443 with TLS. HTTP/2 multiplexes streams on one connection and HTTP/3 runs over QUIC on UDP 443.
A full-duplex channel that starts as an HTTP Upgrade request and then keeps one TCP connection open. Proxies and load balancers need long idle timeouts to avoid cutting it.
TLS encrypts and authenticates connections using certificates; SSL and TLS 1.0/1.1 are deprecated. TLS 1.3 needs one round trip for the handshake and removed weak ciphers.
Encrypted remote shell on TCP 22 and the standard way to manage network devices. Use key authentication, disable Telnet, and learn port forwarding (-L, -R) and jump hosts (-J).
FTP sends credentials in clear text and uses separate control and data connections (active vs passive mode), which complicates NAT and firewalls. SFTP is a different protocol that runs as an SSH subsystem on a single connection.
Keeps clocks in sync over UDP 123 using a hierarchy of strata. Accurate time matters for logs, certificates, Kerberos and correlating events across devices.
A simplified NTP client mode without the full filtering and clock discipline algorithms, fine for end devices and small appliances that only need roughly correct time.
SMTP moves mail between servers (port 25) and accepts submissions from clients (587 with STARTTLS). IMAP (993 over TLS) lets clients read and organise mail kept on the server.
The distributed name system: stub resolvers ask recursive resolvers, which walk from the root to authoritative servers and cache answers by TTL. Know the record types (A, AAAA, CNAME, MX, NS, PTR, TXT) and that it uses UDP and TCP 53.
Hands out addresses, gateway and DNS servers through the Discover, Offer, Request, Acknowledge exchange. Clients broadcast, so routed subnets need a DHCP relay (ip helper-address) toward the server.
Public recursive resolvers you can point clients or forwarders at instead of the ISP's. They differ in privacy policy, filtering and support for encrypted DNS (DoT/DoH), and are handy for telling a local DNS fault from a global one.
1.1.1.1 and 1.0.0.1, an anycast resolver focused on speed and privacy, with DoH/DoT and filtered variants for malware (1.1.1.2) and adult content (1.1.1.3).
Google Public DNS on 8.8.8.8 and 8.8.4.4 (plus IPv6 addresses), an unfiltered resolver with DNSSEC validation and DoH/DoT support.
Cisco's resolver (208.67.222.222 and 208.67.220.220) with optional category-based filtering, often used by schools and small businesses for content control.
A non-profit resolver on 9.9.9.9 that blocks domains listed in threat-intelligence feeds and does not log client IP addresses.
The hardware that moves traffic, each working at a different layer: hubs repeat bits, switches forward frames by MAC address, routers forward packets by IP prefix, and access points bridge radio clients onto the wire. Modern boxes often blend roles, such as layer-3 switches.
Forward packets between networks using a routing table filled by static routes and routing protocols, choosing the longest matching prefix. They also commonly do NAT, ACLs and VPN termination.
Learn which MAC address sits on which port and forward frames only there, giving each port its own collision domain. Managed switches add VLANs, trunks, STP and port security.
An obsolete layer-1 repeater that copies every bit to every port, so all devices share one half-duplex collision domain. Useful mainly to understand why switches replaced it.
Convert digital data to and from the signal a provider's line carries — DSL, DOCSIS cable, fibre ONTs or cellular. Consumer boxes usually bundle a router, switch and Wi-Fi as well.
Bridge 802.11 clients onto the wired LAN, broadcasting one or more SSIDs mapped to VLANs. Enterprise APs are usually PoE-powered and managed centrally by a controller or cloud service.
A seven-layer reference model for describing where a function lives, from bits on the wire to application data. Real stacks follow TCP/IP instead, but engineers still say "layer 2 problem" or "L7 load balancer", and troubleshooting bottom-up through the layers is a reliable habit.
Layer 1: cables, connectors, optics, radio and the encoding of bits onto them. Faults show up as down links, CRC errors, bad optics levels or duplex mismatches.
Layer 2: framing and delivery on one link or broadcast domain using MAC addresses — Ethernet, 802.11, VLAN tags, ARP and STP live here.
Layer 3: logical addressing and routing across networks. IPv4, IPv6, ICMP and the routing protocols operate here.
Layer 4: end-to-end delivery between processes using ports, with TCP adding reliability and flow control and UDP keeping it minimal. Firewalls and load balancers commonly decide at this layer.
Layer 5: setting up, maintaining and tearing down dialogues between applications. In TCP/IP these duties are folded into the application or protocols like TLS and RPC frameworks.
Layer 6: data representation — character encoding, serialisation formats, compression and encryption. Again mostly handled inside applications in practice.
Layer 7: the protocols applications speak, such as HTTP, DNS and SMTP. In the TCP/IP model this one layer covers OSI layers 5 to 7.
The four-layer model the Internet is actually built on: network access, internet, transport and application. Each layer adds its own header as data goes down the stack and strips it on the way up, which is exactly what you see in a packet capture.
Also called the link layer: everything needed to put a packet on the local medium, combining OSI layers 1 and 2 — Ethernet, Wi-Fi, ARP and the physical signalling.
The layer that gets packets from source host to destination host across many networks, using IP addressing and routing. It is best-effort: no delivery guarantee.
How to lay out a network so it scales, survives failures and stays understandable. Campus networks usually follow a hierarchical tiered model, while data centres use leaf-spine fabrics built for east-west traffic.
A collapsed core: access switches uplink to a pair of combined core/distribution switches. Cheaper and simpler, and the right choice for small and mid-sized campuses.
Access, distribution and core layers, each with a clear job: connecting users, applying policy and aggregating, and fast transport between distribution blocks. It suits large campuses with many buildings.
Every leaf switch connects to every spine, so any two servers are the same number of hops apart and ECMP spreads load across all links. Scale by adding leaves for ports or spines for bandwidth.
Remove single points of failure, keep failure domains small, summarise routes at boundaries, use consistent naming and addressing plans, document everything, and choose the simplest design that meets the requirements.
Labs let you build topologies, break them and practise vendor CLIs without buying hardware. Simulators model device behaviour; emulators run real network operating system images, which is closer to production but heavier on RAM.
Cisco's free simulator for CCNA-level study. Easy to start with but it only simulates a subset of IOS features, so advanced protocols may behave differently.
An open-source emulator that runs real router, switch and firewall images in QEMU, Dynamips or Docker, and can bridge labs to real networks.
A browser-based multi-vendor emulation platform, popular for large labs and certification practice; it runs as its own VM or on bare metal.
Linux runs most servers, many network operating systems and nearly every automation host, so you need its networking tools: ip for addresses, links and routes, ss for sockets, nft for firewalling, tcpdump for captures.
Bash glue — loops, pipes, grep, awk, ssh in a for loop — for checking many devices or parsing output quickly. Move to Python once logic or error handling grows.
Every interface needs an address that says which network it is on and which host it is. Addressing plans, address translation and the link between IP and MAC addresses underpin routing, firewalling and troubleshooting.
A logical layer-3 address: 32 bits for IPv4 written as dotted decimal, 128 bits for IPv6 in hex. It is split into a network prefix and a host part.
A 48-bit hardware address used on the local link, written like 00:1a:2b:3c:4d:5e; the first half identifies the vendor (OUI). Phones and laptops now randomise it per Wi-Fi network.
Finds the MAC address for an IPv4 address on the same subnet by broadcasting a request and caching the reply (ip neigh). IPv6 uses Neighbor Discovery instead. ARP spoofing is a classic LAN attack.
IPv4 has about 4.3 billion addresses and leans on NAT; IPv6 has 128-bit addresses, SLAAC autoconfiguration, no broadcast and a simpler fixed header. Most networks run both (dual stack).
Public addresses are globally routable; private ranges (10/8, 172.16/12, 192.168/16) are reused inside organisations and must be translated to reach the Internet.
The IP address names the final destination and stays the same end to end; the MAC address names the next hop on this link and changes at every router; ARP is the lookup that connects the two.
NAT rewrites addresses as traffic crosses a boundary. Basic NAT maps addresses one to one; PAT also rewrites ports so many inside hosts share one public address.
Static NAT is a permanent one-to-one mapping, used to publish an inside server. Dynamic NAT assigns public addresses from a pool as hosts start sessions and frees them afterwards.
Many private hosts share one public address, told apart by translated source ports — what every home router does. Inbound connections need explicit port forwards, and very busy sites can exhaust ports.
Lets IPv6-only clients reach IPv4 servers by translating between the two, usually paired with DNS64, which synthesises AAAA records inside the 64:ff9b::/96 prefix.
Splitting an address block into smaller networks to limit broadcast domains, apply policy and use space efficiently. Practise until you can work out network, broadcast and host range for any prefix in your head.
A mask such as 255.255.255.192 marks which bits are network and which are host. ANDing an address with the mask gives the network address; a /26 has 64 addresses and 62 usable hosts.
Classless notation (10.1.0.0/16) that replaced class A/B/C, letting prefixes be any length and routes be aggregated.
Using different prefix lengths inside one block — a /30 or /31 for a point-to-point link, a /24 for a user VLAN — so addresses are not wasted. Allocate the largest subnets first.
Combining contiguous networks into one shorter prefix (four /24s into a /22) to shrink routing tables. It only works if the blocks line up on the right boundary.
Choosing the next hop for each packet. Routers pick the longest prefix match, break ties by administrative distance and metric, and fill their tables from connected networks, static routes and dynamic protocols.
Static routes are typed by hand: predictable and cheap but they do not react to failures. Dynamic protocols learn and recompute paths automatically at the cost of complexity and CPU.
The router a host sends traffic to when the destination is not on its own subnet — the 0.0.0.0/0 route. A wrong gateway or mask gives "local works, remote doesn't" symptoms.
Forwards on short labels pushed at the network edge instead of IP lookups at every hop. Providers use it for traffic engineering and to carry customer VPNs over a shared core.
Overlays tunnels across several underlays (broadband, LTE, MPLS) and steers each application over the best path based on measured loss and latency, with central policy and zero-touch provisioning.
Virtual routing and forwarding instances: separate routing tables on one device, so overlapping address spaces or tenants stay isolated. They are the building block of MPLS L3VPNs and management networks.
Protocols routers use to share reachability. Interior gateway protocols (RIP, OSPF, EIGRP) run inside one organisation and aim for fast convergence; BGP runs between organisations and is all about policy.
A distance-vector protocol using hop count with a maximum of 15, sending full tables periodically. Slow to converge and mostly of historical and exam interest now.
A link-state IGP: routers flood LSAs, build the same map and run Dijkstra to compute shortest paths by cost. Areas around backbone area 0 keep large networks scalable.
Cisco's advanced distance-vector protocol using the DUAL algorithm and pre-computed feasible successors for very fast failover. Published as an informational RFC but still mostly found on Cisco gear.
The path-vector protocol that glues the Internet together, run over TCP 179 between autonomous systems. Route choice follows policy through attributes like local preference, AS path and MED; it is also used inside data centres.
Moving frames within layer-2 domains: learning MAC addresses, segmenting with VLANs, preventing loops and bundling links. Most campus outages that are not DNS turn out to be layer 2.
Split one physical switch fabric into separate broadcast domains. Access ports carry one VLAN untagged; trunk ports carry many with 802.1Q tags. Inter-VLAN traffic must be routed.
Tunnels layer-2 frames inside UDP (port 4789) so segments can stretch across a routed fabric, with a 24-bit ID allowing about 16 million segments. Usually paired with an EVPN control plane.
Spanning Tree elects a root bridge and blocks redundant paths so frames cannot loop forever. Use Rapid PVST+ or MSTP, set the root deliberately, and enable BPDU guard on edge ports.
Bundles several physical links into one logical link (LACP, 802.3ad) for more bandwidth and redundancy. Each flow is hashed onto one member, so a single flow never exceeds one link's speed.
The CAM table a switch fills by noting each frame's source MAC and port, with entries ageing out after a few minutes. Unknown destinations are flooded; show mac address-table locates a host.
Tunnels wrap one packet inside another so traffic can cross a network that would not carry it natively; VPNs add encryption and authentication. Watch the extra headers — they shrink the MTU and cause fragmentation bugs.
IPsec protects traffic at layer 3, negotiated by IKE, and suits site-to-site links. SSL/TLS VPNs run over TCP or UDP 443, pass through most firewalls easily and are common for remote users.
Site-to-site VPNs join whole networks gateway to gateway and are always on. Remote-access VPNs connect individual devices via a client, with per-user authentication and often split tunnelling.
A provider-run VPN where customer routes live in separate VRFs and travel across the MPLS core with BGP. It isolates customers without encrypting their traffic.
GRE can carry multicast and routing protocols but has no encryption; running it inside IPsec gives both, a common way to run OSPF or BGP between sites.
Designing and running Wi-Fi: picking standards and channels, placing access points, managing them centrally and securing them. Radio is a shared, half-duplex medium, so airtime — not raw link rate — is what you are budgeting.
Wi-Fi 4 (802.11n), Wi-Fi 5 (802.11ac, 5 GHz), Wi-Fi 6/6E (802.11ax, adding 6 GHz) and Wi-Fi 7 (802.11be). Newer standards bring wider channels, OFDMA and better efficiency when many clients share the air.
A wireless LAN controller (hardware, virtual or cloud) configures and monitors many APs centrally, coordinating channels, power, roaming and security policy.
Place APs for capacity, not just signal: aim for overlapping cells around -67 dBm for voice, mind walls and metal, and avoid cranking power so clients cannot hear back.
Clients choose when to roam; 802.11k/v/r help them find and move to a better AP quickly. Band steering nudges dual-band clients from crowded 2.4 GHz to 5 or 6 GHz.
In 2.4 GHz only channels 1, 6 and 11 do not overlap; 5 and 6 GHz have many more. Use narrower channels in dense deployments to reduce co-channel interference.
Predictive surveys model a floor plan in software; passive and active on-site surveys measure real signal, noise and throughput before and after deployment.
Use WPA3 (or WPA2 with AES), 802.1X with RADIUS for enterprise users, separate guest SSIDs on their own VLAN, and watch for rogue APs.
WPA is the encryption and authentication suite; WPS is a convenience pairing feature whose PIN mode can be brute-forced. Keep WPA2/WPA3 and turn WPS off.
Radio technologies beyond Wi-Fi that network engineers meet in IoT, mobility and remote-site projects. Each trades range, data rate and power use differently.
Short-range 2.4 GHz radio for peripherals; Bluetooth Low Energy powers beacons, wearables and sensors with very low power draw.
Near-field communication works over a few centimetres at 13.56 MHz, used for contactless payments, access badges and pairing.
Low-power mesh protocols for home and building automation. Zigbee uses 2.4 GHz; Z-Wave uses sub-GHz bands for better wall penetration and less interference.
Cellular 4G LTE and 5G networks standardised by 3GPP, used for WAN backup, branch connectivity and private campus networks.
Sharing a phone's or router's cellular connection over Wi-Fi, USB or Bluetooth. Handy for out-of-band access to a broken site, but it is NATed and often carrier-limited.
A low-power wide-area protocol for sensors sending tiny payloads over kilometres in unlicensed sub-GHz bands, through gateways to a network server.
Internet access via geostationary satellites (high latency, around 600 ms round trip) or low-earth-orbit constellations with latency close to terrestrial links. Used for remote sites and backup.
Capturing and reading actual traffic is the final word in most disputes. Capture with tcpdump on servers or a SPAN/mirror port on switches, then filter and follow streams to see handshakes, retransmissions and resets.
The standard GUI analyser: capture filters (BPF) decide what is saved, display filters like tcp.analysis.retransmission decide what you see. Learn Follow Stream, Expert Info and the conversation statistics.
Keeping services up when devices or links fail: redundant gateways, load balancers spreading work across healthy servers, and automatic failover. Test failover regularly — untested redundancy usually fails when needed.
Cisco's first-hop redundancy protocol: two or more routers share a virtual IP and MAC, one active and one standby, so hosts keep the same default gateway when a router dies.
The open-standard equivalent of HSRP with a master and backups sharing a virtual router address; supported by most vendors and by keepalived on Linux.
A Cisco protocol that not only provides gateway redundancy but also spreads hosts across several active routers by answering ARP with different virtual MACs.
Spreads connections across a pool of servers and removes unhealthy ones using health checks. Layer-4 balancers route by IP and port; layer-7 ones read HTTP and can route by host or path.
Hands each new connection to the next server in turn; weighted variants send more to bigger servers. Simple and fair when requests cost about the same.
Sends each new connection to the server with the fewest active ones, which works better than round robin when request durations vary a lot, such as long-lived connections.
Switching to a standby component when the primary fails, active/passive or active/active. Key numbers are detection time and whether sessions survive the switch.
When links are busy, decide which traffic suffers. Classify and mark traffic at the edge, queue it by priority on congested interfaces, and police or shape it to contracted rates.
The toolbox for giving traffic classes different treatment: classification, marking (DSCP, 802.1p), queuing, policing and shaping. It only helps where there is congestion and must be applied consistently end to end.
Buffers excess traffic to smooth it to a target rate instead of dropping it like a policer does — typically on a WAN link slower than the physical port.
Marking packets with DSCP values (EF for voice, AF classes for business data) so queues serve them first; a strict-priority queue must be capped so it cannot starve the rest.
Firewalls enforce which traffic may cross a boundary. They range from simple stateless filters to stateful engines and application-aware next-generation devices; start from default deny and allow what is needed.
Stateless checks on each packet's addresses, protocol and ports. Fast, but you must write rules for return traffic yourself, and it cannot see what the payload is.
Tracks connections in a state table so replies to allowed sessions pass automatically and unexpected packets are dropped. This is the baseline for every modern firewall.
Adds application identification, user identity, intrusion prevention and TLS inspection on top of stateful filtering, so rules can say "allow this app for this group" rather than ports.
An application-level firewall that terminates the client's connection and opens its own to the server, so it can inspect, filter, cache and log full requests.
Validates the session setup (for example the TCP handshake or a SOCKS request) and then relays data without inspecting it. Fast but blind to content.
A web application firewall inspects HTTP requests for attacks such as SQL injection and XSS, often with the OWASP Core Rule Set. It complements secure code; it does not replace it.
Know how attacks work at each layer so you can design defences: ARP and DHCP spoofing, VLAN hopping, MAC flooding, DNS poisoning, route hijacking and floods. MITRE ATT&CK catalogues the techniques used in real intrusions.
Exhausting bandwidth, connection tables or application capacity, from one source or many. Volumetric floods need upstream scrubbing or a CDN; SYN cookies, rate limits and BCP 38 source filtering help closer to home.
Symmetric ciphers (AES, ChaCha20) encrypt bulk data fast; asymmetric keys (RSA, ECDH, Ed25519) exchange keys and sign; hashes and MACs prove integrity. TLS, IPsec, SSH and WPA3 all combine these, and certificates bind public keys to names.
An intrusion detection system watches a copy of traffic and alerts; an intrusion prevention system sits inline and can drop it. Both match signatures and anomalies, and both need tuning to keep false positives manageable.
Ordered permit/deny rules applied to an interface or traffic direction, evaluated top-down with first match winning and an implicit deny at the end. Put specific rules first, and place standard ACLs near the destination and extended ones near the source.
Drops the idea of a trusted inside network: every request is authenticated, authorised and encrypted based on identity, device posture and context. In practice that means micro-segmentation, strong identity and least-privilege access to individual apps instead of whole networks.
Finding faults quickly and methodically: define the problem precisely, gather facts, form a hypothesis, test it, fix, verify and document. Changing several things at once destroys the evidence.
Bottom-up (cable first), top-down (application first), divide-and-conquer (start in the middle with ping), follow-the-path and compare-with-working. Pick one based on the symptom and stick to it.
Bad cables and duplex mismatches, wrong VLAN or IP settings, DHCP scope exhaustion, DNS failures, MTU black holes, asymmetric routing through stateful firewalls, and loops. Check recent changes first.
The everyday command-line tools for checking reachability, name resolution, paths, sockets and interface settings. Know both the Linux/macOS and Windows variants.
Sends ICMP echo requests to test reachability and round-trip time. Use -s to probe MTU problems; a failed ping may simply mean ICMP is filtered.
Queries DNS servers interactively or in one shot (nslookup host 8.8.8.8); dig gives more detail on Linux, and comparing resolvers isolates local DNS faults.
Lists connections, listening ports and routing tables. On Linux it is deprecated in favour of ss and ip route; on Windows netstat -ano shows the owning process ID.
Measures throughput to an Internet test server — a quick user-facing check. For controlled tests between your own hosts, use iperf3.
Reveals the router hops to a destination by sending probes with increasing TTL. Linux uses UDP by default, Windows uses ICMP; mtr combines it with continuous ping statistics.
Show interface addresses: ipconfig /all, /release, /renew and /flushdns on Windows; ifconfig on macOS and BSD, replaced by ip addr on Linux.
Cloud providers rebuild the familiar pieces — networks, subnets, routes, firewalls, VPNs, load balancers — as API-driven services. The concepts carry over, but limits, defaults and pricing (especially egress) are provider-specific.
Amazon VPCs are regional with subnets per availability zone, internet and NAT gateways, Transit Gateway for hub-and-spoke, and Direct Connect for private links.
Azure Virtual Networks are regional, joined by peering or Virtual WAN, filtered with network security groups, and reached privately over ExpressRoute.
Google Cloud VPCs are global with regional subnets, use VPC-wide firewall rules and Cloud Router for dynamic routing, and Shared VPC for central control across projects.
The common building blocks: isolated VPCs or VNets, public subnets with an Internet route, private subnets that reach out through NAT, and hybrid links back to on-premises.
Software-defined networks where you choose the CIDR range up front — plan it so it never overlaps on-premises or other VPCs you may need to peer with later.
Route tables attached to subnets send traffic to gateways, peering links, appliances or transit hubs; BGP over VPN or dedicated links exchanges routes with on-premises.
Managed load balancers at layer 4 (TCP/UDP) or layer 7 (HTTP) that scale automatically, run health checks and terminate TLS, without any appliance to patch.
Managed IPsec gateways connecting a VPC to on-premises or other clouds, usually with two tunnels for redundancy and BGP for routing.
Stateful, allow-only firewalls attached to instances or network interfaces. Rules can reference other groups instead of IPs, which keeps them valid as instances scale.
Modern devices expose structured, model-driven APIs instead of screen-scraped CLI output. Learning them, and enough Python to call them, is the bridge from manual configuration to automation.
The default language for network automation. Start with the standard ipaddress and socket modules, then libraries like requests, Netmiko and NAPALM.
A data modelling language describing device configuration and state as a typed tree. Vendor and OpenConfig models define what NETCONF and RESTCONF can read and change.
An XML RPC protocol over SSH (port 830) for reading and editing configuration, with candidate datastores, validation and commit/rollback.
Exposes the same YANG data over HTTPS with REST verbs and JSON or XML bodies, easier to call from scripts and web tools than NETCONF.
Treating configuration as code: generate it from templates and source-of-truth data, push it with tools, and verify the result. Start by automating read-only tasks such as backups and audits before letting scripts change anything.
Agentless automation using YAML playbooks over SSH or APIs, with vendor collections for Cisco, Juniper, Arista and others. Its network_cli connection plus Jinja2 templates covers most config pushes.
A Python library that simplifies SSH to network devices, handling prompts, paging and vendor quirks so you can send commands and config sets.
A Python abstraction over vendor APIs giving uniform getters (get_facts, get_bgp_neighbors) and config merge, compare and rollback across platforms.
Declaring infrastructure in version-controlled files and letting a tool converge reality to match, with plans reviewed like code. It is the norm for cloud networks and increasingly used for physical ones.
Declarative HCL plus providers for every cloud and many network vendors. terraform plan shows changes before apply; the state file must be stored remotely and locked for team use.
Knowing what the network is doing before users complain: device metrics via SNMP or streaming telemetry, flow records for who talks to whom, logs, and dashboards with alerts on top.
Polls device counters and state through MIB object IDs and receives traps. Use SNMPv3 for authentication and encryption; v1/v2c community strings are plain text.
NetFlow and IPFIX export per-flow records (addresses, ports, bytes) from routers; sFlow samples packets at a fixed rate. Both answer who used the bandwidth.
Scans hosts and ports to discover what is live and listening, fingerprint services and operating systems, and audit firewall rules. Only scan networks you are authorised to test.
A pull-based time-series database with PromQL and Alertmanager; exporters such as snmp_exporter and blackbox_exporter bring network devices and reachability checks into it.
Dashboards and alerting over Prometheus and many other data sources — the usual front end for interface utilisation, error and latency graphs.
A commercial SaaS monitoring platform with network device monitoring and flow-based network performance views alongside application metrics and logs.
A commercial observability platform centred on automatic discovery and AI-assisted root-cause analysis, including host and network metrics.
Certifications structure your study and help get past hiring filters, especially early in a career. Vendor-neutral ones prove the fundamentals; vendor and cloud ones prove you can run specific platforms.
A vendor-neutral entry-level exam covering networking concepts, infrastructure, operations, security and troubleshooting.
Cisco's associate certification and the most recognised networking credential: IP, switching, routing with OSPF, security basics, wireless and automation fundamentals, tested with IOS CLI tasks.
Cisco's professional level: a core exam plus a concentration exam in tracks such as Enterprise, Security or Data Center, going deep on design and advanced protocols.
A vendor-neutral security baseline covering threats, architecture, operations and governance — useful for network roles that include firewalls and access control.
Provider certifications such as AWS Advanced Networking Specialty, Azure Network Engineer Associate and Google Professional Cloud Network Engineer.