Skip to Content
Documentation05 · Data forwardingForwarding pluginsBACnet BBMD
On this page

BACnet BBMD

A BBMD distributes BACnet/IP broadcasts to other BBMDs and registered Foreign Devices. Configure it as a separate data-forwarding target without variable mappings. To expose variable objects, create a BACnet/IP server; to register a collector with a BBMD, see the BACnet/IP client.

Create a network target

  1. Open Development configuration → Data forwarding, select or create a group, and add a BACnet BBMD target.
  2. Use UDP and bind to the actual interface’s IPv4 address and port, for example 192.168.10.2:47808. Wildcard 0.0.0.0, IPv6, and TLS are rejected.
  3. Under Network role → BBMD network settings, specify the local subnet, remote BBMDs, permitted registration networks, and management addresses. Management addresses in the following example can only read tables.
  4. Save and enable the group and target. Deploy one BBMD for each BACnet/IP broadcast domain. Use the planned UDP ports and permit the required UDP traffic and directed broadcasts.
{ "SubnetMask": "255.255.255.0", "LocalDistributionMask": "255.255.255.255", "Peers": [ {"Address":"192.168.20.2","Port":47808,"DistributionMask":"255.255.255.255"} ], "ForeignDeviceNetworks": ["192.168.30.0/24"], "ManagementAddresses": ["192.168.10.100"], "AllowRemoteTableChanges": false, "MaximumForeignDevices": 128 }
ParameterDescription
SubnetMaskContiguous IPv4 subnet mask for the bound interface, used to identify local sources and calculate the local broadcast address.
LocalDistributionMaskMask for the automatically added local BDT entry. The default all-ones mask enables a second local broadcast hop for packets from a BBMD on another subnet.
PeersOther BBMDs’ unicast addresses, UDP ports, and contiguous distribution masks. At most 63 entries; do not repeat the local endpoint.
DistributionMaskAll ones sends directly to the remote BBMD. Other contiguous masks calculate a directed broadcast destination. Coordinate this with the peer’s BDT.
ForeignDeviceNetworksUp to 64 permitted IPv4 CIDR registration networks. An empty list rejects all new registrations. Limit entries to the actual device networks.
ManagementAddressesUp to 32 IPv4 addresses permitted to read BDT and FDT. An empty list rejects management reads.
AllowRemoteTableChangesDisabled by default. When enabled, management sources still require target Allow writes to replace BDT or delete another device’s FDT entry.
MaximumForeignDevicesAt most 128 active registrations. Both tables are also bounded by the maximum datagram length so a complete read response fits one datagram.

Maximum datagram size defaults to 1476 bytes and must accommodate a complete BDT/FDT response as well as ordinary BVLC traffic. Request timeout defaults to 5000 ms. Inherited serial/SSL properties do not make those transports available: this target requires plain IPv4 UDP on a concrete local interface.

BACnet BBMD network table and listener properties

Two-subnet configuration example

For the example endpoints 192.168.10.2:47808 and 192.168.20.2:47808, add reciprocal BDT entries with 255.255.255.255 distribution masks. Each BBMD sends unicast to its peer and broadcasts locally. Allow UDP routes in both directions.

On engineering client 192.168.30.10, select Foreign Device registration, specify BBMD 192.168.10.2:47808, and renew a valid lease such as 60 seconds. The configured CIDR 192.168.30.0/24 admits this client.

From the permitted management address 192.168.10.100, use Read-FDT to check the engineering client’s actual source endpoint and remaining lifetime, and Read-BDT to check local and peer entries. The registered engineering client can then send Who-Is, check I-Am, and perform ReadProperty against the original device address. Discovery does not prove direct unicast reachability.

BBMD has no DeviceInstance, Present_Value, or variable mappings. A separate BACnet device/server provides application objects. Merely pointing an ordinary client’s IP at the BBMD does not perform Foreign Device registration.

Registration, distribution, and management

A Foreign Device registers from its actual communication port with a lease of 1–65535 seconds and renews before expiry. FDT entries include the standard additional 30-second grace period; reported remaining time includes it. A full table accepts existing entries’ renewals but rejects new sources. Devices can remove their own endpoint with Delete-FDT. Registration requests with a zero TTL are rejected.

BDT forwarding preserves the original device address and distributes broadcasts to registered devices. A Forwarded-NPDU received from another BBMD is not forwarded to other BDT peers again. Only sender endpoints listed in the current BDT may submit these packets. Foreign Devices need a current registration to distribute broadcasts. Address ACLs do not provide encryption or password authentication; restrict sources at the actual network boundary.

Read-BDT and Read-FDT return complete tables. Replacing BDT and deleting another device’s registration require a management address, the explicit table-write setting, target write permission, and an enabled current group and target. Invalid masks, duplicates, and oversized tables fail before replacement. Management can write an empty BDT, but local second-hop broadcasting requires a local entry with an all-ones mask.

Network table changes last for the current listening session. Restarting the target or physical channel restores saved BDT configuration and clears FDT; Foreign Devices must register again. Group membership changes alone preserve the tables. Disabling the group or target stops admission and forwarding.

BBMD distributes broadcasts and does not proxy unicast properties. After discovery, the original device addresses and ports must still be mutually reachable. The application server and independent BBMD require distinct listening endpoints and cannot share one IP address and UDP port. Registration success does not prove device availability. This target uses BACnet/IP UDP and does not provide MS/TP.

SymptomAction
Startup failsVerify an actual IPv4 interface, an available UDP port, and no peer entry repeating the local endpoint.
Registration rejectedCheck source CIDR admission, TTL, group/target enable state, and available FDT capacity.
Registered but discovery failsCheck reciprocal BDT configuration, distribution masks, permitted broadcasts, and original device ports.
Discovery works but properties time outCheck direct unicast routing, firewalls, and return ports between devices. BBMD is not a proxy.
Table write rejectedCheck the management source, AllowRemoteTableChanges, and target Allow writes.