OP: Not sure what you are doing, but please keep in mind the heat dissipation of some devices. Wifi routers especially need a lot of airflow to function at top speeds, and may even shut down. Modern, Energy Star compliant Ethernet switches should be fine though.