Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [dhcpd]

dhcpd is the service that provides IP address(among other configuration details) to clients. The acronym stands for Dynamic Host Control Protocol Daemon)

Filter by
Sorted by
Tagged with
0 votes
0 answers
160 views

kea-dhcp-server logs vs isc-dhcp-server logs

So switching from isc to kea dhcp server I can't seem to find "device name" (in this example, Chromecast-Ultra) in the log anymore. I.e. with the isc dhcp server I would get: Jun 2 23:45:...
kennethx's user avatar
1 vote
0 answers
141 views

Clients got IP-addresses from DHCP but can't reach Internet

I'm trying to build home router from device with two ethernet ports (enp2s0 and enp3s0) and WiFI (wlo2), based on Ubuntu Server 22. Everything is set, clients can connect via wifi to the router (it's ...
s_spirit's user avatar
0 votes
0 answers
37 views

Internet Problem. NetworkManager

I was just using ifconfig and dhcpcd then my wifi connection just dissapeared. Went into settings and it just said: NetworkManager not running. I tried multiple different commands and it would not ...
sushiman's user avatar
0 votes
0 answers
63 views

dhcpd.conf configuration for PXE server

i am trying to configure the dhcpd.conf file, when I restart and see the staus of the isc-dhcp-server it is giving below error: isc-dhcp-server.service - ISC DHCP IPv4 server Loaded: loaded (/lib/...
Adkhamboy Makhmudjonov's user avatar
1 vote
1 answer
252 views

How do I tell systemd to start isc-dhcp-server after slapd?

I have installed isc-dhcp-server-ldap and keep my DHCP configuration in OpenLDAP. This works perfectly. However, when I reboot my server, isc-dhcp-server is not started: s-hrt1# systemctl --failed ...
Stephen Winnall's user avatar
2 votes
1 answer
552 views

Telling journalctl to show all but a certain facility

I'm trying to get rid of dhcpd spam in my journal. Using rsyslog.conf and dhcpd.conf I have been able to keep it out of /var/log/syslog and put it in /var/log/dhcpd.log which is great. However, ...
Bram's user avatar
  • 2,661
0 votes
1 answer
1k views

isc-dhcp-server - Ubuntu 22.04 No subnet declaration

Trying to get DHCP services on ubuntu to work at all. Vanilla os install. copy from existing ubuntu 20 host dhcp server. Services will not start. I have not even gotten to more advanced things like ...
penguinpages's user avatar
1 vote
1 answer
1k views

How to route isc-dhcp-server logs to their own file

The logging in systemd's journal is getting spammed by logging from dhcpd. I am running isc-dhcp-server and would like to prevent the log ending up in the journal, and instead go to its own file. I ...
Bram's user avatar
  • 2,661
0 votes
1 answer
2k views

Automated Server Installs config file top-level keys ”late-commands“ cant use wget or curl

i have encountered a problem about Automated server install. This is my env: Server: centos 7.6 x86_64(its a kvm system) Node1: no system Node2: no system I want to automated install Ubuntu-20.04.3 ...
bowfgc's user avatar
  • 11
2 votes
2 answers
983 views

No network from minimum net install

I did a minimum net install, but my new system is not starting the network automatically -- No IP address with my eth0 device. I installed dhclient package myself but that doesn't help. I thought it ...
xpt's user avatar
  • 1,065
0 votes
0 answers
1k views

Ubuntu server 20.04: set ip isc-dhcp-server: network failed

I have set up isc-dhcp-server over Ubuntu server 20.04. Isc-dhcp-server starts well. To set up my local network, I used: a pc to host isc-dhcp-server a pc as a client a switch to interconnect server ...
cProg's user avatar
  • 131
0 votes
1 answer
2k views

Fixed address on DHCP server isn't working

I'm running Ubuntu 20.04 as a DHCP server and I tried to assign a fixed address to a client which is another Ubuntu os on a Virtual box, and both of them are in the same internal network, but, it ...
Mr.Robot's user avatar
0 votes
0 answers
39 views

How to unmask and start a dhcpd service? [duplicate]

I was about to start my dhcpd service but couldn't do it since it was masked. I tried systemctl unmask dhcpd.service but it does not work. Any suggestion?
chogyal's user avatar
1 vote
2 answers
2k views

Keep file permissions on dhcpd.leases after reboot on Linux

We have a Linux machine on which we run our .NET Core app. This app is a web UI which is used to display and configure a system of EEPROMs. The app reads the dhcpd.leases file, located in the ...
programmer2000's user avatar
1 vote
0 answers
57 views

Upgrade to 20.04 throws dhcpcd error

I recently upgraded from 18.04 to 20.04 and on reboots I receive the following internal error. Everything continues to work normally, so I just dismiss it, but I was hoping to understand the root ...
Jako's user avatar
  • 111
0 votes
1 answer
358 views

DHCP Server (v4_4_2) from sources fails to start

When build DHCP from sources and trying to run the DHCP server, failing with ERROR. Any ideas what could the issue, something related how build from sources or something else is missing? No issues if ...
realbox71's user avatar
4 votes
3 answers
2k views

Taking an action after connecting a USB-to-Ethernet adapter

When I connect a USB-to-Ethernet adapter (that has been previously used), I receive a MAC address, and then if there's something connected on the other end I receive also an IP address (192.168.1.1 in ...
dargaud's user avatar
  • 968
0 votes
1 answer
471 views

How to tell a subnet number is valid or not in dhcpd.conf?

I got a warming message with "subnet 192.168.10.1 netmask 255.255.255.0: bad subnet number/mask combination" in dhcpd.conf after I tried to configure the dhcp server. I found if I change the subnet id,...
codexplorer's user avatar
3 votes
1 answer
6k views

18.04 Server Systemd DHCP hangs on DISCOVER, dhclient works

Just installed ubuntu server 18.04. I am unable to get a dhcp lease using systemd-networkd, but using dhclient works fine. With SYSTEMD_LOG_LEVEL=debug I get: $ journalctl ... Apr 29 10:14:09 ...
Janne's user avatar
  • 198
1 vote
1 answer
778 views

What's wrong with dhcpd (isc-dhcp-server) inside LXC container? Why it does nothing?

I tried many times, on various Ubuntu machines: the dhcpd executable (installed in /usr/sbin/dhcpd via package isc-dhcp-server) inside the LXC container seemingly the only thing it does, when executed ...
Adam Ryczkowski's user avatar
0 votes
1 answer
567 views

ISC DHCPD multiple subnets but want only one subnet to do ddns updates to a windows server dns

I have a Ubuntu server providing dhcpd services to multiple subnets without any problems. One of the subnets has a Windows 2008 AD. We want to have the ISC DHCPD server on the Ubuntu server to ...
Thomas E Wittman's user avatar
10 votes
3 answers
34k views

Why is Netplan/Networkd not bringing up a static ethernet interface?

I have a machine running Ubuntu Server 18.04. The network is configured using Netplan, so I have this config in /etc/netplan/01-netcfg.yaml: network: version: 2 renderer: networkd ethernets: ...
detly's user avatar
  • 3,412
0 votes
1 answer
265 views

DHCPv6 assigned 64 prefix instead of 112 prefix

I'm trying to setup my DHCPv6 on ubuntu to assign an address with a 112 prefix. My configuration looks like this: subnet6 2001:db8:a0b::640a:0/112 { range6 2001:db8:a0b::6464:640a 2001:db8:a0b::...
ocp1000's user avatar
  • 101
7 votes
1 answer
16k views

How do I set up an Ubuntu server to be the router for two private networks on my network, and do the DHCP addressing?

I want to use my Ubuntu server to be a router for two private networks on my network. I also want this server to serve DHCP requests for the private networks. How do I set up an Ubuntu 16.04 server ...
Thomas Ward's user avatar
  • 76k
0 votes
1 answer
671 views

How to let two differnet subnets, which are created by a DHCP server, talk to each others?

I have a ubuntu server with two ethernet cards, eth0 and eth1, and plan to use it as a DHCP server to create two different subnets, 192.168.10.0/255.255.255.0 and 192.168.100.0/255.255.255.0. Q1: Is ...
codexplorer's user avatar
0 votes
0 answers
163 views

Why does my dhcp server assign 2 different IPs to the same client NIC?

My dhcpd is getting DHCPREQUEST packages for 2 different IPs from the same MAC address on the same (linux-ubuntu-16.04) client. Snip from the syslog: Jun 20 09:56:13 infranet dhcpd: DHCPREQUEST for ...
steW's user avatar
  • 11
4 votes
2 answers
34k views

How can I get isc-dhcp-server/dhcpd to listen on one interface only?

I would like my isc-dhcp-server instance to listen on my LAN interface only because I'm investigating an issue with my "WiFi router" and configured INTERFACES='p18p1' in /etc/default/isc-dhcp-server ...
Kalle Richter's user avatar
4 votes
2 answers
38k views

Step by step guide to setup a DHCP server / client configuration in VirtualBox

I'm trying to implement DHCP on two VirtualBox machine, which both are running Ubuntu 16.10 (One as client, one as server) and the host is a Windows 10. How do I go about doing this? A step by step ...
annabelle1301's user avatar
0 votes
0 answers
274 views

ISC-DHCP server disabled, but "ip address show" still show local IP assigned for eth0

I installed and used ISC-DHCP server for a while for local network, then stopped it as don't need it anymore. sudo service isc-dhcp-server stop I also changed back configuration changes of ...
minto's user avatar
  • 831
5 votes
2 answers
25k views

isc-dhcp-server disabling and configuring

I've installed isc-dhcp-server just for a one-time task. So basically, after task is completed I dont't need it anymore: should I just uninstall it? Or it possible to disable it completely? The ...
minto's user avatar
  • 831
1 vote
0 answers
773 views

Cannot find network interfaces / devices

I'm trying to set up a private network between a few VMs running Ubuntu. For this specific configuration, I need to enable eth1 - eth9. For some reason eth1 turns on fine (using ifconfig eth1 up, but ...
user5508097's user avatar
1 vote
1 answer
6k views

Restart dhcpd when interface is reset

I have an Ubuntu 16.04 system acting as a wifi access point and router, including as a DHCP server (isc-dhcp-server). There is something slightly flaky with the USB wifi card, and occasionally it ...
Nate Eldredge's user avatar
0 votes
1 answer
374 views

change the DHCP lease table with script & sed

Dears , I have in the dhcp lease file leases , like the following example : lease 192.168.79.15 { starts 0 2016/08/21 13:25:45; ends 0 2016/08/21 19:25:45; cltt 0 2016/08/21 13:25:45; ...
Abood Alakhras's user avatar
0 votes
1 answer
1k views

From where comes /run/resolvconf/interface/eth0.dhclient file

I'm searching for original configuration file that is the source for generating /run/resolvconf/interface/eth0.dhclient file. That file contain DNS server names and the domain name for my machine. I'...
Michel Wicky's user avatar
1 vote
0 answers
941 views

isc-dhcp-server fails on xenial

I also posted this question on the answers.launchpad.net site before I foudn this one, sorry for the duplication... I just upgraded both of my DHCP servers running failover to Xenial and now neither ...
Brad Brown's user avatar
0 votes
1 answer
2k views

Boot failure dhcp service

Good evening everyone. My dhcp server stopped working. I pulled the status and features Failure. If anyone can help me. Follows AppendixA error image Script of service isc-dhcp-server status root@...
Felipe Valim's user avatar
3 votes
3 answers
23k views

isc_dhcp_server start error : `dhcpd: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied.`

dhcpd: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied. in /var/log/syslog when starting isc_dhcp_server service isc-dhcp-server start on Ubuntu 15.10 bug report here version of ...
Philippe Gachoud's user avatar
2 votes
0 answers
2k views

How to show the reserved leases that dhcp has on file?

I want to check on the reserved leases (called "fixed-address" in the config files) of my dhcpd. To get all the info about the free dynamic ips is no problem, but the reserved one that get written to ...
KRAER's user avatar
  • 41
0 votes
1 answer
1k views

configuring dhcp with dynaminc ipv4 and ipv6 address

i just want to know that is that possible to configure dynamic ipv4 and ipv6 address on eth1. i tried ipv4 is working but ipv6 doesn't. if yes then how. If not then what should i do. Because i want ...
singh's user avatar
  • 27
9 votes
1 answer
19k views

how to set default gateway in dhcpd6.conf

IPv6 dhcp server would like to set default gateway for all clients. For ipv4 it can done by adding option routers <gateway-addr> inside subnet. But what needs to be added for ipv6 configuration?
Kumar's user avatar
  • 307
0 votes
1 answer
94 views

Can DHCP server launch external application after it leases address to new network device?

I want to launch an app each time new device appears on network. Do options like that exist in dhcp servers? Or what are the possible hacks to do it anyways?
ZuOverture's user avatar
1 vote
2 answers
5k views

DHCP is not working

I am using 14.04 and installed isc-dhcp-server in my Ubuntu. Here is my DHCP configuration: INTERFACES="eth0" allow booting; allow bootp; subnet 192.168.1.0 netmask 255.255.255.0 { range ...
ashok's user avatar
  • 271
0 votes
2 answers
1k views

Unable to set up DHCP and TFTP

I want to transfer my kernel image to beaglebone black, and the guide mentions that I should have already set up DHCP and tftp on the host machine. I have set up the TFTP using: sudo apt-get install ...
Haswell's user avatar
  • 101
10 votes
9 answers
103k views

DHCP server won't start. Gives 'Not configured to listen on any interfaces!' even when configured

I have just setup isc-dhcp on my server. I even setup the correct interface. But still the dhcp server won't boot. Its says Not configured to listen on any interfaces! in the syslog. And when I try ...
THpubs's user avatar
  • 2,805
3 votes
2 answers
17k views

apt-get remove does not remove

After I install, then remove a package, the application is still present: $ sudo apt-get install dhcp3-server Reading package lists... Done Building dependency tree Reading state information.....
Gauthier's user avatar
  • 2,727
-2 votes
1 answer
10k views

isc-dhcp-server can't start

i installed dhcp3-server , now i want to start its service and it said : [FAIL] Starting ISC DHCP server: dhcpd[....] check syslog for diagnostics. ... failed! failed! i check ps aux | grep dhcp ...
Bahram's user avatar
  • 73
-2 votes
1 answer
1k views

DHCP3-server not working correctly

I installed dhcpe-server with apt-get install dhcp3-server, and I want to configure it on terminal. When i type dhcp i just see these : dhclient dhclient-script dhcpd dhcpx I tried to start its ...
Bahram's user avatar
  • 73
0 votes
1 answer
1k views

Deleting expired IP-Addresses

I am testing Ubuntu 12.10 DHCP server, it's working fine, but I need to delete all IP-Addresses which have been give from the DHCP-pool, as I would like to start fresh before I clone the server to ...
madona33's user avatar
8 votes
1 answer
21k views

domain name in dhcp

I want to configure DHCP on 14.04. So I downloaded isc-dhcp-server from the repository. In configuration file I see these two line which are not commented. What is the usage/purpose of the ...
Mohammad Reza Rezwani's user avatar
6 votes
1 answer
26k views

Getting WiFi AP working with hostapd and isc-dhcp-server [Xubuntu 14.04]

I have tried using ap-hotspot from WebUpd8, and it did not work for me in 13.10 or 14.04, so I have been working on getting hostapd manually set up, using isc-dhcp-server since dnsmasq was having ...
Cyndre's user avatar
  • 61