Skip to content

Methodologies

Bottom-up

Work up the layers of the network model, from the physical connection through to the application. Each layer depends on the one beneath, so the lowest layer that fails is the one to fix first.

Also known as: bottom-up, in Cisco training material, where it is based on the OSI model.

How it works

  1. Physical: power, cables, link lights, signal.
  2. Data link: is the interface up, is it on the right VLAN, does the switch port show errors?
  3. Network: does it have an address, a gateway and a route?
  4. Transport: can it reach the right port, or does a firewall block it?
  5. Application: is the service configured correctly, and what does it log?

Stop at the first layer that fails. Everything above it will also look broken, but that is a consequence, not a cause.

When to use it

  • A new installation, or "nothing works" from one device.
  • You suspect hardware, cabling or a change to the network itself.
  • You are not sure what the symptom means, and want a method that cannot skip a layer.

When another approach is better

  • Only one application misbehaves and the network is evidently fine.
    Top-down
    starts where the fault is visible.
  • You have no physical access, and the problem is probably higher up. Working up through every layer can waste time.
  • The failing layer is unclear. Capturing the traffic shows which layer fails on the wire: see the packet capture technique under
    Follow the path
    .

Worked example

Illustrative example

A server cannot reach an application on another network.

$ ip link show eth0 | grep state
... state UP                    # layers 1 and 2: link is up

$ ip addr show eth0 | grep "inet "
inet 192.0.2.50/24              # layer 3: has an address

$ ping -c 2 192.0.2.1
2 packets transmitted, 2 received   # layer 3: gateway answers

$ nc -vz 198.51.100.20 443
nc: connect to 198.51.100.20 port 443 (tcp) failed: Connection timed out

The first three layers are cleared and the fourth fails. A timeout usually means packets are being dropped silently, which points at a firewall. A "connection refused" would have meant the host was reached but nothing was listening, a different fault.

Watch for

  • Spending time on low layers when the symptom is clearly an application error.
  • Faults that span layers, such as a duplicate address or an incorrect time setting.
  • Assuming a working ping clears the layers above it.

Related methodologies

Sources

$ check osi --bottom-up

  1. Layer 1 Physical Power, cables, link lights ✓ Cleared
  2. Layer 2 Data link Interfaces, VLANs, switch ports ✓ Cleared
  3. Layer 3 Network Addresses, gateway, routing ✓ Cleared
  4. Layer 4 Transport Ports, connections, firewalls The connection timed out here. Start here. ✕ Fault found
  5. Layer 5 Session Setting up and ending sessions • Not checked
  6. Layer 6 Presentation Data formats, encoding, encryption • Not checked
  7. Layer 7 Application The service, its logs and errors • Not checked
The method, using the fault from the worked example. The numbered steps group layers 5 to 7 as "application".

In practice

Examples and contributions

Entries appear here when a contributor tags them with this methodology.