Networking issues after change in virtual ips assignment behaviour

Hi everyone,

I have a WebRTC app running on a docker swarm cluster and after an update, my backend stopped being able to successfully establish a connection to the browser through ICE.

I managed to identify the cause as this change in libnetwork: https://github.com/docker/libnetwork/pull/1877 . I compiled the latest docker source reversing this change and it started working again ( you can see exactly what I did here: https://github.com/phowat/moby ).

I’m not very experienced with docker and have very little understanding on how it’s networking works, so I don’t really know what was the purpose of this pull request. I was hoping there is some sort of configuration, be it in my app or in my docker setup, I could make to get the old behaviour back.

Any pointers on where should I start investigating this issue would be greatly appreciated.

Regards