IP Address

2025. 8. 6. 01:07·Computer Science/Network

 

Addressing in OSI Layer 2 and Layer 3

 

 

In the OSI 7-layer model, only Layer 2 (Data Link Layer) and Layer 3 (Network Layer) use addressing schemes:

  • Layer 2 uses a physical address, known as the MAC address
  • Layer 3 uses a logical address, known as the IP address

MAC Address (Layer 2)

A MAC address is split into two 24-bit parts:

  • OUI (Organizationally Unique Identifier): Assigned by IEEE to identify the manufacturer
  • UAA (Universally Administered Address): Assigned by the manufacturer to uniquely identify a specific device

MAC addresses are fixed-length (48 bits) and follow a standard structure.


IP Address (Layer 3)

IP addresses are also divided into two components:

  1. Network Address
    •    Identifies the overall network
    •    Hosts with the same network address are considered part of the same local network
  2. Host Address
    •    Identifies an individual device within that network

 

Unlike MAC addresses, the boundary between the network and host portions of an IP address is not fixed.

It is defined using subnet masks or class-based rules.

 


IP Address Classes (IPv4)

The traditional classful addressing system divided IP addresses into classes based on the required number of hosts:

  • Class A
    • First octet: Network part
    • Supports ~16 million hosts
    • Range: 1.0.0.0 to 126.255.255.255
  • Class B
    • First two octets: Network part
    • Supports ~65,000 hosts
    • Range: 128.0.0.0 to 191.255.255.255
  • Class C
    • First three octets: Network part
    • Supports ~250 hosts
    • Range: 192.0.0.0 to 223.255.255.255

 

Key Distinction

  • MAC addresses have a fixed structure (24 bits OUI + 24 bits UAA)
  • IP addresses have a flexible structure, allowing subnetting and variable-length network/host division

This flexibility is what makes IP addressing more scalable for diverse network sizes.

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

URI, URL and URN  (0) 2025.08.30
NAT  (0) 2025.08.17
MAC address  (0) 2025.08.01
ARP_Address Resolution Protocol  (0) 2025.07.30
Load Balancer  (0) 2025.07.25
'Computer Science/Network' 카테고리의 다른 글
  • URI, URL and URN
  • NAT
  • MAC address
  • ARP_Address Resolution Protocol
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
  • 블로그 메뉴

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

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

  • 인기 글

  • 태그

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

  • 최근 글

  • hELLO· Designed By정상우.v4.10.5
JTB
IP Address
상단으로

티스토리툴바