6. Switches and Routers Flashcards
What is the primary difference between a switch and a hub?
A switch forwards frames to specific ports using MAC addresses, while a hub
broadcasts data to all devices connected to it.
How do routers differ from switches in functionality?
Routers operate at the Network layer, forwarding packets between different
networks using IP addresses, while switches operate at the Data Link layer and
forward frames within the same network.
What is a collision domain, and how does a switch reduce collisions?
A collision domain is a network segment where packet collisions can occur.
Switches reduce collisions by creating separate domains for each port.
What is Network Address Translation (NAT), and what is its purpose?
NAT allows multiple devices on a private network to share a single public IP
address, conserving IPv4 address space.
What is MPLS, and how does it improve routing efficiency?
Multi-Protocol Label Switching (MPLS) uses labels to route packets,
avoiding complex routing table lookups and improving speed.
What is the role of routing tables in a router?
Routing tables map destination networks to next-hop addresses or interfaces,
enabling packet forwarding.