Repeaters, Bridges, Routers, And Gateways: A Comparative Study