How-toNetworking

Build a network rack for a small office closet

Technical Terrence · for the office and home

A rack is a standard frame that holds your network gear in a labeled stack: the patch panel, the switch, the firewall, the power, and the cables that tie them together. In a small office it usually lives in a closet or a small telecom room. Done well, you can find a port or add a battery backup without a tangle of boxes on a shelf.

This guide covers a small-office / small-network-closet build: choosing a rack, rack units and holes, placement, power, layout, grounding, cabling, and airflow. The punch-down work is in How to punch down a patch panel and a keystone wall jack. How the rack sits on the path from the street to a desk is in From the demarc to your desk.

Side-by-side illustration of three 19-inch racks. On the left, a 2-post open frame with a patch panel, cable manager, and shallow switch near the top, captioned as good for patch panels and shallow switches. In the middle, a 4-post cabinet shown with depth, holding a patch panel, switch, and a UPS at the bottom, captioned as better for a UPS, a deeper switch, or a small server. On the right, a wall-mount cabinet hung on a wall, with a patch panel and a small switch, noting that you should confirm depth, swing, and the wall.

Safety first

  • Racks tip. A tall empty rack is already unstable. One with a heavy UPS, or a server pulled out on rails, is worse. Anchor a floor rack before you load it, lock the casters, and use the stabilizer it shipped with. Don’t stand on a rack or climb it.
  • Get help with heavy gear. A rack-mount UPS is often the heaviest thing in the closet. Two people should lift it. Follow the unit’s sheet for rails and for how many people it wants.
  • Wall-mount racks belong on the structure, not on drywall alone. Hit studs or a plywood backing board. Add up the gear, the UPS if it goes in the box, and the cables, and stay under the rack’s weight rating.
  • Power work has limits. Plugging a PDU or UPS into an existing outlet is one thing. A new dedicated circuit, a hardwired PDU, or a change to the electrical panel is electrician work, and it has to follow local code.
  • Don’t work on live power inside a chassis, and don’t defeat the ground pin on a plug. Bonding the rack (later in this guide) is not a substitute for the safety ground on the outlet.
  • Watch your fingers on cage-nut springs and rail slides. Wear eye protection when you trim cable.

What you need

Item What it’s for
The rack or cabinet A 19-inch EIA-310 style frame in a height and depth that fit your gear and the room.
Matching cage nuts and rack screws Square-hole rails need cage nuts. Tapped rails take screws only. Common threads: 10-32, 12-24, and M6.
Cage-nut tool (or needle-nose pliers) Seats a cage nut without launching the spring.
Screwdriver or the hex bit the screws use Don’t over-tighten painted ears.
Level, tape measure, and a stud finder For placement, plumb rails, and wall-mount anchoring.
The anchors the rack’s sheet specifies The rack is only as solid as what you bolt it to.
Horizontal and / or vertical cable managers Keep patch cords off ports and exhaust fans.
Velcro (hook-and-loop) straps Easier to redo than zip ties when you move a cable.
PDU A rack-safe strip of outlets, horizontal or vertical (0U). Not a household strip daisy-chained off another strip.
UPS, if you want battery backup Sits at the bottom. Size it to the load; the UPS manual is the authority.
Labels or a label maker Same ID on the panel port, the patch cord, and the wall jack.
Bonding hardware A conductor and lugs from the rack to the room’s telecommunications grounding busbar, plus a rack bonding busbar if several devices need a bond. See Grounding below.

Nice to have: a flashlight or headlamp, a magnetic parts tray, blanking panels for unused front U, and a copy of each device’s mount kit and install sheet.

Choose a rack

Almost all modern network and server gear is made for a 19-inch rack. That number is the width of the equipment’s front panel, set by the EIA-310 standard (and the related IEC 60297 standard). The rails sit closer together than 19 inches: hole centers are 18 5/16 inches (465.1 mm) apart. A cabinet with doors is wider still on the outside.

Height is counted in rack units, written U or RU. 1U is 1.75 inches (44.45 mm) of vertical rail. A 1U patch panel takes one of those spaces; a 2U switch takes two (3.5 inches). Buy more U than you need today so the next switch or UPS doesn’t force a new rack.

Two-part illustration. On the left, a rack rail with three 1U spaces marked U1, U2, and U3. Each U is 1.75 inches (44.45 mm) tall and has three holes; the repeating gaps are labeled 5/8 inch, 5/8 inch, and 1/2 inch, and each U starts and stops in the middle of the 1/2-inch gap. On the right, a 1U faceplate mounted on a rail with screws in the top and bottom holes of that U, and a callout at the U boundary.

2-post, 4-post, or wall-mount

  • 2-post (also called a relay rack or telco rack). Two vertical rails, usually open, with no doors. Good for patch panels, cable managers, and shallow switches that hang from the front ears. It takes less floor space and costs less than a cabinet. It is a poor home for a deep server or a heavy UPS unless you add a shelf or a rear-support kit the equipment maker approves. Many 2-post racks have tapped (pre-threaded) holes, often 12-24 or 10-32. Bolt it to the floor.
  • 4-post rack or cabinet. Four rails, often with adjustable depth. This is the usual choice once you add a rack-mount UPS, a deeper switch, or a small server, because the gear can sit on front and rear rails. A cabinet adds side panels and doors, which helps with dust, noise, and casual access. Square holes and cage nuts are common. Check the door swing and rear clearance in your closet before you buy.
  • Wall-mount. A short cabinet or open frame you hang on the wall. Right for a small closet or hallway where a floor rack won’t fit, typically for a patch panel and a small switch. Depth is the thing people get wrong: a “patch-depth” box may not fit a switch plus its power plug, and many wall boxes are too shallow for a UPS. Confirm the depth, the hinged swing (so you can reach the back of the panel), the weight rating, and that the wall can take the load.

If the closet is shared with a water heater, a mop sink, or a sprinkler shutoff, keep the rack out of the splash zone.

For network engineers: EIA-310 standardizes the U, the vertical hole pattern, the 19-inch panel, and the rail hole centers. It does not standardize hole type (tapped, round clearance, or square), usable depth, or weight rating. Those come from the rack maker and the equipment maker. If this is a telecommunications room in a larger building, also check TIA-569 for room layout and clearances, and the building’s own rack standard if it has one.

Measure depth and height

Height: Add up the U of everything you plan to mount, including the UPS, a horizontal PDU if you use one, and a cable manager next to each panel or switch. Then add spare U. A few empty units is a reasonable start; leave more if you expect another switch. The cabinet’s overall height is taller than the usable U.

Depth: Measure the deepest device as it will sit in the rack: chassis, rail kit, power plug, and anything that sticks out the back. Then look at the rack’s usable depth, not the outside depth. You need leftover room behind the gear for cables and exhaust air. Some cabinet makers suggest a few extra inches for rear cabling; treat that as a starting point and follow the manuals for the clearance they actually require.

A UPS and a small server are usually deeper than a 24-port switch. A wall-mount that fits today’s switch may not fit tomorrow’s UPS. If you’re unsure, buy the deeper cabinet, or keep the UPS on a maker-approved shelf or on the floor under an open rack.

Also measure the closet: door width, the path in, ceiling height, and how far the rack can sit from the wall and still let the rear door open.

Placement, weight, and anchoring

  • Put the rack where you can open the front and, for a cabinet, the rear. Leave room to stand, to land a switch on its rails, and to work on the back of the patch panel.
  • Keep it off sprinkler heads, and don’t block electrical panels or a return-air path if the closet is used as a plenum (see local code).
  • The floor or wall has to carry the rack, the gear, the UPS batteries, and the cables. A raised floor or a second-story closet may need a look from facilities before you roll in a heavy cabinet.
  • Anchor it before you load the heavy items, with the hardware in the rack’s install sheet. On a wall-mount, hit studs or a backing board, not drywall anchors alone.
  • If the site needs seismic anchoring, that’s a specified kit and a local requirement. Don’t improvise it.

Plan the layout

There is no single official top-to-bottom order. Data centers, AV racks, and small closets all do this a little differently. What is consistent: put the heavy gear low, keep patch cords short and logical, and don’t block airflow.

One common layout for a small-office closet, from the top down:

  1. Patch panel (or panels), so the cables from the rooms land in a labeled row you can reach.
  2. Horizontal cable manager, right next to the panel.
  3. Switch, so a short patch cord can go from a panel port, through the manager, to the same-number switch port. That’s the arrangement in the demarc-to-desk rack illustration and in the punch-down guide.
  4. Another manager, then another switch if you have two.
  5. Firewall or router, if it’s rack-mounted, often next to the core switch so the short WAN and LAN cords stay tidy. A desktop firewall can sit on a vented shelf; don’t bury it under cords.
  6. Spare U in the middle, so you can add a switch later without moving the UPS.
  7. Horizontal PDU, if you aren’t using a vertical (0U) PDU on the side rail.
  8. UPS at the bottom. Eaton’s guidance for network closets is to put it there because it is almost always the heaviest thing in the rack. APC says the same for its heavier rack UPS units: install at the bottom, due to weight.
Front view of a small-office network cabinet in one common layout, with a caption that conventions vary. From the top: a labeled patch panel, a cable manager, a switch with short patch cords from the panel, a second manager, a rack-mounted firewall, a block of spare U, a horizontal PDU, and a UPS at the bottom. A vertical PDU runs along the right rail.

Other layouts are fine if they stay consistent:

  • Some closets put the switch above the panel. That can work. The tradeoff is that patch cords then run “up,” and it’s easier to end up with a curtain of cable in front of something else.
  • In a tall 2-post rack, vertical managers on the sides often replace a stack of horizontal ones.
  • A modem or ONT usually stays on the wall near the demarc, not in the rack. See From the demarc to your desk.

Leave a blanking panel in unused front U on a closed cabinet so exhaust air doesn’t sneak out the front and skip the gear.

For network engineers: If the closet will grow into a small row, decide now whether the front of the rack faces a cold aisle (intake) and the rear a hot aisle (exhaust). Mixing one “backwards” chassis in that row dumps hot air into the next intake. Dual-corded gear belongs on two PDUs, ideally on two circuits or two UPS output groups, not on one strip.

Power: PDU and UPS

The rack needs a known source of power, not a household power strip daisy-chained off another strip.

  • A PDU is a rack-mount or 0U (vertical, along the rail) set of outlets. Vertical PDUs save U. Horizontal PDUs take 1U, often just above the UPS.
  • A UPS gives you a short run of battery time and, on many models, protection against brief sags. Put it at the bottom. Extra battery packs usually sit next to it or just above it, following the maker’s sheet.
  • Plug the PDU into the UPS, then plug the switch, firewall, and other gear into the PDU (or into the UPS outlets, if there are enough and the manual allows it). Don’t back-feed a PDU or use a cheater adapter that lifts the ground.
  • Add up the load. Use the nameplate watts or VA on each device, or a metered PDU once things are running. Stay under the UPS rating and the circuit rating, with some headroom. If you’re not sure the closet circuit can take the UPS plus everything else, stop and get the circuit checked.
  • Leave the UPS display, the input plug, and the battery path accessible. Label the PDU outlets, or keep a list of what’s on which one.

Cage nuts and screws

Look at the rail before you buy a bag of hardware. The holes are not all the same.

  • Tapped rails already have threads in round holes. You only need matching screws. Common on 2-post racks.
  • Square-hole rails need a cage nut: a square nut in a spring cage that clips into the hole and gives you threads. Hammond and other makers size these for the usual 3/8-inch (9.54 mm) square hole. Use a screw of the same thread as the nut.
  • Round clearance holes (unthreaded) need a screw and a nut on the back. They’re less common on new IT racks.

The three threads you’ll see most often are:

Hardware What the numbers mean Notes
10-32 A #10 screw with 32 threads per inch Common in audio racks and with some server brands. Slightly smaller than 12-24.
12-24 A #12 screw with 24 threads per inch Common on US tapped 2-post racks.
M6 A metric screw, 6 mm diameter, usually 1 mm pitch Common with cage nuts on many 4-post cabinets.

The cage nut and the screw have to be the same thread. A 10-32 screw in an M6 nut will start, feel wrong, and can wreck the threads. If a screw doesn’t turn smoothly in the first turn or two, stop. Don’t mix leftover screws from two kits because they “look close.”

Install cage nuts before the gear goes in, in the holes that line up with the ears or rails. A 1U device typically uses the top and bottom holes of that U (see the hole-pattern figure). Clip the nut so the threads face the inside of the rack, where the screw will enter. A cage-nut tool is worth having; pliers work if you’re careful with the spring.

Two-part illustration. On the left, a square-hole rack rail with an empty square hole (usually 3/8 inch), a cage nut clipped into the middle hole, and another empty hole. On the right, 10-32, 12-24, and M6 rack screws drawn at slightly different diameters, plus a tapped rail inset showing a pre-threaded round hole that needs no cage nut.

Grounding and bonding basics

The outlet’s ground pin is the safety ground for whatever is plugged into it. Bonding the rack is a separate path that ties the metal of the rack (and, where the maker provides a bond point, the metal of the gear) back to the building’s telecommunications grounding system. The idea is to keep those metal parts at the same potential and to give fault and surge current a planned path.

In North American premises work, that system is described by ANSI/TIA-607 (the current revision is 607-E). You don’t need to recite the standard to do a small closet well, but you should do the following:

  • Find the room’s telecommunications grounding busbar (you may also hear the older names TMGB or TGB, or the current names primary / secondary bonding busbar). If the closet doesn’t have one, that’s a building issue to raise, not something to invent with a screw into a water pipe.
  • Bond the rack frame to that busbar with a green-insulated copper bonding conductor and listed lugs, on clean metal (scrape paint at the lug, or use the paint-piercing hardware the rack or the standard calls for).
  • If several devices or shielded patch panels need a bond, install a rack bonding busbar (RBB) and bond it to the rack and to the room busbar. Bonding the frame does not automatically bond every chassis. Only bond a device at the grounding post the manufacturer provides.
  • Don’t daisy-chain racks with leftover scrap, and don’t lift the ground pin on a plug because “the rack is already bonded.”

If the building already has a formal grounding system, match what’s already there or ask the person who owns that system. Local electrical code still applies.

For network engineers: TIA-607-C and later describe the rack bonding busbar, the telecommunications equipment bonding conductor to the room busbar, and the requirement to bond shielded patch panels. Conductor size, lug type (typically two-hole compression), and the exact topology (PBB, SBB, TBB) are in the standard. Those sizes are not quoted here.

Mount the gear

Work from the bottom up so you’re not lifting a UPS over a switch.

  1. Confirm the rack is plumb, square, and anchored. Adjust the rail depth on a 4-post rack to match the rail kit.
  2. Install cage nuts (or check the tapped holes) for the UPS and its rails first.
  3. Mount the UPS with the recommended number of people, on its rails, at the bottom. Secure the front ears. Don’t carry the load on the ears alone if the maker gave you rails.
  4. Mount the PDU. A vertical PDU usually sits in the accessory slots or on a rear rail, on the side that’s easy to reach and that doesn’t block exhaust.
  5. Mount the rest from the bottom up: shelf or firewall, switches, cable managers, patch panels. Start screws by hand so you don’t cross-thread. A 1U panel should sit level in its U, not straddling two U marks.
  6. Punch down and test the panel if that’s part of this job. The steps are in How to punch down a patch panel and a keystone wall jack.
  7. Patch, label, and dress the cords last, after the gear is powered and you know which ports you’ll use.

Cable management and labeling

  • Run the in-wall cables to the back of the patch panel, dressed along the side of the rack or in a vertical manager, with a little slack so you can re-terminate a port later. The termination rules (twists, jacket, T568A or B) are in the punch-down guide.
  • Use short patch cords from the panel, through the horizontal manager, to the switch. Don’t skip the manager and drape a curtain of cords over the next device’s air intake.
  • Velcro is easier to change than a zip tie. If you do use a tie, don’t cinch it hard enough to crush the cable.
  • Label both ends the same way you label the wall jack. A simple scheme is panel letter plus port number, for example A-12 on the panel, the patch cord, and the wall plate. Bigger sites can add the closet name. Keep a list. TIA-606 covers formal schemes; the A-12 pattern here is the same simple example used in the punch-down guide, not a quote from that standard.
  • Leave the front of the switch and the UPS display visible. A manager that hides every link light will cost you time later.

Airflow

Most network and server gear, and most rack-mount UPS units, move air front to back: cool air in the front, hot air out the rear. Set the rack up so that still works.

  • Face all the intakes the same way, usually toward the front (and toward the cooler side of the room if you have one).
  • Don’t block the front bezel or the rear exhaust with bunched cables, a tightly packed unvented cabinet, or a rack pushed flat against a wall with no rear gap.
  • Use blanking panels in empty front U on a cabinet so air doesn’t bypass the gear.
  • A closet still needs a way for heat to leave the room. A closed door, no vent, and a PoE switch plus a UPS will warm up. If the room is already hot, fix the room. A desk fan pointed at the cabinet door is not a plan.

Some devices exhaust out the side or the top. Read the chassis before you mount it, and don’t put a side-exhaust box tight against a solid panel.

Side view of a network cabinet with cool air entering the perforated front and hot air leaving the rear. Inside, a patch panel, switch, spare U, firewall, and a UPS at the bottom. Short patch cords stay at the front between the panel and the switch. Rear cables are dressed in a vertical manager, kept off the exhaust, with a vertical PDU along the rear rail.

Final checklist

  • The rack type fits the gear: 2-post for shallow panels and switches, 4-post or a cabinet once you have a UPS or deep devices, wall-mount only if the depth, swing, and wall can take it.
  • Usable depth was measured with plugs and rails, not just the chassis.
  • There’s leftover U for the next device.
  • The rack is level, anchored, and (if it has them) the casters are locked.
  • Heavy gear, especially the UPS, is at the bottom and on the rails the maker specified.
  • PDU and UPS loads fit the circuit and the UPS rating. No daisy-chained household strips. No lifted grounds.
  • Cage nuts and screws are one thread: 10-32, 12-24, or M6, not a mix.
  • The rack frame is bonded to the room’s telecommunications grounding busbar. Devices are bonded only at the maker’s bond point, if they have one.
  • Patch panels are punched down, tested, and labeled to match the wall jacks.
  • Patch cords go through a manager and don’t block intakes or exhaust.
  • Intakes face the cool side; rear exhaust is clear; blanking panels fill unused front U in a cabinet.
  • You can open the front and the rear, see the UPS display, and reach a port without unpacking the closet.

Still stuck?

If you’re choosing a rack or laying one out and something doesn’t add up (depth, weight, or how the power should land), message me with the gear list, the closet dimensions, and photos of the space. Chat with Technical Terrence

Last updated: November 22, 2026

Sources checked

EIA-310-D / IEC 60297 dimensions (1U = 44.45 mm, 19-inch panel, 465.1 mm hole centers) are widely restated by rack vendors. I did not purchase or attach the EIA standard itself for this guide; see the first CyberPower FAQ and the Black Box choosing-a-rack page.

Related tools