BIT254 ยท 2079 ยท 5 marks
What is MAC-address? The message sequence is 1101011011 and generator polynomial G(X) = x3 + x + 1. Calculate the transmitted encoded frame
What is MAC-address? The message sequence is 1101011011 and generator polynomial $G(X) = x^3 + x + 1$. Calculate the transmitted encoded frame [5]
MAC Address and CRC Calculation
Given data
- Message M =
1101011011 - Generator polynomial $G(x) = x^3 + x + 1 \Rightarrow$ bit string
1011(degree 3)
MAC Address (2 marks)
A MAC (Media Access Control) Address is a unique 48-bit hardware identifier assigned to a Network Interface Card by the manufacturer. It operates at the Data Link Layer (Layer 2) of the OSI model.
- 48-bit (6-byte) physical address, written in hexadecimal, e.g.
00:1A:2B:3C:4D:5E - First 3 bytes = manufacturer (OUI), last 3 bytes = device serial
- Also called physical/hardware address; used for LAN addressing
CRC Calculation (3 marks)
Step 1: Append 3 zeros (degree of G = 3)
$$1101011011 \rightarrow 1101011011000$$
Step 2: Modulo-2 division of 1101011011000 by 1011
The dividend 1101011011000 is 13 bits long. Load its leading four bits into a working register, XOR the divisor 1011 into the register whenever the leading bit of the register is 1, and bring down the next dividend bit after each comparison. The nine bits left after the first group, 0 1 1 0 1 1 0 0 0, are brought down one at a time:
1 1 0 1 | 0 1 1 0 1 1 0 0 0
- Take
1101, XOR1011=0110; drop next0โ1100 1100XOR1011=0111; drop next1โ11111111XOR1011=0100; drop next1โ10011001XOR1011=0010; drop next0โ01000100leading 0, no XOR; drop next1โ10011001XOR1011=0010; drop next1โ01010101leading 0, no XOR; drop next0โ10101010XOR1011=0001; drop next0โ00100010leading 0, no XOR; drop next0โ0100
All nine bits have now been brought down and every dividend bit is consumed. The working register holds 0100, and its low-order three bits are the remainder, so the CRC is 100.
Step 3: Remainder (CRC)
$$\text{CRC} = 100$$
Step 4: Transmitted encoded frame
$$\text{Frame} = \text{Message} + \text{CRC} = 1101011011 + 100 = \boxed{1101011011100}$$
Result
| Component | Value |
|---|---|
| Message | 1101011011 |
| Generator | 1011 |
| CRC remainder | 100 |
| Transmitted frame | 1101011011100 |
Verification: 1101011011100 รท 1011 should give remainder 000. Dividing confirms exact divisibility, so the frame is correct.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.