You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am testing out coredhcp for possible use in a project on my Ubuntu 20.04 system.
I was able to compile it in Go and then copied over the config.ml-example in the coredhcp server director for use to test. After that, I compile the client.
Once that was done, I had to make an empty leases.txt file and then started up the server:
sudo ./coredhcp
and then tried the client:
sudo ./client
but get an error in the client:
:~/go/src/coredhcp/cmds/client$ sudo ./client
[2021-10-29T19:08:59-04:00] INFO main: &{ReadTimeout:3s WriteTimeout:3s LocalAddr:[::1]:546 RemoteAddr:[::1]:547 SimulateRelay:false RelayOptions:[]}
[2021-10-29T19:08:59-04:00] FATAL main: short hardware addrss: less than 4 bytes
Not sure how to fix this?
Also, can coredhcp be compiled for the Windows platform as well?
Thanks in advance
The text was updated successfully, but these errors were encountered:
The client implementation doesn't live in this repo - this is just a way to make the upstream implementation executable and available as a debugging tool. As far as I can see here the client is broken - it doesn't even send anything. You'll want to look for the implementation in here: https://github.com/insomniacslk/dhcp/blob/master/dhcpv6/client6/client.go and maybe open an issue for the upstream
Also, can coredhcp be compiled for the Windows platform as well?
Currently it is not possible to build for windows, and we use a few unix-specific interfaces so it is unlikely to work without explicit porting work for windows
Hello,
I am testing out coredhcp for possible use in a project on my Ubuntu 20.04 system.
I was able to compile it in Go and then copied over the config.ml-example in the coredhcp server director for use to test. After that, I compile the client.
Once that was done, I had to make an empty leases.txt file and then started up the server:
sudo ./coredhcp
and then tried the client:
sudo ./client
but get an error in the client:
:~/go/src/coredhcp/cmds/client$ sudo ./client
[2021-10-29T19:08:59-04:00] INFO main: &{ReadTimeout:3s WriteTimeout:3s LocalAddr:[::1]:546 RemoteAddr:[::1]:547 SimulateRelay:false RelayOptions:[]}
[2021-10-29T19:08:59-04:00] FATAL main: short hardware addrss: less than 4 bytes
Not sure how to fix this?
Also, can coredhcp be compiled for the Windows platform as well?
Thanks in advance
The text was updated successfully, but these errors were encountered: