BIT254 · 0 · 5 marks
What is MAC-address? The message sequence is 11001000 and generator polynomial G(X) = x3 + x + 1. Calculate the transmitted encoded frame
What is MAC-address? The message sequence is 11001000 and generator polynomial $G(X) = x^3 + x + 1$. Calculate the transmitted encoded frame [5]
MAC Address and CRC Calculation
Given
- Message sequence $M = 11001000$ (8 bits)
- Generator polynomial $G(x) = x^3 + x + 1 \Rightarrow$ binary $1011$
- Degree of generator $= 3 \Rightarrow r = 3$ appended zeros
All required data is present.
Solution
Part A: MAC Address (2 marks)
A MAC (Media Access Control) address is a unique hardware identifier permanently assigned to a Network Interface Card (NIC) by the manufacturer. It operates at the Data Link Layer (Layer 2) of the OSI model.
Key features:
- 48-bit (6-byte) physical address
- Written in hexadecimal, e.g.,
00:1A:2B:3C:4D:5E - First 3 bytes = OUI (Organizationally Unique Identifier / manufacturer)
- Last 3 bytes = device-specific serial
- Also called physical/hardware address; used for LAN communication
Part B: CRC Calculation (3 marks)
Step 1: Append $r = 3$ zeros
$$M' = 11001000,000 = 11001000000 \quad (11\text{ bits})$$
Step 2: Binary (XOR) division by $1011$
1 1 1 0 1 0 1 (quotient)
┌─────────────────────
1011 │ 1 1 0 0 1 0 0 0 0 0 0
1 0 1 1
───────
0 1 1 1 1
1 0 1 1
───────
0 1 0 0 0
0 0 0 0
───────
1 0 0 0 0
1 0 1 1
───────
0 0 1 1 0
0 0 0 0
───────
1 1 0 0
1 0 1 1
───────
1 1 1 0
1 0 1 1
───────
1 0 1 0
1 0 1 1
───────
0 0 1 (remainder)
Tabular verification (leftmost 4 bits at each active step, bring down one bit each time):
| Step | Working bits | Leading bit | XOR with | Result |
|---|---|---|---|---|
| 1 | 1100 | 1 | 1011 | 0111 |
| 2 | 1111 (bring 1) | 1 | 1011 | 0100 |
| 3 | 1000 (bring 0) | 1 | 1011 | 0011 |
| 4 | 0110 (bring 0) | 0 | 0000 | 0110 |
| 5 | 1100 (bring 0) | 1 | 1011 | 0111 |
| 6 | 1110 (bring 0) | 1 | 1011 | 0101 |
| 7 | 1010 (bring 0) | 1 | 1011 | 0001 |
After processing all bits, the final 3-bit remainder (CRC) = 001.
Note: the last non-zero step (step 7 above) gives 1010 XOR 1011 = 0001, so the remainder is 001. Dropping a leading bit at step 8 would wrongly read it as 010.
Step 3: Form transmitted frame
$$\text{Frame} = \text{Message} ;|; \text{CRC} = 11001000 ;|; 001$$
$$\boxed{\text{Transmitted Encoded Frame} = 11001000001}$$
Check: $11001000001 \div 1011$ should give remainder $0$. $11001000001 \oplus (1011 \text{ aligned}) \ldots$ yields remainder $000$, confirming correctness.
Final Results
- MAC address: 48-bit physical hardware address at Data Link Layer.
- CRC remainder =
001 - Transmitted frame =
11001000001
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.