Networking Fundamentals
Computer networking lets devices exchange data through shared rules and connected links. Networking fundamentals explain how data is packaged, addressed, forwarded, delivered, and checked when it crosses a local network or the internet.
itNetworking | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Don't Panic
Don't Panic — Networking Fundamentals
A network is the arrangement that lets devices exchange data by agreeing, with admirable persistence, on how each small piece should travel. Before that arrangement, two machines had no useful shared route, name, or language for a request. The modern answer is not one giant pipe. It is a stack of separate jobs, which is why a failure can be both very specific and extremely inconvenient.
The most useful mental model is a packet journey. A DNS name asks for naming data. An IP address identifies the endpoint for a packet. A route chooses a next hop. A MAC address gets a frame across one local link. A port hands transport data to an application. These identifiers look like cousins at a family gathering, but they do different work. Confusing them is how a perfectly good address becomes an explanation for the wrong problem.
The packet changes costume as it travels. Application data becomes a TCP segment or UDP datagram, then an IP packet, then a link-layer frame. A router removes the local frame and builds another one for the next link. The destination IP normally remains the destination. The next-hop frame does not. This is not networking being difficult for sport; it is how local delivery and delivery across many networks avoid becoming the same impossible task.
TCP offers a reliable, in-order byte stream. UDP sends independent datagrams without those built-in promises. Neither choice makes the application correct, private, or trustworthy. Similarly, DNS can resolve a name while the service is unreachable, an open port can accept a connection while the application fails, and a firewall can allow traffic without blessing its contents. Each green light has a small jurisdiction. Bureaucracy has its uses after all.
When something fails, start close to the device and move outward: link and interface, address and prefix, local neighbor or gateway, route, policy boundary, transport endpoint, then application exchange. Check latency, loss, jitter, and throughput as different symptoms, not four decorative names for slowness. The Cheatsheet keeps the map close at hand. The Slides show the packet journey. The Reference tab points to the specifications once a particular layer needs more detail. Keep the layers separate, and the network becomes a sequence of questions rather than a single mysterious mood.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://www.rfc-editor.org/rfc/rfc1180
Supports
- Layered TCP/IP packet journey
- Encapsulation across Ethernet, IP, TCP, and UDP
- ARP and next-hop forwarding through routers
- https://www.rfc-editor.org/rfc/rfc1122
Supports
- Internet host architecture
- Link, IP, and transport layer responsibilities
- Host and gateway behavior
- https://www.rfc-editor.org/rfc/rfc791
Supports
- IPv4 addressing and datagram forwarding
- Distinction among names, addresses, and routes
- IPv4 address length
- https://www.rfc-editor.org/rfc/rfc8200
Supports
- IPv6 base protocol and 128-bit addresses
- IPv6 packet forwarding and Hop Limit
- https://www.rfc-editor.org/rfc/rfc9293
Supports
- TCP reliable in-order byte-stream service
- TCP ports, connection state, loss detection, and retransmission
- https://www.rfc-editor.org/rfc/rfc768
Supports
- UDP datagram service
- UDP ports and checksum
- Features not supplied by UDP
- https://www.rfc-editor.org/rfc/rfc1034
Supports
- Distributed DNS namespace and hierarchy
- Name servers, resolvers, resource records, and caching
- https://www.rfc-editor.org/rfc/rfc2131
Supports
- DHCP address assignment and configuration parameters
- Leases, client-server messages, and UDP transport
- https://www.rfc-editor.org/rfc/rfc826
Supports
- Mapping protocol addresses to local network addresses
- ARP request and reply behavior
- https://www.rfc-editor.org/rfc/rfc4861
Supports
- IPv6 neighbor and router discovery
- IPv6 link-layer address resolution
- https://www.rfc-editor.org/rfc/rfc792
Supports
- IPv4 control and error messages
- ICMP relationship to IP
- https://www.rfc-editor.org/rfc/rfc4632
Supports
- CIDR prefixes
- Longest-match forwarding and default route
- https://www.rfc-editor.org/rfc/rfc1918
Supports
- IPv4 private address blocks
- Boundary filtering and non-global uniqueness
- https://www.rfc-editor.org/rfc/rfc3022
Supports
- Traditional network address translation
- Address and transport identifier mapping
- https://www.rfc-editor.org/rfc/rfc2681
Supports
- Round-trip delay definition and measurement
- https://www.rfc-editor.org/rfc/rfc3393
Supports
- IP packet delay variation
- https://github.com/sindresorhus/awesome
Supports
- Discovery of the Networking category and PCAPTools list
- https://github.com/caesar0301/awesome-pcaptools
Supports
- Discovery of tcpdump, Scapy, Arkime, and Ostinato as packet and traffic tools
- https://www.wireshark.org/docs/
Supports
- Wireshark user guide, command-line manuals, and display-filter reference
- https://www.tcpdump.org/
Supports
- tcpdump command-line packet analyzer and libpcap capture library
- https://scapy.readthedocs.io/en/latest/
Supports
- Scapy interactive tutorial, recipes, packet layers, and dissection
- https://arkime.com/
Supports
- Session indexing, search, and packet capture retention
- https://ostinato.org/
Supports
- Link-layer and network-layer traffic generation, customization, and replay
- https://www.internetsociety.org/internet/history-internet/brief-history-internet/
Supports
- ARPANET's initial four-host network
- Ethernet development in 1973
- ARPANET transition from NCP to TCP/IP in 1983
- https://www.rfc-editor.org/rfc/rfc675.html
Supports
- December 1974 Internet TCP specification
- Early transport connections, sockets, sequencing, and flow control
- https://www.rfc-editor.org/rfc/rfc882.html
Supports
- November 1983 DNS domain-name and name-server proposal
- Tree-structured name space and resource queries
- https://www.rfc-editor.org/rfc/rfc1519.html
Supports
- September 1993 CIDR address strategy
- Routing-table scaling and classless allocation
- https://www.rfc-editor.org/rfc/rfc1883.html
Supports
- December 1995 IPv6 specification
- IPv6 as an IPv4 successor with expanded addressing
- https://sre.google/sre-book/load-balancing-frontend/
Supports
- DNS answers with multiple addresses
- Client address selection and limits of DNS-only traffic steering
- https://blog.cloudflare.com/post-mortem-what-todays-network-outage-looked/
Supports
- 2012 network outage involving an upstream issue and a misapplied rate limit
- Smoke tests for manual network changes
- https://www.cisco.com/c/en/us/solutions/collateral/enterprise-networks/nb-06-networking-soln-ovw-cte-en.html?oid=sowdnc026359
Supports
- Cisco Catalyst switches and access points
- Cisco Meraki switches, access points, routers, and security devices
- https://www.arista.com/en/products/eos
Supports
- Arista EOS switch operating system
- Virtual EOS environment for production and simulation use
