Will a Unifi Dream Machine Pro handle a 24-port switch without network issues?
By Jordan Ellis Published 9 min read
On this page (8 sections)
- The short version
- What the Dream Machine Pro actually does for your switch
- How to connect a 24-port switch to the UDM Pro
- What performance to expect from the 24-port combination
- Physical and network compatibility checks
- Common problems when pairing a 24-port switch with the UDM Pro
- How to choose the right switch for your office
- Questions people still ask
In short: Yes, a UniFi Dream Machine Pro handles a 24-port switch without trouble. It has eight built-in ports, and the switch adds the rest. Connect the gateway to the switch with one Ethernet cable, then assign the switch ports in the UniFi Network application.
Part of our guide on sizing mesh wifi for small office
A 24-port switch does not ask the UDM Pro to route twenty-four cables at once. One upstream link does all the work.
| UDM Pro built-in ports | 8 ports |
|---|---|
| Target switch size | 24 RJ45 ports |
| Uplink needed | 1 gigabit port |
| Typical switch link speed | 1 Gbps full duplex |
| Extra cabling | 25 runs per rack |
| Extra configuration | None for basic switching |
The short version
- The UDM Pro's eight ports are for the gateway, not twenty-four devices
- One gigabit uplink carries all 24 switch ports
- Managed switches add VLAN and port control the gateway cannot offer
- A 24-port switch needs no special licence or subscription
- Check PoE budget before buying for cameras or phones
What the Dream Machine Pro actually does for your switch
The UniFi Dream Machine Pro is a gateway first. Its eight built-in ports cover the office router, a handful of devices and the uplink to your switch. It does not need twenty-four ports of its own.
A 24-port switch is a box of 24 RJ45 sockets joined by an internal chip. Every device plugged into it talks to the gateway through one uplink cable. The switch expands the cable count, not the gateway's processing load.
This is why the pairing works so well. The UDM Pro handles routing, firewall rules, DHCP and traffic shaping. The switch handles frame delivery between ports at line speed.
Common belief: the gateway must have as many ports as devices connected to it. That confuses physical sockets with network capacity. The upstream link does the connecting, not a port for every machine. People in this spot often ask about poe switch for small business as well.
- eight gateway ports already included
- no per-port licence on the switch
- one uplink instead of 24 gateway links
- only eight ports on the gateway itself
- switch still needs its own power supply
How to connect a 24-port switch to the UDM Pro
Start at the wall. Label every patch lead with the room and device it serves before you push anything into the switch. Twenty-four unlabelled ports become a puzzle within a week.
The connection itself takes one cable. Run a Cat5e or Cat6 cable from one of the UDM Pro's LAN ports to a switch port. That switch port becomes the uplink. Leave it alone during setup.
Power the switch first and watch its port lights. Then connect the UDM Pro. A link light on both ends confirms a physical path, which is where most failed installs actually fail. Before you commit to anything, it is worth looking at single access point unifi console.
In the UniFi Network application, open the switch and confirm the uplink port. The application adopts the switch and shows each connected client on the correct port. Port 1 is a sensible uplink choice, but any free port works.
- Label the wall ports and switch ports with matching room names
- Power the switch and check that its status lights come on
- Connect one Cat5e or Cat6 run from a UDM Pro LAN port to a switch port
- Adopt the switch in the UniFi Network application
- Move the uplink to the port you prefer if the default is not it
- Plug in devices and confirm each one appears on its labelled port
| Cable | Count | Purpose |
|---|---|---|
| Wall run to switch | 24 | One per desk, printer, camera or phone |
| Gateway to switch | 1 | Carries all traffic to the UDM Pro |
| Switch to access point | 1 or more | Connects wireless coverage back to the network |
Cable length and port speed
Cat5e handles 100 metres per run, and Cat6 handles the same distance for gigabit traffic. Longer runs need a switch with fibre uplinks or intermediate equipment.
The 1 Gbps link speed on the uplink is the ceiling for the whole switched group. Individual devices rarely exceed it, so this limit rarely bites in an office. We go through cable options for home layouts step by step elsewhere on the site.
What performance to expect from the 24-port combination
Expect full gigabit speeds on individual ports for normal office traffic. A laptop copying files to a shared drive should reach the switch's rated port speed, minus a small overhead.
The uplink shares its 1 Gbps across all 24 switch ports. In practice, 24 people browsing, emailing and printing never fill that pipe. A dozen simultaneous large file transfers would.
Latency stays low because the switch forwards frames in hardware. The gateway handles traffic that needs routing or filtering, which is a different task entirely.
Marketing often implies a bigger switch makes a bigger network. It does not. The uplink sets the shared ceiling, and a managed switch's switching fabric keeps local traffic moving without involving the gateway.
| Link | Usual ceiling | What it carries |
|---|---|---|
| Device to switch port | 1 Gbps | One device's traffic |
| Switch to UDM Pro uplink | 1 Gbps shared | All 24 ports combined |
| UDM Pro to internet | Set by your WAN line | Everything leaving the office |
- gigabit per connected device
- hardware forwarding keeps delay low
- no added routing load on the gateway
- uplink bandwidth shared by all ports
- internet speed still capped by the WAN line
Physical and network compatibility checks
Physical compatibility is straightforward. A standard RJ45 switch plugs into the UDM Pro's LAN ports with an ordinary Ethernet cable. No adapter, no proprietary cable, no PoE injector.
The only physical risk is power and heat. A 24-port switch draws more power than a small eight-port box, and rack-mounted units need airflow. Check the clearance in your cabinet before ordering.
Network compatibility depends on what you want the switch to do. A plain switch extends your LAN. A managed switch adds VLANs, per-port speed settings, port mirroring and link diagnostics through the UniFi application.
One popular belief needs correcting: the switch must not be Ubiquiti for the setup to work. Any reliable gigabit Ethernet switch pairs with the gateway. Ubiquiti's advantage here is single-app management, not basic connectivity.
- Connector: standard RJ45 on both ends
- Cable: Cat5e or Cat6, up to 100 m per run
- Power: switch needs its own mains supply and ventilation
- Management: optional, depends on managed or unmanaged model
- PoE: only if cameras or phones need power from the switch
Common problems when pairing a 24-port switch with the UDM Pro
The most common complaint is no internet after installation. The cause is nearly always a cable in the uplink port that was meant for a laptop, or a patch lead left in the WAN port. Move the uplink and check again.
Loops come next. Connecting the switch to the gateway with two cables creates a broadcast loop that can flood the network and make everything feel broken. Use one uplink.
Adoption hiccups happen when the switch already runs a different controller. Adopt it through the UniFi Network application, and reset it first if it was configured elsewhere.
A switch that is fine but shows dead ports usually has a failed patch lead. Swap the cable with a known-good one. Link lights tell you where the fault sits within seconds.
Expect no upload problems from the switch itself. A full 1 Gbps uplink shared across 24 active ports is a shared ceiling, not a fault. It only matters for heavy local transfers.
| Symptom | Likely cause | First check |
|---|---|---|
| No internet | Uplight cable moved or wrong port | Confirm one link to a LAN port |
| Network crawls | Two cables between gateway and switch | Remove the second uplink |
| Switch missing in app | Managed by another controller | Reset and adopt it again |
| One port dead | Bad patch lead | Swap the cable |
| Slow local transfers | Shared uplink bandwidth | Check other active transfers |
How to choose the right switch for your office
Count the devices, not the cables. Count printers, desktops, laptops on Ethernet, cameras, phones and access points. Add 20-30% for growth and you have your port count. Twenty-four is a sensible ceiling for many small offices.
Choose managed if you plan VLANs for guests, cameras or staff devices. Choose unmanaged if you only need extra sockets and want no configuration beyond plugging cables in.
Choose PoE only when a device needs power through the Ethernet cable. Check the published PoE budget in watts and divide it by each device's draw. That arithmetic tells you how many cameras or phones one switch can carry.
The honest trade-off: an unmanaged 24-port box is cheaper and simpler, while a managed unit costs more and asks for an afternoon of VLAN planning. The upstream link speed matters more than brand or model name.
A 16-port unit often fits better. Buy it when your real count sits near sixteen, then add a second small switch later if growth demands it. A full 24-port switch with half the ports empty is a purchase you may regret.
| Input | Your figure | Rule of thumb |
|---|---|---|
| Wired devices now | Count each one | Desktops, printers, phones, cameras |
| Access points | Count each one | Each needs its own port |
| Growth allowance | Add 20-30% | Then round up to the next size |
| Uplink | 1 port | Reserved for the gateway link |
- managed switches give VLAN control
- unmanaged units need no configuration
- PoE removes separate power adapters
- PoE switches cost more and need a power budget
- oversized ports waste money
The UDM Pro handles a 24-port switch cleanly, and the switch is the right place to add wired capacity.
Questions people still ask
Does the UDM Pro need a different switch to work with a 24-port model?
No. The UDM Pro pairs with any reliable gigabit Ethernet switch using a standard RJ45 connection. Ubiquiti's own switch adds single-app management, but it is not a compatibility requirement.
Which port on the 24-port switch should connect to the UDM Pro?
Any free port can carry the uplink. Port 1 is a common choice because it is easy to identify. The UniFi application will show the uplink once the switch is adopted.
Will 24 devices slow the UDM Pro down?
Not in normal office use. Traffic from all ports shares one gigabit uplink, and the gateway only handles traffic that needs routing or filtering. Heavy simultaneous file transfers can fill that shared link.
Do I need PoE for Wi-Fi access points and cameras?
Only if the devices draw power from the cable. PoE access points and cameras need a PoE switch or injector. Standard network sockets and most laptops do not.
Can I use two 24-port switches with the same UDM Pro?
Yes. Connect each switch to the gateway with one uplink, then configure the two uplinks as a bridge or aggregate them according to your network design. Keep one uplink per switch to avoid loops.
What should I check if a single port stops working?
Swap the patch lead first, then try another switch port. Link lights on both ends show whether the fault sits in the cable, the port or the device. A failed cable causes more dead ports than failed hardware.