Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Authentication Header

Direct answer

AH (Authentication Header, IP protocol 51) gives IPsec packets integrity and origin authentication but no encryption. It breaks with NAT and is rarely used; ESP is preferred.

When to use this

Use this when IPsec AH is configured or considered.

First 30 seconds

1. AH authenticates entire packet including outer IP header.

2. Fails through NAT.

3. No encryption.

4. Rarely needed.

5. Replace with ESP.

Operational verification

packet → AH ICV → verify

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common problems
  • Tunnels using AH fail as soon as NAT is added on the path.
  • Peers negotiating AH+ESP bundles that other vendors do not support.
  • Captures show protocol 51 but no encryption — data is readable in transit.
Platform / version applicability
Network security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNetwork security
Key commandshow crypto ipsec sa | include ah|esp
Scope / prerequisiteUse this when IPsec AH is configured or considered.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Finding AH Verify boundary
show crypto ipsec sa | include ah|esp
tcpdump -n 'ip proto 51'

Any protocol 51 traffic indicates AH in use; plan migration to ESP.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • AH gives integrity and authentication, no encryption.
  • It breaks with NAT.
  • ESP is preferred.
Key checks
  • tcpdump -ni <if> ah — AH traffic
  • Legacy configurations using AH — inventory
  • NAT presence — breaks AH
ReferenceWhy it matters1 section · depth on demand

Why AH is rarely used

AH authenticates the outer IP header as well, so any change by NAT breaks the check. It also gives no confidentiality. ESP with an integrity algorithm (or AES-GCM) covers the same need and works through NAT-T, so new designs use ESP only.

ReferenceHow it works1 section · depth on demand

In depth

AH (Authentication Header, IP protocol 51) provides integrity and authentication of IP packets, including parts of the outer IP header, but no encryption. Because it authenticates the IP addresses, any NAT along the path breaks it.

In practice AH is rarely used: ESP with an authentication algorithm (or AEAD such as AES-GCM) provides integrity and confidentiality and works through NAT with NAT-T. AH may appear in niche cases (some IPv6 routing protocol authentication, specific compliance designs). Prefer ESP unless a requirement specifically demands AH.

ReferenceImportant terms & boundaries1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNetwork security current

Authoritative/upstream documentation reviewed for bounded claims in IPsec → Authentication Header. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc4301 · confidence 94%
Confirmation

Confirm action

Continue?