Google Interview Question

How does an ethernet switch route?