Chapters0/30 ▾
Chapter 3 · Lesson 5 of 5
Tunnels, IPsec and QoS markings
1 min read
IPsec has two security protocols. ESP encrypts the payload and can also check its integrity, so it is used whenever confidentiality is required. AH provides integrity and origin authentication only, and because it covers fixed IP header fields it breaks when NAT rewrites addresses. IKE negotiates the security associations and keys; it does not protect the data itself.
| Identifier | Value |
|---|---|
| GRE | IP protocol 47 |
| ESP / AH | IP protocols 50 / 51 |
| IKE | UDP 500, or UDP 4500 with NAT traversal |
GRE only encapsulates; it adds no encryption. That is why a tunnel that must carry routing updates and multicast is built with GRE and then protected with IPsec.
For priority, voice is marked twice: CoS is a 3-bit field in the 802.1Q tag, which disappears when the frame is untagged or routed, and DSCP is a 6-bit field in the IP header, which survives every routed hop.
Check yourself
1. A site-to-site IPsec tunnel must keep the payload confidential as it crosses the internet. Which statement correctly separates what the two IPsec security protocols provide?
2. An engineer builds a tunnel that must carry a dynamic routing protocol and multicast between two sites, then protects that tunnel with IPsec. Which statement about the identifiers involved is correct?
Facts checked 2026-11-16 · Sources: CompTIA Network+ certification overview, IANA Service Name and Transport Protocol Port Number Registry, RFC 7766: DNS Transport over TCP
CompTIA Network+ cheat sheet: every key fact on one page →