August-10th-2018, 01:19 PM
Hello,
first of all I have to tell you that changing any LAN settings within a Docker container will have no effect on the Docker host.
Whenever a container is deployed it will be getting always an "internal" IP address (172.17.0.2 typically) by Docker service itself in mode "bridged" or in case of mode "host" the container will share the existing host interfaces (eth0,wlan) directly without receiving a separate IP address.
Now back to what I have understood from your post. You are telling that changing the LAN setting the netPI's Edge Gateway Manager does not work. By default it is DHCP and you changed it to static but netPI falls back to DHCP. Is my understanding correct?
Next what I understood is that you are using Wifi simulanously. Which mode are you using? Access point or client. I can't find that information published.
Now let me also understand what the expected data flow shall be: There is a Modbus TCP (up and running in a container as client or server doesn't matter) using an IP address range that is within the LAN port settings range. This application is running fine as far as I have understood. But you want now also send those data over Wifi to another place (via a router for example)? Is my understanding correct? And both in combo does not work? Is that what your expectation is?
Have you maybe configured overlapping ip address ranges? Could it be that you configure a gateway in the LAN settings and in thw Wifi settings the same time? This will cause a confict. You have to have a gateway active in the Wifi dialog only if this goes to the router.
Thx
Armin
first of all I have to tell you that changing any LAN settings within a Docker container will have no effect on the Docker host.
Whenever a container is deployed it will be getting always an "internal" IP address (172.17.0.2 typically) by Docker service itself in mode "bridged" or in case of mode "host" the container will share the existing host interfaces (eth0,wlan) directly without receiving a separate IP address.
Now back to what I have understood from your post. You are telling that changing the LAN setting the netPI's Edge Gateway Manager does not work. By default it is DHCP and you changed it to static but netPI falls back to DHCP. Is my understanding correct?
Next what I understood is that you are using Wifi simulanously. Which mode are you using? Access point or client. I can't find that information published.
Now let me also understand what the expected data flow shall be: There is a Modbus TCP (up and running in a container as client or server doesn't matter) using an IP address range that is within the LAN port settings range. This application is running fine as far as I have understood. But you want now also send those data over Wifi to another place (via a router for example)? Is my understanding correct? And both in combo does not work? Is that what your expectation is?
Have you maybe configured overlapping ip address ranges? Could it be that you configure a gateway in the LAN settings and in thw Wifi settings the same time? This will cause a confict. You have to have a gateway active in the Wifi dialog only if this goes to the router.
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)