
A layered diagnostic method
Network problems are notoriously intermittent and cross-cutting — a user who 'can't connect' could be hitting a VLAN misconfiguration, a firewall rule, a flapping VPN tunnel, or a DNS failure. The discipline that resolves network incidents fastest is the OSI layer approach: verify physical and data-link (cable, port, VLAN) first, then network (routing, firewall), then application (DNS, service). Jumping straight to 'the firewall is blocking it' without confirming the lower layers wastes hours.
This bottom-up method matters because the symptom is the same at every layer — 'it doesn't connect' — but the cause and the fix are completely different. A DNS failure masquerades as a connectivity problem; a VLAN mismatch masquerades as a routing problem. Confirm each layer in order before moving up, and you will isolate the cause in a fraction of the time that a top-down guess takes.
VLANs, trunks, and segmentation
VLANs segment a network into broadcast domains, which improves both performance (smaller broadcast domains) and security (traffic between VLANs must traverse a router or firewall where it can be controlled). The most common segmentation fault is a VLAN mismatch: an access port assigned to the wrong VLAN, or a trunk between switches that does not include the VLAN in its allowed list. The symptom is partial, intermittent connectivity that changes as devices move.
The diagnostic sequence is to confirm the port VLAN assignment on both ends, verify trunk ports allow the VLAN, and check that inter-VLAN routing points to the correct gateway. Segment by trust zone — user, server, guest, management — with documented routing between zones, so that a compromise in one zone is contained rather than free to traverse the whole estate.
! Access port VLAN assignment
show interfaces GigabitEthernet1/0/24 switchport
! Trunk allowed VLANs
show interfaces trunk
! VLAN existence and interface membership
show vlan briefFirewall rule conflicts and the shadow rule
A firewall that blocks traffic it should allow — or allows traffic it should block — usually has a rule conflict: a broad deny rule above a specific allow, or a legacy 'shadow' rule that overrides the intended policy. As rule bases grow over years, these conflicts accumulate and become hard to reason about. The diagnostic path is the rule lookup: trace the specific source, destination, and port to see which rule actually matched.
If a deny rule matched before the intended allow, reorder or refine the rules. Audit the rule base periodically and remove rules with zero hits — a bloated rule base is both a security and a reliability risk, because every new rule is harder to reason about in the context of hundreds of stale ones. Keep the rule base small, ordered, and documented.
| Symptom | Likely cause | Action |
|---|---|---|
| Traffic blocked unexpectedly | Broad deny above specific allow | Reorder rules; use packet tracer |
| Traffic allowed unexpectedly | Legacy shadow rule overriding policy | Remove or refine the shadow rule |
| Intermittent block | Failover policy differs across HA nodes | Sync the rule base across the HA pair |
| Rule works for one host only | Source object too narrow | Expand the source object or use groups |
VPN tunnels and DNS: the silent failures
A site-to-site VPN tunnel that flaps — connects, drops, reconnects — is usually caused by a Phase 1 or Phase 2 lifetime mismatch between peers, an MTU or fragmentation problem, or an unstable underlying internet link. Match the IKE and IPsec proposals and lifetimes on both ends, check the tunnel logs for repeated rekey failures, and test the path MTU with a DF-flagged ping to find the fragmentation boundary and enable MSS clamping.
DNS failures are the other silent network killer: a user who 'can't reach the server' often cannot resolve the server's name. Confirm the client's DNS configuration, test resolution against the configured server, and check the server's forwarders and zone health. AD-integrated DNS with overly aggressive scavenging is a frequent culprit that removes valid records. Always confirm DNS before assuming a connectivity problem.
- Match VPN Phase 1 and Phase 2 lifetimes and proposals on both peers
- Test path MTU with a DF-flagged ping and enable MSS clamping for flapping tunnels
- Confirm the client DNS configuration before assuming a connectivity problem
- Audit the firewall rule base on a schedule and remove zero-hit rules
Written by
Jamshed Alam
Global MSP & IT Infrastructure Consultant with 20 years across Exchange, Microsoft 365, Azure, security and automation. Available for project and contract work worldwide.