Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in Discovering devices in a network from docker container running in Ubuntu 18 #133

Open
Zedstron opened this issue Dec 20, 2023 · 2 comments

Comments

@Zedstron
Copy link

Hi, I wrote a console application which can discover the devices using WhoIs/IAM and can read properties from objects, but it is completely working fine in windows, but when a container is executed in Linux ubuntu 18, only BACnet/IP devices are discovered and the devices that are behind a MS/TP over IP are not discovered. e.g. devices with same/different network number and unique ID's but same Ip address

Host Machine Config

  • Ubuntu 18.04
  • Multiple Interfaces e.g. (eth0 for BACnet, eth1 for internet, eth2 for private VPN)
  • Docker container for solution execution

Docker Config

  • Networking mode Host
  • exposed port 47808

BACnet Server Config

  • Used specific Ip and not 0.0.0.0
  • Port used 0XBAC0
  • Fragmentation enabled
  • Use Exclusive port enabled
@Zedstron
Copy link
Author

I would like to add one thing, I used tshark to test the packets just in case the IAM responses are received from the equipment's but not get processed by the app, but tshark only shows the response from those devices being detected and not other equipment's

@Zedstron
Copy link
Author

This is another update I just noticed that Wireshark is showing IAM responses are being captured from other equipment's too, but they are sent as broadcast which is not being processed but the responses which are sent as unicast, they get processed.
One more thing to add when destination is broadcast address then the UDP receive message handler is not even fired, I though message is being received in some stage and get either trashed or rejected due to some reason but it's not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant