#dhcpv4 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #dhcpv4, aggregated by home.social.
-
Finally (2), I have some good enough DHCP server! :drgn_aww:
Tried kea from ISC — it works but requires some additional actions to be launched under #NetBSD. It has very strange default paths for file with leases, PIDs and logs:
- /usr/pkg/var/lib/kea/
- /usr/pkg/var/lib/run/kea
- /usr/pkg/var/log/keaBTW, it could be changed via playing with some environment variables.
Also, the default startup script uses keactrl to launch DHCP server and keactrl requires some configuration for it. So, to use "service kea start" there are two configuration files are necessary:
- /usr/pkg/etc/keactrl.conf — the main configuration file for server.
- /usr/pkg/etc/kea/keactrl.conf — the configuration file for keactrl.Then, I tried the dhcpsd — the new promising successor of ISC dhcpd, which could be configured with configuration file in Lua and conforms Unix FHS — all necessary files lies in the right places: /var/run, /var/log, etc. Sadly, it doesn't work: server starts but there are no leases for clients and no any errors in the log :-(
Then, I found cmu-dhcpd in the repos — there is a dhcpd from Carnegie Mellon University with some patches from Princeton. And, finally it works! And it also conforms Unix FHS: main configuration in the /etc/dhcpd.conf, PID-file in the /var/run/dhcpd.pid and logs in the /var/log/messages :drgn_aww:
-
Finally, I have some good enough DHCP server.
It is a kea from ISC – the successor of EOLed dhcpd.
The moment, when I switched re0 interface configuration from DHCP to static IP and rebooted the server — was the most touching. The second one — when I disabled DHCP server in the D-Link router, started kea and restarted the router :drgn_hide:
Fortunately, the lines from connecting phone appeared in the kea log after some lenghty seconds :drgn_happy_blep:
-
#Kea 2.7.9 (dev) has been released (#DHCP / #DHCPv4 / #DHCPv6 / #DNS / #ISC / #InternetSystemsConsortium) https://www.isc.org/kea/
-
#Kea 2.4.2 (old stable) has been released (#DHCP / #DHCPv4 / #DHCPv6 / #DNS / #ISC / #InternetSystemsConsortium) https://www.isc.org/kea/
-
#Kea 2.6.3 (stable) has been released (#DHCP / #DHCPv4 / #DHCPv6 / #DNS / #ISC / #InternetSystemsConsortium) https://www.isc.org/kea/
-
#Kea 2.7.0 (dev) has been released (#DHCP / #DHCPv4 / #DHCPv6 / #DNS / #ISC / #InternetSystemsConsortium) https://www.isc.org/kea/
-
#Kea 2.6.0 (stable) has been released (#DHCP / #DHCPv4 / #DHCPv6 / #DNS / #ISC / #InternetSystemsConsortium) https://www.isc.org/kea/