d2g / dhcp4client

DHCP Client
Mozilla Public License 2.0
38 stars 30 forks source link

Binding to specific interface (Cross Platform) #16

Open corny opened 7 years ago

corny commented 7 years ago

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 commented 7 years ago

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 commented 6 years ago

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.