2079 9

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]

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

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, XOR 1011 = 0110; drop next 0 โ†’ 1100
  • 1100 XOR 1011 = 0111; drop next 1 โ†’ 1111
  • 1111 XOR 1011 = 0100; drop next 1 โ†’ 1001
  • 1001 XOR 1011 = 0010; drop next 0 โ†’ 0100
  • 0100 leading 0, no XOR; drop next 1 โ†’ 1001
  • 1001 XOR 1011 = 0010; drop next 1 โ†’ 0101
  • 0101 leading 0, no XOR; drop next 0 โ†’ 1010
  • 1010 XOR 1011 = 0001; drop next 0 โ†’ 0010
  • 0010 leading 0, no XOR; drop next 0 โ†’ 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

ComponentValue
Message1101011011
Generator1011
CRC remainder100
Transmitted frame1101011011100

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.