blob: 2fed693a3ad44f64fb54be228d75a8d7bbab2cd4 (
plain)
1
2
3
4
5
6
7
|
#linux #networking
A switch keeps a MAC-Address-Table mapping MAC addresses to connected ports. Connected devices that want to communicate learn each others' MAC address via an ARP request. They can then specify the destination MAC address and the switch will do the forwarding to the correct port.
Broadcast domain: broadcast traffic will be forwarded to all ports except the port the request arrived on. Broadcast traffic will stay within the broadcast domain as routers that receive a broadcast do not forward it to another [[subnet]].
> Large layer 2 broadcast domains can cause problems for example a [[broadcast storm]] which can take down the network
|