Ref: https://learn.cantrill.io/courses/2022818/lectures/45636947 and https://learn.cantrill.io/courses/2022818/lectures/45636954

YouTube: https://www.youtube.com/watch?v=c5lV995dSAA and https://www.youtube.com/watch?v=Q_55Lryu9zc


💡 In OSI-model, higher layers add features and capabilities to lower layers

OSI L2 (Data Link) - Key Concepts


Ethernet Frame (L2 Encapsulation)

Untitled

  1. MAC Header
    1. Preamble = start frame delimiter → receiver device knows a frame is incoming
    2. Destination (DST) & Source (SRC) MAC addresses
      • If DST MAC = FF:FF:FF:FF:FF:FF (All Fs) → broadcast frame to all devices in NW
    3. Ether Type (ET) → specifies which L3 protocol (e.g. IP) puts data (payload) inside frame
  2. Payload = Data (provided by L3)
  3. Frame Check Sequence (FCS) → identifies frame errors (simple CRC, checks corruption)

CSMA/CD (Carrier Sense Multiple Access & Collision Detection)

Untitled