Introduction
μ΄λ»κ² μΆ©λμ νΌν΄μ λ΄ μμ λΌμ°ν°κΉμ§ μ λ¬λ κ²μΈκ°?
MAC : Medium Access Control/Mutiple Access Protocol
Mac protocol
three broad classes:
βοΈ Channel Partitioning
- μ΄λν΅μ (LTE) κ° μ¬μ©νλ λ°©μ
- μ¬λμ΄ λ§μ λ ν¨μ¨μ
- share channel efficiently and fairly at high load
- inefficient at low load: delay in channel access, I/N bandwidth allocated even if only I active node!
- TDMA (Time Division Multiple Access)
- FDMA (Frequency Division Multiple Access)
βοΈ Random Access
- μ΄λλ·, μμ΄νμ΄κ° μ¬μ©νλ λ°©μ
- μ¬λμ΄ μ μ λ ν¨μ¨μ
- channel not divided, allow collisions
- how to detect, recover from collisions
- CSMA (Carrier Sense Multiple Access)
- listen before transmit
- 물리μ μ΄μ λ‘ μΆ©λμ΄ λΆκ°νΌνλ€
- κ·Έλ λ€λ©΄ μΆ©λμ damage λ₯Ό μ΅μνν΄μΌ νλ€
- κ·Έλμ λμ¨ κ²μ΄ CSMA/CD (collision detection)
- frame μ μ‘ μ€, collision detection μΆ©λ λ°μ μ μ μ‘μ μ€λ¨νλ€
- random time ν frame μ μ¬μ μ‘ν΄μΌ νλ€ (random range κ° μ§§μμλ‘ μ’λ€)
- μΌμμνμμ μ°λ¦¬κ° λννλ κ²κ³Ό λΉμ·νλ€
- efficient at low load: single node can fully utilize channel
- high load: collision overhead
βοΈ Taking Turns
- νμ€μ μΌλ‘ λ§μ΄ μ°μ΄μ§ μλλ€: single point of failure
- look for best of both worlds!
Ethernet
frame structure
data μ ip packet μ΄ λ€μ΄κ°λ€
48 bit MAC address κ° λ€μ΄κ°λ€
Wifi
frame structure
π Reference
μλͺ»λ λ΄μ©μ΄ μλ€λ©΄ λκΈλ‘ μλ €μ£Όμλ©΄ κ°μ¬νκ² μ΅λλ€ π