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

Binding to specific interface (Cross Platform) #16

Open
corny opened this issue Oct 31, 2017 · 2 comments
Open

Binding to specific interface (Cross Platform) #16

corny opened this issue Oct 31, 2017 · 2 comments

Comments

@corny
Copy link

corny commented Oct 31, 2017

The current implementation can not be bound to a specific interface.
I implement a DHCPv4 client on my own. In case someone is interested in the code: https://github.com/digineo/go-dhclient

@d2g
Copy link
Owner

d2g commented Nov 1, 2017

Hi @corny ,

Sorry off topic. Have you found a reference way to test your DHCP client against?

I've been trying to identify a way of testing ideally within the CI tool chain. The other option was to migrate the project back into the DHCP fork and build a reference server to test against.

@d2g
Copy link
Owner

d2g commented Feb 16, 2018

It doesn't look like the github.com/mdlayher/raw actively supports windows. You can bind in Linux using the PacketSock connection type and supplying the interface index although I'd like to add this generically.

@d2g d2g changed the title Binding to specific interface Binding to specific interface (Cross Platform) Feb 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants