watch> ethernet — 12 packets

Ethernet · Protocol

Ethernet and Switches

CoreL2
STEPS
  1. 1WHO HAS THE NAS?A broadcast asks for a MAC address
  2. 2LEARN, THEN FLOODThe switch notes where the laptop is
  3. 3ONLY THE NAS ANSWERSThe reply goes to one port
  4. 4PORT TO PORTFrames go only where they must
  5. 5OFF THE NETWORKA frame for the router
  6. 6A NEW FRAMEEvery hop rewraps the packet
NETWORK VIEW
ClientMAC …:53:10RouterMAC …:53:01NASMAC …:53:20SwitchInternetWeb Server203.0.113.10
STEP 1/6 · 0/12
PACKET FLOWARPTCP
STEPTIMESOURCEDESTPROTOINFOSIZE
10.s00:00:5e:00:53:10BroadcastARPIn port 1 · Who has 192.168.1.20? Tell 192.168.1.1060 B
20.s00:00:5e:00:53:10BroadcastARPOut port 2 (flooded) · Who has 192.168.1.20?60 B
30.s00:00:5e:00:53:10BroadcastARPOut port 8 (flooded) · Who has 192.168.1.20?60 B
40.s00:00:5e:00:53:2000:00:5e:00:53:10ARPIn port 2 · 192.168.1.20 is at 00:00:5e:00:53:2060 B
50.s00:00:5e:00:53:2000:00:5e:00:53:10ARPOut port 1 only · 192.168.1.20 is at 00:00:5e:00:53:2060 B
60.s192.168.1.10192.168.1.20TCPIn port 1 · 50532 → 445 [SYN]66 B
70.s192.168.1.10192.168.1.20TCPOut port 2 · 50532 → 445 [SYN]66 B
80.s192.168.1.20192.168.1.10TCPIn port 2 · 445 → 50532 [SYN, ACK]66 B
90.s192.168.1.20192.168.1.10TCPOut port 1 · 445 → 50532 [SYN, ACK]66 B
100.004s192.168.1.10203.0.113.10TCPIn port 1 · 52344 → 443 [SYN] (frame to the router)66 B
110.004s192.168.1.10203.0.113.10TCPOut port 8 · 52344 → 443 [SYN]66 B
120.004s198.51.100.7203.0.113.10TCPTTL 127 · 40112 → 443 [SYN] (new frame, after NAT)66 B

Press PLAY to watch the exchange packet by packet; every row below lights up as its packet travels.

LAYERData Link (Layer 2)
ADDRESS48-bit MAC
HEADER14 bytes, plus a 4-byte FCS
FRAME SIZE64 to 1,518 bytes
SPEEDS10 Mb/s to 800 Gb/s
DEFINED INIEEE 802.3

What is Ethernet?

Ethernet moves frames by 48-bit MAC address. The switch learns which port each device lives on and, after one broadcast, sends frames only where they belong.

Steps

  1. 1. WHO HAS THE NAS?A broadcast asks for a MAC address
  2. 2. LEARN, THEN FLOODThe switch notes where the laptop is
  3. 3. ONLY THE NAS ANSWERSThe reply goes to one port
  4. 4. PORT TO PORTFrames go only where they must
  5. 5. OFF THE NETWORKA frame for the router
  6. 6. A NEW FRAMEEvery hop rewraps the packet

Which port does Ethernet use?

Ethernet does not use a fixed port number.

Which layer does Ethernet run at?

Ethernet sits at Data Link (Layer 2).

Where is Ethernet defined?

IEEE 802.3.

Related protocols

About This Tool

This page provides original, human-reviewed information about internet protocols such as Ethernet (Ethernet and Switches), the Protocol Explorer and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.