Do VLANs, Routers, and Switches Forward ARP Requests?
Short Answer
- No. VLANs and routers do not forward broadcast traffic (including ARP) to other networks.
- Yes, layer‑2 switches do forward broadcasts but only to ports within the same broadcast domain or VLAN of the device sending the broadcast.
Explanation
ARP (Address Resolution Protocol) uses a Layer‑2 broadcast (ff:ff:ff:ff:ff:ff) to discover the MAC address of a device on the same local network segment.
What is a Broadcast Domain?
A broadcast domain is a logical network segment where any device on that segment can send a broadcast frame (e.g., ARP Request) and all other devices in that domain will receive it.
Examples of Layer‑2 broadcasts:
- ARP Requests (
ff:ff:ff:ff:ff:ff) - DHCP Discover
- IPv4 Broadcasts (
255.255.255.255)
Network Segmentation and Broadcast Domains
A VLAN is a Layer‑2 network segmentation. Each VLAN is its own broadcast domain. VLANs do not forward broadcasts to other VLANs.
A standard Layer‑2 switch floods broadcast and unknown unicast frames to all ports within the same VLAN. By default, switches do not forward broadcasts between VLANs because VLANs are isolated Layer‑2 domains.
A router creates layer-3 network segmentation. Each network interface on a router defines a separate IP subnet or segmentation, and each subnet is its own Layer‑2 broadcast domain.
- Routers drop ARP broadcasts
- DHCP Discover does not cross a router unless a DHCP relay agent is configured