dhcp4client
dhcp4client copied to clipboard
Binding to specific interface (Cross Platform)
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
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.
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.