Question: what is the purpose of a layer 3 switch?
Answer: A Layer 3 switch is basically a switch that can perform routing functions in addition to switching. A client computer requires a default gateway for layer 3 connectivity to remote subnets.