CS Atlas GATE 2027
Computer Networks course
0 / 90 complete

Computer Networks/Phase 2 · Data Link Layer

Lesson 2.4.1 · Item 37 of 90

Ethernet frame format, MAC address types, minimum and maximum frame sizes

Read at your own pace. Try the questions before opening the answers.

On this page

Recall warm-up

  1. ETR token ring efficiency formula?
    Stuck? Peek at 2.3.5 Controlled access: polling, token passing and its efficiency
    • Polling: primary asks each station; η = T_t/(T_t + T_poll); single point of failure.
    • Token passing: only the token holder sends (token holding time).
    • Ring latency = d/v + N·b/R.
    • ETR η = 1/(1 + a/N); DTR η = 1/(1 + a(N+1)/N).

    Read lesson 2.3.5

  2. CSMA/CD minimum frame size formula?
    Stuck? Peek at 2.3.3 CSMA and its persistence variants; CSMA/CD; minimum frame size = 2·Tp·B
    • CSMA: sense before sending; collisions still possible within T_p.
    • 1-persistent / non-persistent / p-persistent: what to do when busy.
    • CSMA/CD: listen while sending; on collision jam, stop, back off.
    • L_min = 2·T_p·B; d_max = L_min·v/(2B); i.e. T_t ≥ 2T_p.
    • CSMA/CA (Foundation): wireless avoids collisions instead of detecting them.

    Read lesson 2.3.3

  3. What does the CRC in a frame catch for sure?
    Stuck? Peek at 2.2.4 CRC: generator polynomial, modulo-2 division, what CRC catches
    • G of degree r (r + 1 bits); append r zeros, divide modulo 2, send data + r-bit remainder.
    • Receiver divides the whole frame: remainder 0 → accept.
    • Undetected ⇔ error pattern E is a multiple of G.
    • Catches: all single-bit errors (≥ 2 terms), all odd counts (x + 1 | G), all bursts ≤ r; (r+1)-bursts missed w.p. 2⁻⁽ʳ⁻¹⁾, longer 2⁻ʳ.

    Read lesson 2.2.4

The Hook

Your laptop's wired network jack speaks Ethernet (IEEE 802.3), the dominant wired LAN technology. Every Ethernet frame has the same fields in the same order, and two numbers — 64 and 1518 bytes — appear in almost every GATE question about it. Both numbers follow directly from what you already know: collision detection and buffer sizes.

Predict First

A program wants to send only 20 bytes of data in one Ethernet frame. Will the frame be about 38 bytes long?

,

No — 64 bytes. Ethernet requires at least 46 bytes of data so that the frame lasts long enough for collision detection; the sender adds 26 bytes of padding. Header (14) + data with padding (46) + CRC (4) = 64.

Core Concept

The frame, field by field

Ethernet frame (sizes in bytes):

048162435
Preamble7 bits
SFD1 bit
Dest MAC6 bits
Src MAC6 bits
Type/Len2 bits
Data + pad (46–1500)10 bits
CRC4 bits
Byte boxes: preamble and start frame delimiter (SFD) synchronise the receiver; then destination, source, type/length, data, 32-bit CRC (FCS). Data box not to scale.

What each field does

FieldBytesPurpose
Preamble710101010… lets the receiver lock onto the bit timing
SFD (start frame delimiter)110101011: "frame starts now"
Destination address6MAC of the next hop (or group / broadcast)
Source address6MAC of the sender on this link
Type / Length2which network-layer protocol is inside (or the data length)
Data (payload)46–1500the packet; padded up to 46
CRC (FCS)432-bit CRC over destination … data
Preamble and SFD are not counted in the frame size.

Minimum 64 bytes and maximum 1518 bytes

  • Minimum frame = 64 bytes (6 + 6 + 2 + 46 + 4), i.e. 512 bits = the CSMA/CD slot time of Lessons 2.3.3–2.3.4 at 10 Mbps. Shorter data is padded to 46 bytes.
  • Maximum frame = 1518 bytes (14 + 1500 + 4): the 1500-byte data limit keeps buffers small and stops one station from hogging the medium.
  • The largest payload a link can carry is its MTU (maximum transmission unit): 1500 bytes for Ethernet. Phase 3 shows what happens when a packet is bigger than the MTU of the next link.
Data bytesPaddingFrame bytes
202664
46064
100001018
150001518
Frame size = 18 + max(data, 46) bytes.

Unicast, multicast, broadcast addresses

  • Unicast: one interface. The least significant bit of the first byte is 0 (the first byte is even).
  • Multicast: a group of interfaces. That bit is 1 (the first byte is odd), e.g. 01:00:5E:00:00:01.
  • Broadcast: every interface on the LAN: FF:FF:FF:FF:FF:FF (all 48 bits 1).
01001010LSB of 1st byte: 0 → unicast
First byte 0x4A = 01001010: last bit 0 → unicast address.

Putting it together

  • An Ethernet frame is a 14-byte header, 46–1500 bytes of data and a 4-byte CRC.
  • 64 bytes minimum comes from collision detection; 1500-byte MTU caps the payload.
  • First-byte LSB tells unicast from multicast; all-1s is broadcast.

Visual

ItemValue
Header14 bytes (6 + 6 + 2)
CRC4 bytes (32-bit)
Data46 to 1500 bytes
Frame64 to 1518 bytes
MTU1500 bytes
On the wire extra8 bytes preamble + SFD
Ethernet numbers to memorise.

Worked Examples

Easy

A packet of 20 bytes is sent in one Ethernet frame. Padding and frame size?

Show the full solution

Padding = 46 − 20 = 26 bytes. Frame = 14 + 46 + 4 = 64 bytes.

Medium

Largest Ethernet frame and largest payload? What fraction of the largest frame is payload (3 decimals)?

Show the full solution

Frame 1518 bytes, payload (MTU) 1500 bytes. 1500/1518 = 0.988.

GATE

Classify each MAC address: (i) 01:00:5E:00:00:01 (ii) 4A:30:10:21:10:1A (iii) FF:FF:FF:FF:FF:FF.

Show the full solution

(i) first byte 0x01 odd → multicast. (ii) 0x4A = 01001010, last bit 0 → unicast. (iii) all 1s → broadcast (a special case of a group address).

GATE Traps

  • The 64/1518-byte limits exclude the 8 bytes of preamble and SFD.
  • Minimum data is 46 bytes, minimum frame is 64 bytes — do not mix them.
  • Multicast is decided by the lowest bit of the first byte, not the last byte.
  • MTU 1500 is the payload limit, not the frame limit (1518).

Memory Hook

"14 + 46 + 4 = 64; 14 + 1500 + 4 = 1518" — header, data, CRC.

Connect the Dots

We know what an Ethernet frame looks like. Next (2.4.2): how efficient is classic shared Ethernet under CSMA/CD, and why do modern switched networks no longer collide at all?

Self-Test

  1. NAT

    An Ethernet frame carries 38 data bytes. How many padding bytes are added?

    Write your answer before opening the key.

  2. NAT

    Size in bytes of an Ethernet frame carrying 1000 data bytes (preamble excluded)?

    Write your answer before opening the key.

  3. MCQ

    Which MAC address is multicast?

    1. 00:1B:44:11:3A:B7
    2. 01:00:5E:7F:00:01
    3. 3C:22:FB:0A:91:7E
    4. A8:5E:45:00:00:01
  4. MSQ

    Which are true for Ethernet?

    1. Minimum frame 64 bytes
    2. MTU 1500 bytes
    3. CRC is 16 bits
    4. Preamble is counted in the 1518-byte maximum
  5. NAT

    Bits on the wire for a minimum-size frame including preamble and SFD?

    Write your answer before opening the key.

Rule Card

  • Frame: preamble 7 + SFD 1 | dest 6 | src 6 | type/len 2 | data 46–1500 | CRC 4.
  • Frame 64–1518 bytes (preamble excluded); pad data to 46.
  • MTU = 1500 bytes.
  • First-byte LSB 1 → multicast; FF:…:FF → broadcast; else unicast.
  • 64 bytes = 512 bits = CSMA/CD slot time at 10 Mbps.

Concept Ledger

  • Ethernet (IEEE 802.3)
  • preamble, SFD
  • destination / source address, type/length field
  • padding
  • FCS (32-bit CRC)
  • minimum 64 / maximum 1518 bytes
  • MTU (1500 for Ethernet)
  • unicast / multicast / broadcast MAC addresses

Answer Vault

Try the questions first. Open when you are ready to check.

Warm-up answers

  1. 1/(1 + a/N).
  2. L_min = 2·T_p·B.
  3. All single-bit errors and all bursts of length ≤ r.

Self-test answers

  1. 8 — 46 − 38 = 8.
  2. 1018 — 14 + 1000 + 4 = 1018.
  3. B — Only 0x01 is odd.
    • A: 0x00 is even.
    • C: 0x3C is even.
    • D: 0xA8 is even.
  4. AB — 64 / 1500 are standard.
    • C: Ethernet uses a 32-bit CRC.
    • D: Preamble and SFD are excluded.
  5. 576 — (64 + 8) × 8 = 576.

Flashcards

  1. Ethernet min and max frame?
    Reveal answer64 and 1518 bytes (preamble excluded).
  2. Ethernet MTU?
    Reveal answer1500 bytes.
  3. How to spot a multicast MAC?
    Reveal answerLeast significant bit of the first byte is 1 (first byte odd).
  4. Padding rule?
    Reveal answerData shorter than 46 bytes is padded to 46.

Exam shortcuts

  • Frame bytes = 18 + max(data, 46). — standard Ethernet frame without VLAN tag; preamble/SFD not counted.
  • Address type: first byte odd → multicast/broadcast; even → unicast. — MAC addresses written in the usual byte order.

Ready for the next idea?

Mark this item complete when you’ve finished reading and working through it.