Networking overview
93 topics in 17 lessons, each in one line. Every topic opens the page that teaches it.
After this course you can
- Follow a packet through every layer and every device on its way, and say what each one reads and rewrites.
- Subnet IPv4 by hand, read IPv6, and configure VLANs, trunks, static routes, OSPF, NAT and ACLs on Cisco IOS.
- Find a network fault methodically, layer by layer, with ping, traceroute, a packet capture and interface counters.
1What a network is
2Cables and connections
- Copper cableFaster copper reaches less far
- FibreA thinner core carries light farther
- TransceiversThe port is a socket; the module decides the medium and the speed
- Power over EthernetThe cable delivers less power than the switch sends
- Distance and delayDistance sets a floor on delay that no upgrade removes
3The layer model
4Ethernet and switching
- MAC addresses and framesHow does data find one machine among many on the same network?
- MAC address learningA switch learns where each address lives from the frames it sees
- Duplex and speedA duplex mismatch keeps the link up and quietly ruins it
- CDP and LLDPEvery device tells its neighbours who it is and which port they share
5IPv4 addresses
6Routing
- The default gatewayIs the destination on my network, or must the packet leave it?
- ARPOne broadcast question turns an IP address into a MAC address
- Routing tablesEach router decides only the next hop
- Longest prefix matchThe most specific matching route wins
- Static and floating routesA floating static route waits behind a better one
- Troubleshooting addressesMost addressing faults are a mask or gateway that disagrees with the subnet
- Addresses at each layerThe IP address travels end to end; the MAC address changes every hop
- Devices and layersEach device opens the packet only as far as its job needs
7Subnetting
- Why subnetOne network holds everyone. Why split it?
- Borrowing a bitHow does one block of addresses become two networks?
- SubnettingBorrow host bits to cut one network into equal subnets
- A worked exampleWhich subnet holds 192.168.10.77/26?
- VLSMSize each subnet to its need, largest first
- Route summarisationContiguous, aligned blocks collapse into one route
8IPv6
- The IPv6 address spaceOne IPv6 subnet holds four billion IPv4 internets
- Writing IPv6 addressesDrop leading zeros, then fold one run of zero groups into ::
- Prefix and interface IDThe first 64 bits choose the subnet; the last 64 choose the interface
- SLAACA host builds its own address from the router’s advertised prefix
- IPv4 to IPv6 transitionMost networks run both for years and translate at the edges
9TCP and UDP
10DNS, DHCP and NAT
- DNSA name is found by asking down a tree, then remembered
- DHCPFour messages give a new device its address and settings
- NAT and PATOne public address shared by giving each connection its own port
- NTPFour timestamps let every device agree on the time
- PortsEvery service has a port, and most have a secure twin
- Device managementManage devices only over encrypted channels
11VLANs and spanning tree
- VLANsOne switch, several broadcast domains, drawn in software
- 802.1Q trunksA 4-byte tag lets one link carry many VLANs
- Inter-VLAN routingVLANs cannot talk until something routes between them
- Spanning treeEthernet has no time to live, so a loop runs until a port is blocked
- EtherChannelBundle links so spanning tree sees one, but a flow still rides one member
12Dynamic routing and OSPF
- Dynamic routingLink-state routers share a map; distance-vector routers share directions
- OSPF costOSPF follows the lowest total cost, and cost comes from bandwidth
- ConvergenceWhen a link fails, every router recomputes from the same new map
- Administrative distanceWhen sources disagree, the most trusted one wins
- BGPThe internet is joined by policy, between autonomous systems
- First-hop redundancyTwo routers share one gateway address, so hosts never notice a failure
13Wireless networks
- 2.4 GHz channelsOnly three 2.4 GHz channels do not overlap
- SignalHigher bands carry more but reach less
- Wi-Fi standardsEach Wi-Fi generation is faster, but the air is shared
- SSID and roamingOne network name, many access points
- Wireless securityEnterprise Wi-Fi gives every person their own key
- ControllersLightweight access points are run by a controller
- Site surveyA site survey places APs to overlap a little and never share a channel
14Network security
- ACLsAn ACL is read top to bottom, and the first match decides
- FirewallsA stateful firewall remembers conversations and separates zones
- VPNsA VPN carries private traffic across the internet, encrypted
- Access control802.1X keeps a port shut until the user proves who they are
- Layer 2 securitySwitch features stop attacks that start inside the LAN
- ThreatsEach common attack has a matching defence
15Network design and the cloud
- Campus designCampus networks are built in tiers: access, distribution and core
- Data centre fabricIn a spine-leaf fabric, every server is the same distance from every other
- Scaling servicesLoad balancers spread the work; CDNs move content closer
- SDNSoftware-defined networks move the decisions into a controller
- AutomationAutomation turns one change into the same change everywhere
- AI operationsAn AI agent can run the operations loop, inside limits people set
- SD-WANSD-WAN sends each application over the best link right now
- Cloud networksA VPC is a private network in the cloud, built from subnets and routes
16Troubleshooting
- MethodFix faults with a method, not a hunch
- LayersWork through the layers; a ping splits the problem in half
- Ping and tracerouteTraceroute maps the path by making each router answer in turn
- Interface countersInterface counters tell cabling faults from duplex faults
- Packet captureA capture shows what really crossed the wire
- Logs and monitoringLogs and monitoring tell you what happened before you arrived
- SymptomsEach symptom points to a short list of causes
17The site will not loadWorked case
- The problemStart with facts: who is affected, since when, and what changed
- Halving the pathOne clue removes half the path: the fault is inside the office
- Testing each layerTest one layer at a time; the first failure is where to look
- The causeOnly name lookups fail: the office resolver stopped answering
- The fixFix the cause, then remove the single point of failure
- The trade-offEvery fix gives something up; choose, and write down why
- The methodThe method is a ladder: ask what changed, then climb one layer at a time
- A real caseAt Meta in 2021, the same symptom hid a much deeper fault
Sources and credit
57 sourcesThe chapters and drawings are written by NeuroqAI from these sources. Each lesson lists its own at the end of its chapter, and figures on the pages are taken from them or computed from them.