eclipse-cyclonedds / cyclonedds

Eclipse Cyclone DDS project
https://projects.eclipse.org/projects/iot.cyclonedds
Other
888 stars 363 forks source link

Network Configuration/Connection between a Container & Windows #2131

Open GeorgeYaz opened 2 weeks ago

GeorgeYaz commented 2 weeks ago

I’m trying to connect two Cyclone DDS applications (as shown in the picture): First one is running on Windows. Second one is running within a docker, which runs in VSCode on Ubuntu system within VMWare Workstation.

image

You can see in the picture the network interfaces, where the docker connects to Ubuntu over the docker0 The connection between Ubuntu and Windows is over ens33

I was able to create a connection between the Application running in the container and Ubuntu using the Cyclone XML Config file (using docker0 as the interface). Also, it was possible to create a connection between Application running in Ubuntu and Windows using the Cyclone XML config file (using ens33 as the interface).

But the open question is still how to create the connection directly between the application in the container and the application in Windows? so basically to route the DDS traffic from docker0 to ens33!