Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyper-V network interface interferes with detection #5

Closed
ctartamella opened this issue Jul 29, 2017 · 2 comments
Closed

Hyper-V network interface interferes with detection #5

ctartamella opened this issue Jul 29, 2017 · 2 comments

Comments

@ctartamella
Copy link

I have a virtual ethernet card added on my system from the installation of Docker in Hyper-V. It is a NAT interface so it doesn't really go anywhere. When this interface is enabled, LifxNet is not able to detect lights on my network. As soon as I disable it, detection works perfectly. I'm not sure what other diagnostic info I can provide, so please let me know and I will be happy to help.

@logicallysynced
Copy link

logicallysynced commented Aug 10, 2017

LifxNet seems to use the UdpClient in System.Net.Sockets. I'm wondering if this issue is caused by the sockets class targeting the wrong (virtual) NIC on your VM by default?

https://github.com/dotMorten/LifxNet/blob/master/src/LifxNet/LifxClient.cs

https://stackoverflow.com/questions/1096142/broadcasting-udp-message-to-all-the-available-network-cards

@ctartamella
Copy link
Author

That was my assumption. I've since gotten rid of Docker via Hyper-V for some other reasons (though this incompatibility played a part) but I can say it was pretty much a default install of Docker for Windows which created the issue. You may need to create a single instance of an image in order to force the creation of the network adapters to replicate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants