Who Is Who in a Wi-Fi Frame's MAC Address Fields?

Enterprise networks

The first time you inspect a Wi-Fi capture in monitor mode, it is tempting to read Address 1 as the destination and Address 2 as the source. That shortcut can look right in a simple exchange. Then an access point sits in the path and a third address appears: it may identify the original station or the packet's eventual destination.

An 802.11 data frame has to answer two questions at once: who sends this hop to whom, and who are the original source and final destination? Two bits in Frame Control, To DS and From DS, describe the direction. Here, DS (Distribution System) is a useful shorthand for the network behind the access point.

Read the addresses from the direction bits

This table applies to ordinary data frames. RA/TA mean receiver and transmitter for the wireless hop; DA/SA mean the ultimate destination and original source.

To DSFrom DSAddress 1Address 2Address 3Address 4
00DA / RASA / TABSSIDabsent
10BSSID / RASA / TADAabsent
01DA / RABSSID / TASAabsent
11RATADASA

When a phone sends data to an AP, the usual direction is To DS=1, From DS=0. Address 1 is the AP's BSSID because the radio hop ends there. Address 2 is the station address currently in use. Address 3 is the destination beyond the AP. On the return path the direction flips: Address 2 is the AP, while Address 3 retains the original source.

So check the direction bits before assigning meaning to an address. Address 1 is not always the final destination, and Address 2 is not always the original source. Wireshark decodes the fields as RA, TA, DA, SA, and BSSID; its 802.11 display-filter reference lists the corresponding fields.

Why a frame sometimes has a fourth address

Three addresses are usually enough when a station sends through one AP. With both direction bits set, Address 1 and 2 identify the receiver and transmitter on this wireless hop, while Address 3 and 4 preserve the final destination and original source. A wireless bridge link that forwards traffic between APs and must retain station addresses is one place this four-address format is useful.

That is why Address 1/2/3/4 should not be memorized as “destination/source/router/client.” The numbers stay fixed; their roles depend on frame type and direction. Control frames can use different address layouts, so the table above is for ordinary data frames, not every frame in a capture.

Check where the capture was taken

With a Wi-Fi adapter in normal client mode, the operating system often gives Wireshark traffic after the driver has already handled it. The original 802.11 header may be gone. To inspect these addresses, use an adapter that supports monitor mode and verify that the capture actually retains the wireless header. Drivers, channel selection, and encryption still affect which frames are visible.

A practical filter sequence is to start broad with wlan.addr == aa:bb:cc:dd:ee:ff, expand Frame Control, and note To DS and From DS. Then check whether the address appears as wlan.ta, wlan.ra, wlan.sa, or wlan.da. That is more useful for a raw wireless frame than reaching first for eth.src or eth.dst. For related syntax, see filtering Wireshark captures by MAC address.

One last source of confusion: a phone may use a private address for a particular SSID. Seeing that station address in an association frame instead of the globally assigned address printed on the device is not, by itself, a bad capture. Check which address the operating system is using for that network, then follow it through the wireless frames.

If you are trying to find out which client address the wired switch learned behind an AP, an over-the-air capture is only part of the story. The forwarding path matters too; see why an access switch may not show a Wi-Fi client's MAC address.

Related Articles
About the Author · Lin

Technical editor at 7n4.cn covering data-link and IP topics. Articles use protocol specifications and packet captures to explain fields and behavior that are easy to confuse.

← Back to Blog