I am trying to isolate the networking inside a Windows container, which is very easy using --network none
.
The problem comes when I have two threads in the same process trying to communicate each other using multicast through a network interface, so this is the reason why I need to create an interface inside the container. The objetive of using network isolation is to avoid sending noise to the same process running in parallel inside another container.
So in other words, I need the equivalent to these commands in Windows:
ip link add dummy0 type dummy
ip addr add 10.0.0.1/24 dev dummy0
ip link set dev dummy0 multicast on
ip link set dummy0 up
I haven't found a tool to create network adapters on Windows so far.