Answer:
Layer 3 switch.
Explanation:
A layer 3 switch carrys out both the function of a switch and a router. It acts as a switch that links all the devices that are on the same subnet or virtual LAN at lightning speeds and has IP routing intelligence built into it to carry out the function of a router. It can support routing protocols, check incoming packets, and can also carry out routing decisions based on the source and the destination addresses.