- ISC (Internet Systems Consortium)
- DHCPD (Dynamic Host Configuration Protocol Daemon)
-
SystemdD NetworkD has a built in DHCP.
Verify that the DHCP server is listening on port 67
:
Command |
Example |
Is the configuration file valid? |
$ /usr/bin/dhcpd -t -f /etc/dhcpd.conf |
Renew lease for specific interface (SystemD) |
# networkctl renew wlp0s0 |
Error |
Cause |
Remedy |
No subnet declaration for [device] (no IPv4 addresses). ** Ignoring requests on [device]. If this is not what you want, please write a subnet declaration in your dhcpd.conf file for the network segment to which interface [device] is attached. ** Not configured to listen on any interfaces! exiting. |
|
Assign a static IP to the referenced device interface <device>; in dhcpd.conf. |
DHCPDISCOVER from <MAC> via <INTERFACE>: network <IP> no free leases |
|
Add entry host NAME { ... } for the device with at least hardware ethernet <MAC>; fixed-address <IP>; option host-name "<NAME>";
|
<INTERFACE> missing an interface address |
Unknown |
|
<INTERFACE> missing an interface address |
Unknown |
icmp_echorequest 192.168.1.101: Operation not permitted
send_packet: Operation not permitted
dhcp.c:4131: Failed to send 300 byte long packet over fallback interface.
|
dhcpcd_prestartinterface: Name not unique on network |
Conflicting MAC address. It could occur if a virtual device has been created from a physical device; they share the same MAC. |
Change or randomize MAC for either or all conflicting devices. |
dhcpcd_prestartinterface: Device or resource busy |
Unknown, but comes from RTNETLINK answers
|
|
no interfaces have a carrier |
No Internet connection. |
|
Parameter |
Example |
Comment |
filename |
filename "/netboot/grub/x86_64-efi/bootx64.efi"; |
The path is appended to the directory provided for the TFTP directory. For example, if the TFTP directory is /srv/tftp/ then the the full path would be /srv/tftp/netboot/grub/x86_64-efi/bootx64.efi . |
next-server |
next-server 192.168.0.101; |
Declaring next-server should only be necessary if the TFTP is on another server than the server running the DHCPD. |