Set up and use a UniFi Dream Machine

The Dream Machine range puts a gateway, a UniFi console and 3.5" recording storage into a single rack unit. This guide covers the four current models, the Pro, SE, Pro Max and Beast, from rack mounting and hard drives to WAN ports, PoE planning and power backup. The steps are the same across the range unless a step names a model.

Outcome and equipment

By the end, your Dream Machine will be mounted, connected to the nbn and running as your UniFi console, with drives fitted and your PoE and power plans sorted.

  • A 19" rack or cabinet with at least 1U free, or a shelf. Allow for the depth: 285.6 mm for the Pro, SE and Pro Max, and 325 mm for the Beast, plus room for cables. [1] [2] [3] [4]
  • Network cables, plus SFP+ or SFP28 modules or DAC cables if you're using those ports.
  • One or two 3.5" drives if you're recording cameras.
  • A PoE switch, unless you have the SE and its PoE ports are enough.
  • The UniFi app on your phone, or a computer with a browser.
  • Your ISP's connection details, from Connect UniFi to nbn in Australia.

Know your model

Model WAN ports LAN ports PoE Drive bays Rated IPS
Pro [1] 10G SFP+, 1G RJ45 8 × 1G, 1 × 10G SFP+ None 1 3.5 Gbps
SE [2] 10G SFP+, 2.5G RJ45 8 × 1G, 1 × 10G SFP+ 180W 1 3.5 Gbps
Pro Max [3] 10G SFP+, 2.5G RJ45 8 × 1G, 1 × 10G SFP+ None 2 5 Gbps
Beast [4] 25G SFP28, 10G RJ45 7 × 10G, 2 × 10G SFP+, 1 × 25G SFP28 None 2 25 Gbps

The Beast also has two gigabit RJ45 ports. [4] Not sure which model suits you? See Choose the right UniFi Cloud Gateway for your nbn plan.

Mount it

  1. Check the location. Ubiquiti rates these gateways to 40 °C. [1] [4] A closed cupboard or a small cabinet in a garage can pass that in an Australian summer, so leave space around the unit and let warm air escape.
  2. Fit the brackets. The Pro comes with two brackets, bracket screws, rack screws and cage nuts, plus four rubber feet for shelf use. [5] The Pro Max and Beast are also 1U rack-mount units, so check their box contents against the guide that comes with yours. [6]
  3. Get help with the lift. These units weigh 3.9 to 5.5 kg before you add drives. [1] [4] Hold the unit while you start the screws.
  4. Leave cable room. Keep a loop in the power and network cables so you can slide things out later.

Fit the hard drives

You can skip this section if you won't be recording cameras. Ubiquiti lists the built-in 128 GB SSD on the SE, Pro Max and Beast for detection recordings, so continuous recording needs a hard drive. [6]

  1. Choose the drive. Ubiquiti calls for 3.5" CMR drives of at least 1 TB at 7200 RPM, and warns that SMR drives cause problems. [7] It doesn't publish a maximum size. Its storage page also lists a few models to avoid, so check yours first. [7]
  2. Take out the tray. On the Pro, release the front cover and the tray's tab. [5]
  3. Fit the drive. Screw the drive to the tray and slide it back in until it seats. [5]
  4. Set up Protect. Protect uses the drive once it's detected. Set up a UniFi Protect camera system covers the rest.

Ubiquiti says Dream Machine drives can be swapped with the power on, though its older Pro guide says to power down first. [5] [8] Doing the first install before you power on avoids the question.

Two bays on the Pro Max and Beast

With two drives fitted, the Pro Max and Beast protect your recordings with RAID, so they survive one drive failing. [6] [9] Ubiquiti's RAID guide doesn't name these gateways, but it says UniFi sets up two drives as RAID 1, a mirror, which leaves 50% of the total capacity for recordings. Plan on the capacity of one drive, and use two of the same size, because a mismatched pair is limited to the smaller, slower drive. [10] If a drive fails, replace it with one of the same size or larger and follow the prompts in UniFi OS to rebuild the array. Ubiquiti says a rebuild can take several hours and may slow the system while it runs. [10] If you're upgrading both drives, change one at a time and let the storage fully repair before you change the next. [8]

Connect the internet

On the Pro, ports 1 to 8 are LAN, port 9 is the RJ45 WAN, port 10 is the SFP+ WAN and port 11 is the SFP+ LAN. [5] The SE and Pro Max have the same mix with a 2.5G RJ45 WAN, and the Beast's default WANs are one 25G SFP28 and one 10 GbE RJ45. [2] [3] [4] Check the labels on your unit.

Your plan Use this port
Up to nbn 1000 The RJ45 WAN port on any model. On the Pro, this gigabit port may run a touch under a 1000 Mbps plan's top speed. [1]
nbn 2000 on the SE or Pro Max The 2.5G RJ45 WAN port [2] [3]
nbn 2000 on the Beast The 10 GbE RJ45 WAN port [4]
nbn 2000 on the Pro The SFP+ WAN port with an SFP+ to RJ45 adapter, which handles 1, 2.5, 5 and 10 Gbps [11]

The Pro's SFP+ port itself runs at 10G or 1G. [1] Ubiquiti says this module lets a 10G SFP+ port connect a gateway to an ISP's modem at 2.5, 5 or 10 Gbps. [11] [12] The link also depends on the nbn box at the other end, so test it before you rely on it.

Each model has two WAN ports by default and supports up to eight WANs, so the port you don't use for the nbn can take a backup link. [1] [2] [3] [4] See Configure UniFi backup internet and failover for a simple backup, or Run two internet connections on UniFi to use both at once.

First-time setup

  1. Connect it. Plug the nbn connection box or modem into your WAN port, connect power and wait for the touchscreen to show it's ready. FTTN and FTTB services need a VDSL2 modem in front of the gateway. [13]
  2. Choose how to set it up. In the UniFi app, stay within 3 m if you're connecting over Bluetooth, then follow the setup wizard. [14] On a computer, connect to a LAN port and browse to unifi/ or the address on the touchscreen. Accept the browser's privacy warning. [14]
  3. Name the console and sign in. Ubiquiti strongly recommends a UI account, which gives you cloud backups and remote access. [14]
  4. Check the WAN. If your ISP uses PPPoE, enter the details at Settings › Internet. [15]
  5. Update. Go to Settings › Control Plane › Updates and install what's offered. [16]
  6. Turn on backups. Tick System Backups at Settings › Control Plane › Backups, so a backup is made each week and before each major update. [17]

The default LAN is 192.168.1.1/24. [5] If you're replacing a router that used the same range, your devices just need to renew their addresses. Secure a UniFi Cloud Gateway from day one is a good next step.

Connect your switches

Everything behind your main switch shares its link to the gateway, so give it your fastest LAN port.

  1. Use the SFP+ LAN port for your main switch. On the Pro, SE and Pro Max, it's the one 10G LAN port. [1] [2] [3] On the Beast, use a 10G port or the 25G SFP28 LAN port. [4]
  2. Choose the right cable. A DAC cable is the simple choice within a rack. Use fibre for longer runs, and check that your switch has a matching port.
  3. Keep the gigabit ports for smaller jobs. They suit a printer, a phone system or a device that doesn't need more than 1 Gbps. [1]
  4. Leave one port free. A spare LAN port on the gateway gives you somewhere to plug in a laptop during a fault.

Use the touchscreen

The screen shows a message while the gateway starts, and its IP address, which you can use to reach it from a browser. [5] [14] A Locate option helps you find the unit in a busy rack. [5] Be careful if you ever shut the gateway down: these units have no power button, only a factory reset button, so you'll need to unplug the power and plug it back in to start it again. [2] [3] [4] [5]

Plan your PoE

Only the SE has PoE. Its PoE ports share a 180W budget. A PoE port supplies up to 15.4W, and a PoE+ port up to 30W. [2] Ubiquiti's spec sheet doesn't say which ports are PoE+, so check the labels or the port settings before you plug in anything that needs PoE+. [2]

  • SE: add up each device's maximum draw and leave some of the 180W spare, because a device that can't get power will restart or stay off.
  • Pro, Pro Max and Beast: connect a PoE switch to a fast LAN port, ideally the SFP+ port or a 10G port on the Beast. [1] [3] [4]

Choose a UniFi PoE switch or injector shows the sums. Don't forget that the eight RJ45 LAN ports on the Pro, SE and Pro Max are gigabit, so they limit a single device to 1 Gbps. [1]

Add power protection

All four models have a DC input for the UniFi Power Backup (USP-RPS). [1] [2] [3] [4] It takes over if the gateway's internal power supply fails, so it protects against a dead power supply, not a blackout. To connect one, push the USP cable into the DC input until the stop line on the cable is hidden. [18]

For blackouts you need a UPS. See our UniFi power products, and allow for your switches and the nbn connection box too, because the internet stops if any of them lose power.

For a site that can't afford any gateway downtime, the same models also support a second gateway on standby: see Two gateways, no downtime: UniFi Shadow Mode.

Verification

  • The touchscreen shows the gateway online, with no warnings.
  • In UniFi Network, each connected port shows the speed you expect.
  • A wired speed test from a fast port matches your plan.
  • Protect shows each drive as healthy. On a two-bay model, it shows the expected capacity for a mirror.
  • Each PoE device stays up with everything running.
  • After a busy day, the gateway isn't running hot and its fans aren't loud.
  • A backup appears at Settings › Control Plane › Backups.
  • Restart the gateway, and confirm the internet, WiFi and cameras all return by themselves.

Troubleshooting and recovery

Problem Likely cause What to do
The app can't find the gateway You're too far away for Bluetooth [14] Stand within 3 m, or use the web route from a LAN port.
No internet after setup Wrong WAN port or connection type Check the port, then your ISP's settings at Settings › Internet. [15]
The SFP+ WAN won't link Module not suited to the port or the other end Try a different module, and check that the cable or fibre type matches.
Speed stops at about 940 Mbps A gigabit port is in the path [1] Check the WAN and LAN link speeds, and test from a faster port.
A drive isn't detected or recording fails Unsupported or failing drive [7] Reseat it, and check it against Ubiquiti's storage requirements.
Gateway runs hot or the fans are loud Blocked airflow or a hot room Clear the vents and the space around the unit, and cool the room or cabinet.
A PoE device keeps restarting Power budget or port class exceeded Move it to a PoE+ port, or add a PoE switch.
The unit won't start after you shut it down It has no power button [2] [3] [4] [5] Unplug the power, wait a few seconds and plug it back in.

For anything worse, follow the steps in Update, recover and replace a UniFi Cloud Gateway.

Sources:

Back to the series

Leave a comment

Please note, comments need to be approved before they are published.