Pcornel
Networking · Network & Protocols › Ethernet & VLANs

Ethernet Frame Field Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=284

Back to the Topic

Answer

An Ethernet frame has a destination MAC address, a source MAC address, an EtherType naming the protocol inside, the payload, and a checksum (FCS). On trunks a 4-byte VLAN tag sits before the EtherType.

Remember

MAC addresses are valid on one link only: a router replaces both, a switch leaves them alone. EtherType 0x0800 is IPv4, 0x0806 ARP, 0x86DD IPv6, 0x8100 a VLAN tag. Captures usually lack the checksum and often the VLAN tag, because the network card removes them.

First checks

  • show interfaces <interface> — input errors, CRC, runts, giants.
  • show interfaces <interface> counters errors — errors per port.
  • show mac address-table address <mac> — where a source address was seen.
  • In a capture: destination and source MAC, VLAN tag, EtherType.

Verify in this order

frame built with the next hop's MAC as destination → correct EtherType → tagged with the right VLAN on trunks → checksum valid on arrival → accepted and switched or routed

Where it usually breaks

media/optics → administrative state → carrier/line protocol → negotiation → error/drop counters → neighbor discovery → upper-layer adjacency

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=284

Confirmation

Confirm action

Continue?