Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

BacNet DataSource Device Scan not listening for broadcasts

  • I am attempting to pull points into a new mango install from a large existing campus. The equipment is mostly Alerton hardware. I have, to date, been unable to get it to pick up any of the alerton hardware (non-alerton hardware comes in fine), and after some deep wireshark time, I have found the issue. The Who-is is sent out properly, on the designated interface (, to the proper broadcast address ( All the hardware responds with I-AM messages, but the Alerton hardware is broadcasting the I-AM to, and not sending it directly to the mango server ( These broadcast messages are being ignored by Mango, and as a result, I cannot add those devices to the datasource.

    Is there a way to get Mango to acknowledge i-am messages on broadcast? I am not sure if the standard requires I-AM's to be only directed, or if they could be broadcast, but I see no technical reason why mango shouldn't listen for directed AND broadcast responses.

  • I'm going to look into this and get back to you as soon as possible.

  • See The Alerton hardware is behaving properly. In unix, you cannot have BACnet4J bind to a specific address because it then ignores broadcasts. Ironically, Windows handles this better.

  • Okay, so that helps in one regard. By changing the datasource's bind to address to, it is now recognising the I-Am's resulting from the global Who-Is, and populating the (VERY LARGE) table of device results. Which comes to the next issue. The list is ordered in the order the results come in, and there is no way to sort the list. Finding an item on a site with >1200 devices would be quite a chore (luckily, find works).
    I did find another issue which I'll put into a new post, as ti is unrelated to the actual network issues.

  • Upon further playing, it seems that setting the bind to address to screws up actual data point access - so that's a non-fixer. I did see this thread, that seems to indicate a possible fix for the quirky behavior in regards to linux/java/local IP bniding/broadcast reception.

    I actually had already disabled IPv6 on ubuntu, but didn't do so in java itself.

    I added the preferIPv6Addresses=false and preferIPv4Stack=true to the script, and it allowed binding to the broadcast address, but then it wouldn't receive directed packets. It really looks like the only way to get around this 'limitation' in linux+java is to bind to both the broadcast address, AND to the interface address with separate bindings, and route packets from either to the parser.

  • Joel,
    Did you ever look further into this issue?