Pcornel
Networking

Network Fundamentals

Cheat sheet · https://pcornel.dk/topic.php?topic=1

Back to the Topic

Answer

Network fundamentals are the parts every network is built from: devices in their roles, cabling and links, Ethernet switching, IPv4 and IPv6 addressing, and TCP/UDP ports. Most faults sit in one of these layers.

Remember

Check upwards and stop at the first failure: link, VLAN and MAC learning, address and mask, default gateway, route, then the port. Ping proves only IP reachability; the application needs its port too.

First checks

  • show interfaces status — link, VLAN, speed and duplex.
  • show mac address-table address <mac> — where the host is learned.
  • show ip interface brief — addresses and interface state.
  • show ip route <dst> — a route to the destination.
  • ping <dst> source <interface> and traceroute <dst> — how far traffic gets.
  • telnet <host> <port> — whether the application port opens.

Verify in this order

link up at the right speed and duplex → port in the right VLAN → MAC learned → address, mask and gateway consistent → gateway reachable → route to the destination → port open → application answers

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1

Confirmation

Confirm action

Continue?