There are five categories of connecting devices based on the layer(s) in which they operate:
1. Those below the physical layer like a passive hub. 2. Those at the physical layer like a repeater or active hub. 3. Those at the physical and data link layers like a bridge or two-layer switch. 4. Those at the physical, data link, and network layers like a router or three-layer switch. 5. Those that can operate at all five layers like a gateway.