GithubHelp home page GithubHelp logo

Comments (3)

DirkMeihoefer avatar DirkMeihoefer commented on May 28, 2024

We did not tried this scenario ourself. My first idea and quick shot would be to create and configure an azure-iot-edge docker network to use the macvlan driver if that would be acceptable. Macvlan networks allow you to assign a MAC address to a container, making it appear as a physical device on your network. This network can be configured before starting IoT Edge, as the iotedged does a "get or create" operation on the network when starting. Pre-configuring a network and updating the network in the config.yaml allows complete control over its settings.
Networking on IoT Edge

from azure-iot-edge.

IkkertSergei avatar IkkertSergei commented on May 28, 2024

Hello bosman84 . The solution described by colleague Dirk is based on the case that the external devices should access the Iot-Edge modules. In this case Macvlan approach makes sense.
In the case that the Iot-Edge modules should communicate with an external device in the same network, it should work without any problems. I have already tried Azure IoT Edge Modbus modules and it worked once.
https://github.com/Azure/iot-edge-modbus
We are currently working on the new version of Iot Edge runtime. This will be the last released version 1.0.10 of iot edge where some bugs have been fixed. The version will probably be released next week on docker hub. We will check the communication between Iot-Edge modules and external devices again.

from azure-iot-edge.

sbosman84 avatar sbosman84 commented on May 28, 2024

Thanks DirkMeihoefer & IkkertSergei, I also expected that it should work on the default bridge network configuration of the azure-iot-edge network. So I've looked into it a bit deeper and think the problem lies in that it is specific to the UDP broadcast that is not being routed proper from the azure-iot-edge network towards the external devices (and back). When running on the host network this isn't a issue. So will need to look into this a bit deeper. Thanks for the support.

from azure-iot-edge.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.