The controllers on the second floor answer, the ones in the plant room don't, and IT says "the network is fine". Very often the missing piece is a BBMD. In BACnet, discovery relies on broadcasts, IP routers don't pass broadcasts, and the BBMD is the part of BACnet/IP that carries them from one subnet to another.
This guide covers the Broadcast Distribution Table (BDT), foreign device registration, configuration and troubleshooting, with screenshots from a simulated site. Facts come from Annex J of ASHRAE Standard 135, which defines BACnet/IP.
What is a BBMD in BACnet?
A BBMD (BACnet Broadcast Management Device) is a function in a BACnet/IP device that forwards BACnet broadcasts between IP subnets. It listens for broadcasts on its own subnet and sends them to the other BBMDs it knows; they rebroadcast them on their subnets. It also accepts broadcasts from the other BBMDs and from registered foreign devices and sends them on its own subnet.
Why is it needed? A BACnet/IP device sends a Who-Is, an I-Am, a Who-Has or a time synchronization as a UDP broadcast, usually on port 47808 (0xBAC0). A broadcast to 10.10.10.255 stays on the 10.10.10.0/24 subnet: the IP router (or the layer-3 switch between VLANs) drops it. A workstation on one subnet then never discovers the controllers on another, even though it could read them by unicast.
A few points that are often misunderstood:
- A BBMD is a function, not always a box. Many BACnet routers, supervisory controllers, BMS servers and gateways can act as BBMD. You turn it on in their settings.
- Subnets joined by BBMDs form one BACnet network. All BACnet/IP subnets linked by BBMDs share one BACnet network number. A BBMD is not a BACnet router: it does not change network numbers.
- Only broadcasts need the BBMD. Unicast traffic (ReadProperty, WriteProperty, COV notifications to a known address) goes straight through normal IP routing, as long as firewalls allow UDP 47808.
The BACnet/IP messages a BBMD uses
BACnet/IP adds a small header called BVLC (BACnet Virtual Link Control) in front of every BACnet packet. Its first byte is always 0x81, the second byte is the function. These are the functions you will see in a capture when a BBMD is involved:
| Code | BVLC function | Who sends it | What it does |
|---|---|---|---|
| 0x00 | BVLC-Result | BBMD | Answers a request: 0x0000 = successful completion, or a NAK code |
| 0x01 / 0x02 / 0x03 | Write-BDT / Read-BDT / Read-BDT-Ack | Tool or BBMD | Write or read the Broadcast Distribution Table |
| 0x04 | Forwarded-NPDU | BBMD | A broadcast passed on by a BBMD, carrying the original sender's IP and port |
| 0x05 | Register-Foreign-Device | Foreign device | "Add me to your table for this many seconds" |
| 0x06 / 0x07 | Read-FDT / Read-FDT-Ack | Tool or BBMD | Read the Foreign Device Table |
| 0x08 | Delete-FDT-Entry | Tool | Remove a foreign device from the table |
| 0x09 | Distribute-Broadcast-To-Network | Foreign device | "Please broadcast this for me" |
| 0x0A | Original-Unicast-NPDU | Any device | Normal unicast packet |
| 0x0B | Original-Broadcast-NPDU | Any device | Normal local broadcast |
Useful NAK codes in a BVLC-Result: 0x0030 = Register-Foreign-Device refused, 0x0060 = Distribute-Broadcast-To-Network refused.
How does a BBMD forward broadcasts? The Broadcast Distribution Table
Every BBMD holds a Broadcast Distribution Table (BDT): the list of all the BBMDs on the site, itself included, each with an IP address, a UDP port and a broadcast distribution mask. When a device on its subnet sends an Original-Broadcast-NPDU, the BBMD wraps it in a Forwarded-NPDU and sends it to every other entry in the BDT and to every registered foreign device. A peer BBMD that receives the Forwarded-NPDU broadcasts it on its own subnet.
Each BDT entry takes 10 bytes on the wire: 4 bytes of IP address, 2 bytes of port and 4 bytes of mask. The mask decides how the forwarding is done:
| Mask in the BDT entry | Name | How the broadcast reaches the remote subnet | When to use it |
|---|---|---|---|
| 255.255.255.255 | Two-hop | Unicast to the remote BBMD, which rebroadcasts it locally | Almost always: works through any router |
| The remote subnet mask (for example 255.255.255.0) | One-hop | Sent straight to the remote subnet's directed broadcast address (10.10.20.255) | Only if the IP routers forward directed broadcasts, which most IT departments disable |
If you are not sure, use 255.255.255.255. Two-hop costs one extra packet per broadcast and works everywhere.
Rule: one BBMD per subnet, identical tables everywhere
- One BBMD per IP subnet, no more. With two BBMDs on the same subnet, a broadcast from a remote subnet arrives twice (each local BBMD rebroadcasts it), and a local broadcast is forwarded twice. Expect duplicate I-Am answers or worse.
- Every BBMD has the same BDT. If BBMD A lists B but B does not list A, broadcasts go one way only: the workstation on A discovers the devices on B, but alarms or I-Am broadcasts from B never reach A.
Worked example: three subnets, three BBMDs
A building has three VLANs for its BMS, each a /24 subnet behind a layer-3 switch:
| Subnet | What is on it | BBMD (one per subnet) |
|---|---|---|
| 10.10.10.0/24 | BMS server and workstations | BMS server at 10.10.10.5:47808 |
| 10.10.20.0/24 | Floor controllers | Router-controller at 10.10.20.5:47808 |
| 10.10.30.0/24 | Plant room, chillers, boilers | Plant controller at 10.10.30.5:47808 |
The BDT you enter in all three BBMDs is the same:
| IP address | Port | Mask |
|---|---|---|
| 10.10.10.5 | 47808 | 255.255.255.255 |
| 10.10.20.5 | 47808 | 255.255.255.255 |
| 10.10.30.5 | 47808 | 255.255.255.255 |
Now follow one Who-Is from a workstation at 10.10.10.40:
- The workstation broadcasts an Original-Broadcast-NPDU to 10.10.10.255:47808.
- The BBMD at .10.5 sends a Forwarded-NPDU, by unicast, to 10.10.20.5 and 10.10.30.5. The packet carries the original sender, 10.10.10.40:47808.
- Each remote BBMD broadcasts the Forwarded-NPDU on its own subnet. The controllers see a Who-Is from 10.10.10.40.
- Each controller answers with an I-Am. A unicast I-Am uses normal IP routing; a broadcast I-Am comes back through the BBMDs.
All three subnets are one BACnet network: give them one network number (for example 1) in every router on the site.
What is a BACnet foreign device?
A foreign device is a BACnet/IP device on a subnet with no BBMD that registers with a remote BBMD so it can send and receive broadcasts. Typical example: a technician's laptop on a VPN.
Registration works like this:
- The device sends Register-Foreign-Device to the BBMD with a time-to-live (TTL) in seconds. With a TTL of 300 the BVLC packet is just six bytes:
81 05 00 06 01 2C(0x012C = 300). - The BBMD answers with a BVLC-Result:
81 00 00 06 00 00means successful completion,00 30in the last two bytes means it refused. - The BBMD adds the device to its Foreign Device Table (FDT) and keeps it for the TTL plus a 30-second grace period defined in Annex J.
- The device sends its broadcasts as Distribute-Broadcast-To-Network to the BBMD, which broadcasts them locally and forwards them to its BDT peers and to the other foreign devices.
- The BBMD forwards every broadcast it sees to the foreign device as a Forwarded-NPDU.
- The device must register again before the TTL runs out. There is no permanent registration in the standard: if your tool stops renewing (laptop asleep, program closed), the BBMD drops it, and discovery and broadcast I-Am answers stop reaching you.
A foreign device needs only one BBMD. It reaches all the other subnets through that BBMD's BDT.
How to connect to a BBMD as a foreign device, step by step
Here is the whole method with BacLens, a free BACnet explorer, on the free BacLens Sim simulator. The simulated "plant building" is a BACnet/IP subnet behind its own BBMD, BLDG2-RTR (device 11000), which also routes to an MS/TP network of VAV boxes. Because the simulator runs on one PC, the addresses are loopback addresses (127.0.2.x); on site you will see your real IPs. The steps and the packets are the same with any BACnet tool that supports foreign device registration.
Step 1: Enter the BBMD address, the port and the TTL
Before you start, get three things from the site documentation or the integrator: the IP address of a BBMD on the subnet you want to reach, its UDP port (usually 47808), and confirmation that it accepts foreign devices. Many BBMDs have foreign device registration as a separate on/off setting.

In BacLens, choose + BACnet/IP via BBMD. The screen shows what every foreign device needs: the PC's network card and UDP port (47961), the BBMD's address (127.0.2.1) and port (47809, because the simulated site does not use the default), and the registration renewal, 300 seconds.
Why 47961 and not 47808? Only one program can normally bind a UDP port on a PC. If the BMS software already holds 47808, a foreign device can use another port: the BBMD sends forwarded broadcasts to whatever IP and port registered.
Step 2: Check that the registration is accepted

The connection card shows via BBMD 127.0.2.1:47809, the green registered chip and 11 devices · 2 networks, with the mechanism in one sentence underneath.
If the chip stays on "registering" or shows an error, stop here: discovery cannot work until the BBMD accepts you.
Step 3: Read the network map

The map draws the path: BacLens (127.0.0.1:47961) is a foreign device of the BBMD 127.0.2.1:47809. On the BACnet/IP network, BLDG2-RTR (#11000) carries two tags, BBMD and Router → 3. Behind the router, MS/TP network 3 holds VAV-201 (#12001 at 3:11), VAV-202 (3:12), VAV-203 (3:13) and more.
Two jobs, two settings: the BBMD role gets your broadcast onto the IP subnet, the router role gets it onto MS/TP network 3. For the MS/TP side, see BACnet MS/TP troubleshooting.
Step 4: Run a step-by-step connection test

The Test button runs five checks in order, and the first failing one points at the cause:
- Network card: the loopback card, 127.0.0.1/8, UDP port 47961.
- BBMD answers: BacLens sent a Read-BDT and the BBMD at 127.0.2.1:47809 answered in 12 ms. Its table holds one entry, 127.0.2.1:47809: itself. On a real site you would see every BBMD here.
- Foreign device registration: registered.
- Who-Is: 11 devices answered, for example 11000 at 127.0.2.1:47809, 11001 at 127.0.2.2:47809 and 12001 at 3:11.
- Direct read: device 11000 (BLDG2-RTR) was read at 127.0.2.1:47809.
Step 5: Watch the BBMD packets in the analyzer

Read the capture from the bottom up:
- Register-Foreign-Device (ttl 300 s) from 127.0.0.1:47961 to BLDG2-RTR at 127.0.2.1:47809.
- BVLC-Result: Successful completion from the BBMD, 3 ms later.
- Who-Is, with the layer Distribute-Broadcast-To-Network: BacLens does not broadcast it itself, it asks the BBMD to.
- I-Am from devices 11000, 12001 (VAV-201, via the router at 127.0.2.1), 11001, 13001, 14001 and 14002, all within 13 ms of the Who-Is.
The simulated controllers send their I-Am as Original-Unicast-NPDU, straight back to the PC. Many real devices broadcast their I-Am instead: then you see them arrive as Forwarded-NPDU from the BBMD. Both are allowed. When something fails, the missing line tells you where.
How to configure a BBMD on a site
Configuring BBMDs means choosing one device per subnet, turning on its BBMD function, entering the same BDT in each, and deciding which of them accept foreign devices.
- List the IP subnets that carry BACnet/IP, with their masks.
- Pick one BBMD per subnet. Choose a device that is always powered and has a fixed IP address: a BMS server, a router or a supervisory controller. Never a laptop or a DHCP address.
- Write the BDT once (IP, port, mask 255.255.255.255) and enter it in every BBMD.
- Enable foreign device registration on the BBMD(s) that remote tools and the BMS server will use.
- Open UDP 47808 (or your port) between the BBMDs, both ways, on every firewall and router in the path. Also open it from VPN ranges to the BBMD that foreign devices use.
- Give the BACnet/IP network one network number in every BACnet router on all those subnets.
- Test from each subnet: a Who-Is from a PC on subnet A must find devices on B and C, and the other way round.
- Document it: the BDT, which BBMDs accept foreign devices, and the port.
Common BBMD mistakes and how to fix them
Two BBMDs on the same subnet
Symptoms: every device answers twice to a Who-Is, the network analyzer shows each Forwarded-NPDU twice, broadcast traffic keeps rising. Fix: keep one BBMD per subnet and remove the other one from every BDT.
Tables that don't match
Symptoms: discovery works from subnet A to B, not from B to A; alarms or COV broadcasts from one area never arrive. Fix: read the BDT of every BBMD (Read-BDT) and compare. They must list the same entries.
Foreign device registration refused or expired
Symptoms: the tool sends Register-Foreign-Device and gets a BVLC-Result with 0x0030 (NAK), or nothing at all; or discovery works for a few minutes and then stops. Fix: enable foreign device registration on the BBMD, check its table is not full, and check that your tool renews before the TTL. Re-registering at about half the TTL is a common practice.
A firewall or NAT in the path
Symptoms: no BVLC-Result at all, or registration works but nothing comes back. The BBMD sends forwarded broadcasts to the IP and port it saw in the registration. If a NAT router changes your address or port, or a firewall only allows replies for a short time, the forwarded packets never reach you. Fix: open UDP 47808 both ways, prefer a VPN that gives your laptop a routed address without NAT, and keep the registration renewal short. Newer editions of Annex J describe NAT traversal for BBMDs; check that every BBMD involved supports it before you rely on it. More on ports and firewalls in BACnet device discovery.
Using a BBMD where a router is needed
Two BACnet/IP networks with different network numbers, or two IP sites that must stay separate, need a BACnet router, not a BBMD. Linking them with BBMDs merges them into one BACnet network; duplicate device instances and duplicate network numbers follow.
BBMD troubleshooting checklist
| Check | How | Good result |
|---|---|---|
| BBMD reachable | Ping, then Read-BDT to its IP and port | Read-BDT-Ack within a few ms |
| BDT correct | Read-BDT on every BBMD | Same list everywhere, one BBMD per subnet |
| Registration | Register-Foreign-Device | BVLC-Result 0x0000 |
| Broadcast out | Who-Is as Distribute-Broadcast-To-Network | I-Am answers come back |
| Unicast | ReadProperty to one device's IP | An answer, proves routing and firewall |
| Renewal | Watch the capture for longer than the TTL | A new Register-Foreign-Device before it expires |
Practise before going on site
BACnet/SC (Secure Connect) uses a hub instead of BBMDs, but BBMDs will stay on BACnet/IP sites for years. To practise, run the free BacLens Sim and connect to it with BacLens through its BBMD: you will see the same registration, BDT and packets as in the screenshots.
FAQ
What does a BBMD do in BACnet?
A BBMD (BACnet Broadcast Management Device) forwards BACnet/IP broadcasts, such as Who-Is and I-Am, between IP subnets. IP routers drop broadcasts, so without a BBMD a device on one subnet cannot discover devices on another. Each BBMD sends the broadcasts from its subnet to the other BBMDs in its Broadcast Distribution Table, which rebroadcast them locally.
Do I need a BBMD for every subnet?
You need one BBMD on each IP subnet that has BACnet/IP devices which must send or receive broadcasts from other subnets. Never put two BBMDs on the same subnet: broadcasts are then duplicated.
What is a foreign device in BACnet?
A foreign device is a BACnet/IP device on a subnet without a BBMD that registers with a remote BBMD using Register-Foreign-Device. It then sends its broadcasts to the BBMD as Distribute-Broadcast-To-Network and receives the site's broadcasts as Forwarded-NPDU. It must renew its registration before its time-to-live runs out.
What is the Broadcast Distribution Table (BDT)?
The BDT is the list of all the BBMDs on a site, kept in each BBMD, with each one's IP address, UDP port and broadcast distribution mask. Every BBMD should hold the same table, including itself. A mask of 255.255.255.255 means the broadcast is sent by unicast to the remote BBMD, which rebroadcasts it.
What time-to-live should I use for foreign device registration?
Use a value your tool renews reliably; the screenshots in this guide use 300 seconds. Annex J lets the BBMD keep the entry for the TTL plus a 30-second grace period, and there is no permanent registration.
Why does discovery through the BBMD find nothing?
Check in this order: the BBMD's IP and UDP port, a firewall or NAT on UDP 47808, whether the BBMD accepts foreign devices (a BVLC-Result NAK 0x0030 means no), and whether its BDT lists the other BBMDs. A unicast ReadProperty to a known device proves the device itself is fine.
Is a BBMD the same as a BACnet router?
No. A BBMD forwards broadcasts between IP subnets that form one BACnet network with one network number. A BACnet router joins different BACnet networks, for example BACnet/IP to MS/TP, and changes network numbers. Many devices can do both jobs, but they are separate settings.