dhcp4client icon indicating copy to clipboard operation
dhcp4client copied to clipboard

Binding to specific interface (Cross Platform)

Open corny opened this issue 7 years ago • 2 comments

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

corny avatar Oct 31 '17 18:10 corny

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 avatar Nov 01 '17 15:11 d2g

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 avatar Feb 16 '18 16:02 d2g