0 11

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]

Network and Data CommunicationsChapter 7: Network Layer Protocols and RoutingMAC address definitionNumerical: CRC frame calculation

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):

StepWorking bitsLeading bitXOR withResult
11100110110111
21111 (bring 1)110110100
31000 (bring 0)110110011
40110 (bring 0)000000110
51100 (bring 0)110110111
61110 (bring 0)110110101
71010 (bring 0)110110001

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.