Recall warm-up
- 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).
- 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.
- 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⁻ʳ.
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):
What each field does
| Field | Bytes | Purpose |
|---|---|---|
| Preamble | 7 | 10101010… lets the receiver lock onto the bit timing |
| SFD (start frame delimiter) | 1 | 10101011: "frame starts now" |
| Destination address | 6 | MAC of the next hop (or group / broadcast) |
| Source address | 6 | MAC of the sender on this link |
| Type / Length | 2 | which network-layer protocol is inside (or the data length) |
| Data (payload) | 46–1500 | the packet; padded up to 46 |
| CRC (FCS) | 4 | 32-bit CRC over destination … data |
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 bytes | Padding | Frame bytes |
|---|---|---|
| 20 | 26 | 64 |
| 46 | 0 | 64 |
| 1000 | 0 | 1018 |
| 1500 | 0 | 1518 |
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).
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
| Item | Value |
|---|---|
| Header | 14 bytes (6 + 6 + 2) |
| CRC | 4 bytes (32-bit) |
| Data | 46 to 1500 bytes |
| Frame | 64 to 1518 bytes |
| MTU | 1500 bytes |
| On the wire extra | 8 bytes preamble + SFD |
Worked Examples
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.
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.
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
- NAT
An Ethernet frame carries 38 data bytes. How many padding bytes are added?
Write your answer before opening the key.
- NAT
Size in bytes of an Ethernet frame carrying 1000 data bytes (preamble excluded)?
Write your answer before opening the key.
- MCQ
Which MAC address is multicast?
- 00:1B:44:11:3A:B7
- 01:00:5E:7F:00:01
- 3C:22:FB:0A:91:7E
- A8:5E:45:00:00:01
- MSQ
Which are true for Ethernet?
- Minimum frame 64 bytes
- MTU 1500 bytes
- CRC is 16 bits
- Preamble is counted in the 1518-byte maximum
- 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 + a/N).
- L_min = 2·T_p·B.
- All single-bit errors and all bursts of length ≤ r.
Self-test answers
- 8 — 46 − 38 = 8.
- 1018 — 14 + 1000 + 4 = 1018.
- B — Only 0x01 is odd.
- A: 0x00 is even.
- C: 0x3C is even.
- D: 0xA8 is even.
- AB — 64 / 1500 are standard.
- C: Ethernet uses a 32-bit CRC.
- D: Preamble and SFD are excluded.
- 576 — (64 + 8) × 8 = 576.
Flashcards
- Ethernet min and max frame?
Reveal answer
64 and 1518 bytes (preamble excluded). - Ethernet MTU?
Reveal answer
1500 bytes. - How to spot a multicast MAC?
Reveal answer
Least significant bit of the first byte is 1 (first byte odd). - Padding rule?
Reveal answer
Data 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.