MACsec Encrypts the Ethernet Frame, but What About the MAC Address

Enterprise networks

MACsec (IEEE 802.1AE) is the Ethernet link-layer encryption standard. Enterprise deployment has accelerated noticeably in recent years—Cisco Catalyst 9200/9800, Juniper, Aruba, and FortiSwitch all ship MACsec as a base capability, and Cisco Wireless released an AP-to-WLC uplink MACsec On-Prem deployment guide in April 2026. But one layer of the relationship is rarely explained: after MACsec encrypts the Ethernet frame, what happens to the MAC address itself? Is it also ciphertext, or is it still in the clear header? The answer is more nuanced than intuition suggests, and in 2026 an IEEE 802.1 working group proposal is preparing to change it. This article unpacks the layer.

MACsec encryption scope: what is encrypted, what is not

The short answer first. MACsec's default behavior is:

  • MAC DA (destination address) and MAC SA (source address) are not encrypted, but they are part of the integrity protection. In other words, the destination and source MACs are still plaintext in the frame header, but any tampering is detected by the ICV (Integrity Check Value).
  • SecTAG (Security Tag) is not encrypted and is part of the integrity protection. It must be plaintext so the receiver can identify the frame as MACsec and determine which secure channel it belongs to.
  • User data is encrypted and integrity-protected by default. Starting from the EtherType, including the VLAN tag (by default) and ARP/IPv4 payload, all ciphertext.
  • EtherType 0x88E5 itself is plaintext, letting the receiver know this is a MACsec frame.

The IEEE 802.1AE test vectors document (2011) has an authoritative passage:

"Authentication without Encryption: A is MAC DA, MAC SA, SecTAG, and the user data concatenated in this order. P is null. Confidentiality with Authentication: A is MAC DA, MAC SA, and SecTAG concatenated in this order. P is the user data. The secure data C is the encrypted data."

In the "Confidentiality with Authentication" mode, the additional authenticated data A = MAC DA + MAC SA + SecTAG (plaintext + authenticated), and the plaintext P = user data (encrypted + authenticated). This is the standard AAD/P split for GCM-AES.

Confidentiality Offset mechanism. Optional values 0, 30, or 50 bytes. 0 = default full encryption; 30 = makes the EtherType + IPv4 header + port fields visible in plaintext but still authenticated; 50 = additionally covers 20 bytes of TCP header. The H3C config macsec confidentiality-offset 30 is this mechanism. It lets intermediate devices inspect L3/L4 headers for policy, but they still cannot tamper with them.

VLAN tag handling. Standard 802.1AE-2018 encrypts the 802.1Q tag as user data by default. But vendors have a non-standard "WAN mode / VLAN in clear" extension that allows the VLAN tag to be plaintext and unauthenticated, used for pop/swap/push in VLAN-switched networks. This is critical when capturing packets; see How to Read VLAN Tags in a Packet Capture.

Why it is designed this way is not arbitrary:

  • The MAC header must be plaintext—the switch CAM table learns the source MAC from it. Encrypt the MAC header and every switch on the link goes blind. See How the Switch MAC Address Table Works.
  • The SecTAG must be plaintext—the receiver needs to identify the frame as MACsec and determine which secure channel (SC) it belongs to in order to find the SAK for decryption.
  • User data encryption is the core purpose of MACsec: preventing link-middle sniffing and tampering.

SecTAG and SCI structure

The SecTAG field layout (the tcpdump source print-macsec.c references IEEE 802.1AE-2006 §9.3):

FieldBytesDescription
MACsec EtherType20x88E5 (before SecTAG)
TCI_AN1TCI flags + AN (2 bits)
SL (Short Length)1Explicit length when payload < 48 bytes
Packet Number432-bit anti-replay
SCI (optional)8= MAC (6) + Port (2)

TCI bit definitions: V (0x80), ES (0x40, end station), SC (0x20, SCI present), SCB (0x10), E (0x08, encrypted), C (0x04, changed text). AN occupies the low 2 bits, identifying the current SAK.

SCI (Secure Channel Identifier) construction: a 48-bit Universal Administered MAC Address + a 16-bit Port Number. The MAC here is the system-level MAC of the device that owns the transmitting SecY, not the per-interface MAC. The Port Number identifies the SecY instance within the system. SCI is optional on point-to-point links; it is mandatory on non-point-to-point links or with multiple SCs.

This is the subtlest relationship between MACsec and MAC addresses: SCI embeds the MAC address into the secure channel identifier. Replacing the supervisor or chassis changes the system MAC, which changes the SCI, which requires re-negotiating the SC. If your inventory is keyed by SCI, be aware of this stability constraint; see Network Inventory with MAC Addresses.

MKA and 802.1X

MKA (MACsec Key Agreement) runs inside the 802.1X framework. MKA is a sub-protocol defined in IEEE 802.1X-2010 (and its 2014 revision); MKPDUs are encapsulated in EAPOL PDUs. The EAPOL frame's MAC DA is the IEEE 802.1X PAE multicast address 01:80:C2:00:00:03, and the MAC SA is the sender's interface MAC. For more on this behavior, see 802.1X and MAC Authentication Bypass.

Key hierarchy: MSK (EAP output, first 256 bits) → CAK (Connectivity Association Key, long-term key) → ICK (for MKPDU ICV) + KEK (for SAK distribution) → SAK (Secure Association Key, generated by the Key Server, distributed via MKPDU encrypted with AES-Key-Wrap). The SAK is used directly in the GCM-AES data plane. CKN (CAK Name, up to 32 octets) is transmitted in clear to select the CAK. Mick Seaman's 2022 PSKs document is explicit: "CKN must not be possible to determine the CAK algorithmically from the CKN"—CKN is plaintext but cannot reverse the CAK.

PSK mode vs. certificate mode. In PSK mode the administrator manually configures CAK/CKN, with no dependency on EAP/RADIUS; in certificate mode EAP-TLS is used, and after RADIUS/ISE validation the MSK is delivered and the CAK is derived. The Cisco Wireless MACsec On-Prem April 2026 document covers both deployment paths.

MACsec Enhanced proposal: kicking MAC addresses out of integrity protection

This is the most interesting development in 2026. The IEEE 802.1 working group's January 2026 proposal new-bidgoli-macsec-enhanced-0226-v02.pdf (jointly authored by Nokia, Broadcom, Verizon, Bell Canada, Telus, and Redhat) proposes major changes to MACsec, with the goal of using the MACsec engine for end-to-end L3 encryption in IP/MPLS/SRv6 networks.

Four core concessions:

  1. MAC addresses remain in clear and are removed from integrity protection. The original text: "For an end-to-end MPLS or IP flow encryption using the MACsec encryption engine, the MAC address must not be part of the integrity protection. This makes it feasible for the routers to strip the MAC address and insert a new MAC address at the switch or route the packet." This violates the current 802.1AE §8 figure 8-1, which mandates that the MAC header participate in the ICV. The proposal would remove the MAC header from the AAD.
  2. The MPLS label stack / IP header remains in clear and is not integrity-protected, so LSRs can perform swap/pop.
  3. SecTAG structure is modified and SCI encoding is relaxed. The current MAC+Port SCI no longer fits IP/MPLS flows; the new SCI may be defined by the IETF.
  4. The 32-bit PN is extended to 64 bits, solving the PN synchronization problem under multi-line-card ECMP/LAG. Chapter 6 defines MKA over IP/UDP for SAK distribution in IP/MPLS networks.

Implications: MACsec would degrade from "full L2 protection" to "payload-only encryption, with MAC/IP/MPLS headers in clear and unauthenticated." This is a significant security concession for routability. The proposal is still an early document and may not pass as-is, but it shows that as MACsec extends to L3 encryption, the way MAC addresses are handled will change. Before it becomes a standard, production MACsec still keeps MAC headers in clear + authenticated, with the payload encrypted.

Practical impact on MAC operations

Wireshark capture. Wireshark 4.6.0+ supports MACsec decryption, requiring either the SAK derived from an MKA handshake or a configured PSK in the MACsec dissector. The MKA dissector field list includes mka.sci, mka.cak_name, mka.aes_key_wrap_unwrapped_sak, and more. Without the SAK, only DA/SA/SecTAG (TCI/AN/SL/PN/SCI) are visible; the payload is ciphertext. For Wireshark filter syntax, see Filtering Wireshark Captures by MAC Address.

MAC address table (CAM). Still learns real MACs—DA/SA are plaintext. So MACsec does not affect CAM learning. This is the fundamental reason the MAC header stays in clear.

How ARP works on a MACsec link. With default confidentiality offset 0, the entire ARP frame is encrypted (ARP is user data). But the IPInfusion tech brief is explicit: "MACsec will not protect against ARP spoofing"—because ARP spoofing originates from inside the MACsec endpoint (within the trusted domain); encryption only prevents mid-link tampering, not endpoint-side forgery. So MACsec does not replace the DAI/DHCP Snooping measures in ARP Spoofing Defense. This is a common misconception: thinking that turning on MACsec means you no longer need ARP defenses. In fact, the two defend against different directions of attack.

L2 protocols (LACP/STP/CDP/LLDP). The default MACsec must-secure mode encrypts all frames, including LACP/STP/LLDP, which breaks adjacencies. Vendors provide policy-exceptions: Cisco IOS XR policy-exception lacp-in-clear leaves LACP in clear; FortiSwitch 7.4.1+ can exclude ARP, 802.1q, LACP, LLDP, STP, QinQ, IPv4, and IPv6. Deployments must trade off between encryption policy and adjacency protocol viability.

Typical deployment scenarios

  • Switch-to-switch (uplink): Cisco TrustSec NDAC + SAP or MKA on trunk links.
  • Switch-to-host (downlink): only MKA is supported; Cat 9200 is 128-bit only; requires 802.1X + AAA + ssci-based-on-sci (interoperability). Not supported on EtherChannel; unbundle first.
  • Wireless AP uplink: Cisco 9800 WLC MACsec On-Prem (April 2026, both PSK and 802.1X modes, encrypting the wired link between AP and WLC).
  • "Visible but unreadable": in all scenarios, a sniffer can see DA/SA/SecTAG/PN/SCI, but user data is ciphertext.

Host OS support

  • Windows 11: does not natively support MACsec. Microsoft's official answer: "Windows 11 currently does not directly support native support for MACsec. MACsec is usually implemented at the network switch or NIC level." It requires third-party software like Cisco Secure Client or NIC vendor drivers.
  • Apple macOS: natively supports 802.1X (including EAP-TLS/TTLS/PEAP/FAST), but Apple's platform security documentation does not list MACsec (IEEE 802.1AE) as a built-in capability. MACsec is typically terminated on the switch side.
  • Linux: natively supported since Linux 4.5 (2016), contributed by Red Hat engineer Sabrina Dubroca as drivers/net/macsec.c, configured via ip macsec. This is currently the only desktop/server OS with mainline kernel support for MACsec.

MACsec on host-access scenarios is not widespread on Windows or macOS, which is a gap versus 802.1X adoption on hosts.

Practical advice

For operators.

  1. When troubleshooting MACsec links, capture the MKA EAPOL handshake first to obtain the CKN/CAK, then feed it to the Wireshark 4.6+ MKA dissector UAT to automatically derive the SAK, or configure a PSK directly.
  2. Before enabling must-secure, confirm whether LACP/STP/LLDP need policy-exception ... in-clear, otherwise the link will break because the control plane is encrypted.
  3. MACsec does not replace DAI/DHCP Snooping/802.1X port security—it defends against mid-link attacks, not against misbehavior inside an authenticated endpoint.
  4. The device system MAC is part of the SCI; replacing the supervisor or chassis changes the SCI, which requires re-negotiating the SC.

For developers.

  1. On Linux, host-side MACsec uses ip link add link eth0 macsec0 type macsec + ip macsec add ...; PSK mode is sufficient, no 802.1X required.
  2. For IP/MPLS end-to-end encryption needs, follow the IEEE 802.1AE-2018 revision project P802.1AE-2018-Rev and the IETF MKA-over-IP draft.
  3. When writing protocol parsers, reference tcpdump's print-macsec.c (clean structure; the SecTAG layout is confirmed there).

One-line takeaway

MACsec turns the Ethernet frame payload into ciphertext, but the MAC address itself remains in the plaintext header—this is so switches can still learn the CAM table and receivers can still identify the secure channel. The January 2026 MACsec Enhanced proposal wants to change that, removing the MAC header from integrity protection to support IP/MPLS end-to-end encryption, but it is still at the draft stage. Until it lands, the fate of the MAC address on a MACsec link is clear: plaintext, readable, non-tamperable.

References

  • IEEE 802.1AE-2018 standard home: https://1.ieee802.org/security/802-1ae/
  • MACsec Enhanced proposal v02 (2026-01): https://www.ieee802.org/1/files/public/docs2026/new-bidgoli-macsec-enhanced-0226-v02.pdf
  • IEEE 802.1AE test vectors (confirms AAD/plaintext scope): https://www.ieee802.org/1/files/public/docs2011/bn-randall-test-vectors-0511-v1.pdf
  • IEEE 802.1X-2010 MIB (MKA/CAK/CKN/SAK definitions): https://www.ieee802.org/1/files/public/MIBs/IEEE8021X-PAE-MIB-201404101619Z.mib
  • Mick Seaman PSKs document (CKN/KMD conventions): https://grouper.ieee.org/groups/802/1/files/public/docs2022/x-seaman-psks-1222-v0.pdf
  • Cisco Catalyst 9200 MACsec configuration guide: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9200/software/release/17-6/configuration_guide/sec/b_176_sec_9200_cg/macsec_encryption.pdf
  • Cisco Wireless MACsec On-Prem (2026-04): https://www.cisco.com/c/en/us/td/docs/wireless/controller/9800/technical-reference/macsec-on-prem-dg.html
  • FortiSwitch 7.6.7 MACsec (ARP/LACP/LLDP/STP exception list): https://docs.fortinet.com/document/fortiswitch/7.6.7/fortiswitchos-administration-guide/110404
  • IPInfusion MACsec Tech Brief (explicit: MACsec does not prevent ARP spoofing): https://espalobi.sirv.com/collateral/IPInfusion-Layer2-security-MACsec-Tech-Brief-July-2023.pdf
  • Wireshark 4.6.0 Release Notes (MACsec decryption extension): https://www.wireshark.org/docs/relnotes/wireshark-4.6.0
  • Wireshark MKA field reference: https://www.wireshark.org/docs/dfref/m/mka.html
  • FreeBSD tcpdump print-macsec.c (authoritative SecTAG structure comments): https://cgit.freebsd.org/src/tree/contrib/tcpdump/print-macsec.c
  • Linux ip-macsec(8) man page: https://manpages.debian.org/unstable/iproute2/ip-macsec.8.en.html
  • Microsoft Q&A (Windows 11 does not natively support MACsec): https://learn.microsoft.com/en-sg/answers/questions/1792557/how-do-i-enable-macsec-on-windows-11
  • On this site: ARP Spoofing Defense
  • On this site: 802.1X and MAC Authentication Bypass
  • On this site: Filtering Wireshark Captures by MAC Address
Related Articles
About the Author · Jondy

Network engineer with a background in enterprise network operations and security. Founded 7n4.cn in 2017. Questions or suggestions are welcome—get in touch.

← Back to Blog