introduction to networking - Ch.7 MAC
MAC
Multiple Access Control (MAC) protocols
Kinds of MAC protocols
coordinates transmissions from different stations in order to minimize/avoid collisions
-
Channel Partitioning MAC protocols
- Random Access MAC protocols
- “Taking turns” MAC protocols
TDM (Time Division Multiplexing): channel divided into N time slots, one per user; ineffificient with low duty cycle users and at light load.
- FDM (Frequency Division Multiplexing): frequency subdivided.
- Other examples include Code Division Multiple Access (CDMA)
- GSM, Used for mobile phones
A node transmits at random at full channel data rate R.
- If two or more nodes “collide”, they retransmit at random time
- The random access MAC protocol specifies how to detect collisions and how to recover from them
- E.g. Slotted Aloha, ALOHA, CSMA ...
- Listen before transmit, if the channel is busy, defer transmission.
- If collision happens, the entire transmission time is wasted.
Collision detection is easy in wired LANs (eg, Ethernet): can measure signal strength on the line, or code violations, or compare tx and receive signals
- Collision detection cannot be done in wireless LANs (the receiver is shut off while transmitting, to avoid damaging it with excess power)
LAN
Each IP node (Host, Router) on the LAN has ARP module and Table (aka ARP cache) Physical Layer devices: essentially repeaters operating at bit levels: repeat received bits on one interface to all other interfaces
Link layer device Bridge vs router
< ………………………….. >



