Parse Ethernet frame

Parses an Ethernet frame and either shows the deduced values (Source and destination MAC, VLANs) or returns the packet data.

Input: TextResult: HTML with a sandboxed preview

Text input

Run to see the result

Examples

Recover a synthetic frame payload 1

Recover a synthetic frame payload 1. This is public demonstration data. Inspect both the input and the scope of the verification before using the result.

Input

020000000001020000000002080068656c6c6f

Expected answer

68 65 6c 6c 6f
Input type
Hex
Return type
Packet data (hex)
Recover a synthetic frame payload 2

Recover a synthetic frame payload 2. This is public demonstration data. Inspect both the input and the scope of the verification before using the result.

Input

020000000001020000000002080072656c656173653d322e31

Expected answer

72 65 6c 65 61 73 65 3d 32 2e 31
Input type
Hex
Return type
Packet data (hex)
Recover a synthetic frame payload 3

Recover a synthetic frame payload 3. This is public demonstration data. Inspect both the input and the scope of the verification before using the result.

Input

02000000000102000000000208006f776e65723d416461

Expected answer

6f 77 6e 65 72 3d 41 64 61
Input type
Hex
Return type
Packet data (hex)
Recover a synthetic frame payload 4

Recover a synthetic frame payload 4. This is public demonstration data. Inspect both the input and the scope of the verification before using the result.

Input

020000000001020000000002080073656e736f723d77657374

Expected answer

73 65 6e 73 6f 72 3d 77 65 73 74
Input type
Hex
Return type
Packet data (hex)
Recover a synthetic frame payload 5

Recover a synthetic frame payload 5. This is public demonstration data. Inspect both the input and the scope of the verification before using the result.

Input

0200000000010200000000020800617263686976653d32303235

Expected answer

61 72 63 68 69 76 65 3d 32 30 32 35
Input type
Hex
Return type
Packet data (hex)
Parse Ethernet frame escapes packet data HTML

Input

000000000000ffffffffffff08003c696d67207372633d78206f6e6572726f723d616c6572742831293e3c7363726970743e616c6572742832293c2f7363726970743e

Expected answer

<img src=x onerror=alert(1)><script>alert(2)</script>
Input type
Hex
Return type
Packet data
Parse Ethernet frame with one VLAN tag (802.1q)

Input

01000ccdcdd00013c3dfae188100a0760165aaaa

Expected answer

Source MAC: 00:13:c3:df:ae:18
Destination MAC: 01:00:0c:cd:cd:d0
VLAN: 118
Data:
aa aa
Input type
Hex
Return type
Text output
Parse Ethernet frame with two VLAN tags (802.1ad)

Input

0019aa7de688002155c8f13c810000d18100001408004500

Expected answer

Source MAC: 00:21:55:c8:f1:3c
Destination MAC: 00:19:aa:7d:e6:88
VLAN: 209, 20
Data:
45 00
Input type
Hex
Return type
Text output
Parse plain Ethernet frame

Input

000000000000ffffffffffff08004500

Expected answer

Source MAC: ff:ff:ff:ff:ff:ff
Destination MAC: 00:00:00:00:00:00
Data:
45 00
Input type
Hex
Return type
Text output

Good for use in conjunction with the Parse IPv4, and Parse TCP/UDP recipes.

Format reference: Parse Ethernet frame background and specification

Related tools

Browse networking tools