Week 9 - MAC protocols & VLANs Flashcards
What are 2 examples of broadcast link-layer technologies?
- Ethernet
- Wireless LANs
What is a MAC random access protocol?
Each station is treated equally (random access).
What are the 5 categories of MAC random access protocols?
- Pure Aloha
- Slotted Aloha
- CSMA
- CSMA/CD
- CSMA/CA
What is the pure aloha procedure?
Depends on ACKs
Each station sends a frame when it can
Sender Time-out is 2 x Tp
Backoff time Tb is waited if ACK not received (send not successful)
What is the difference between Pure Aloha and Slotted Aloha?
Slotted Aloha uses slots/frame transmission times to prevent overlapping of frames sent.
Contains collisions to a slot.
What is CSMA?
Carrier Sense Multiple Access
Senses medium using energy levels.
Uses persistent methods
What is the difference between CSMA/CD and CSMA/CA?
CD is collision detection
CA is collision avoidance
What does a link-layer switch do?
Receives frames and forwards them to ports based on MAC address.
How does switch self-learning work?
Uses switch table with ports mapped to MAC addresses.
switch learns from incoming frames.
If outgoing MAC address unknown, all unknown ports are flooded with the packet.
How can we define multiple broadcast domains?
VLAN
What are VLANs for?
Logical configuration
Can take multiple physical LANs and essentially create one massive VLAN switch which can logically create its own broadcast domains.
What is a trunk port/link for?
Connecting VLAN switches
What is frame tagging?
VLAN tag to indicate the VLANs that that the frame corresponds to when using a trunk link.