MAC address

2025. 8. 1. 23:50·Computer Science/Network

A MAC (Media Access Control) address is a unique identifier assigned to a network interface for communication at the data link layer (Layer 2) of the OSI model.

 

Key Characteristics:

  • It is a physical (hardware) address embedded into the Network Interface Card (NIC) of a device.
  • All devices connected to a network must have a MAC address to participate in communication.
  • The ARP (Address Resolution Protocol) is used to map an IP address to its corresponding MAC address.
  • Once the MAC address is determined, the data is forwarded to the network layer (Layer 3) for further processing.

How MAC Address Handling Works

 

  • The NIC (Network Interface Card) listens for incoming signals and converts them into Layer 2 data units (frames).
  • It then checks the destination MAC address of each incoming frame:
    • If the destination MAC matches the NIC’s own MAC address, the frame is accepted and passed to the upper layer.
    • If not, the frame is discarded.
    • If the destination is a broadcast or multicast address, the frame is processed as intended for the group and forwarded to the upper layer.

This mechanism ensures that only relevant data is processed by a device, maintaining efficiency and security within the local network.

 

MAC Address Structure

 

A MAC (Media Access Control) address is a 48-bit identifier typically represented as a 12-digit hexadecimal number.

 

Example format: 00:1A:2B:3C:4D:5E

 

The 48 bits are divided into two 24-bit parts:

  • OUI (Organizationally Unique Identifier) – First 24 bits
    • Assigned and managed by the IEEE
    • Identifies the manufacturer of the network interface card (NIC)
    • A manufacturer may be assigned multiple OUIs
  • UAA (Universally Administered Address) – Last 24 bits
    • Assigned by the manufacturer
    • Uniquely identifies each device produced by that manufacturer

 


Key Characteristics of MAC Addresses

  1. Globally Unique Identifier
    •    Each MAC address is designed to be unique across all network devices.
    •    The OUI ensures that no two manufacturers assign overlapping addresses.
  2. Relationship with the Network Layer
    •    MAC addresses operate at Layer 2 (Data Link Layer)
    •    IP addresses operate at Layer 3 (Network Layer)
    •    MAC is the physical address, while IP is the logical address
  3. Purpose and Usage
    •    Used for direct communication within a local network
    •    Enables frame delivery from one device to another over Ethernet or Wi-Fi
    •    Mapped from IP using ARP (Address Resolution Protocol)
  4. Notation Format
    •    Written as 6 pairs of hexadecimal digits separated by colons or hyphens
    •    Example: 00:1A:2B:3C:4D:5E or 00-1A-2B-3C-4D-5E
  5. Configuration and Mutability
    •    Factory-assigned MAC addresses are immutable in physical devices
    •    In virtualized environments, MAC addresses can be modified via software

MAC addresses play a critical role in Layer 2 communications, acting as unique hardware identifiers that ensure accurate data delivery on local networks.

'Computer Science > Network' 카테고리의 다른 글

NAT  (0) 2025.08.17
IP Address  (0) 2025.08.06
ARP_Address Resolution Protocol  (0) 2025.07.30
Load Balancer  (0) 2025.07.25
PDU  (0) 2025.07.25
'Computer Science/Network' 카테고리의 다른 글
  • NAT
  • IP Address
  • ARP_Address Resolution Protocol
  • Load Balancer
JTB
JTB
웹/앱 개발 정보를 공유하고 있습니다.
  • JTB
    JTechBlog
    JTB
  • 전체
    오늘
    어제
    • All About Programming;) N
      • Computer Science
        • Terminology and Concepts
        • Network
        • Operating System
        • Database
        • Data Structure
      • Frontend
        • Javascript Essentials
        • Perfomance Optimization
        • JS Patterns
        • Next.js
        • Flutter
      • Backend
        • Node.js
      • DevOps
        • Docker & Kubernetes
      • Coding Test N
        • LeetCode N
        • Programmers
      • Tech Books & Lectures
        • Javascript_Modern JS Deep d..
        • Network_IT 엔지니어를 위한 네트워크 입문
      • Projects
        • PolyLingo_2025
        • Build Your Body_2024
        • JStargram_2021
        • Covid19 Tracker_2021
        • JPortfolio_2021
      • BootCamp_Codestates
        • TIL
        • TILookCloser
        • Pre Tech Blog
        • IM Tech Blog
        • Daily Issues and DeBugging
        • First Project
        • Final Project
        • Sprint Review
        • Good to Know
        • Socrative Review
        • HTML & CSS
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

    • 글쓰기
    • 관리
  • 공지사항

  • 인기 글

  • 태그

    Operating System
    database
    testing
    스코프
    indie hacker
    자바스크립트 딥다이브
    structure of os
    커리어
    VoiceJournal
    JavaScript
    딥다이브
    Data Structure
    Shared resources
    polylingo
    mobile app
    이벤트
    Time complexity and Space complexity
    js pattern
    DOM
    Binary Tree BFS
    CPU scheduling algorithm
    모던 자바스크립트 Deep Dive
    자바스크립트
    프론트엔드 성능 최적화 가이드
    Threads and Multithreading
    TCP/IP
    need a database
    leetcode
    How memory manage data
    Network
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.5
JTB
MAC address
상단으로

티스토리툴바