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)

The dhcpd service acts as a DHCP server for clients.

Clients may solicit an IP address (IP) from a DHCP server when they need one. The DHCP server then offers the "lease" of an IP address to the client, which the client is free to request or ignore. If the client requests it and the server acknowledges it, then the client is permitted to use that IP address for the "lease time" specified by the server. At some point before the lease expires, the client must re-request the same IP address if it wishes to continue to use it.

Source

73 questions
14
votes
2 answers

Switching a server to static IP from DHCP

I am running an Ubuntu 10.04 server installation and I recently had to switch it from DHCP to static ip. I edited /etc/network/interfaces file and switched iface eth0 inet dhcp to iface eth0 inet static address 192.168.1.167 netmask…
Enekk
  • 141
11
votes
3 answers

dhcpd fails to start on eth1

I'm having trouble configuring and starting ISC DHCP server on my machine. I'm running Ubuntu 11.10 desktop edition. I installed ISC DHCP by running $ sudo apt-get install dhcp3-server My machine has two NICs: eth0, which is connected to a router…
Vivek
  • 113
11
votes
9 answers

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 dhcpd -t /etc/dhcp/dhcpd.conf it gives this error :…
THpubs
  • 2,815
11
votes
3 answers

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: enp1s0f0: optional: false …
detly
  • 3,472
9
votes
1 answer

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 inside subnet. But what needs to be added for ipv6 configuration?
Kumar
  • 307
8
votes
1 answer

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 to do this?
Thomas Ward
  • 78,878
8
votes
1 answer

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 following configuration directives? option domain-name…
8
votes
1 answer

How to reserve IP Address in DHCP Server

I install DHCP Server with https://help.ubuntu.com/lts/serverguide/dhcp.html but I need to make reserve IP addresses for specific machine (192.168.1.XXX) and further to assign a name to each machine (machine 1 machine 2 machine 3). My configuration…
JHOSMAN
  • 143
6
votes
5 answers

DHCP-server doesn't start at boot because of wrong startup order

Apparently the isc-dhcp-server is started too early in the boot sequence, it states that it has nothing to do. If I just log directly in as root and start it using the init.d-script, it starts normally. My setup is basically an utterly standard…
stolsvik
  • 385
6
votes
1 answer

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 conflicts for me. I have been able to connect to the…
Cyndre
  • 61
  • 1
  • 1
  • 3
5
votes
2 answers

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 tutorial would be much appreciated as I am a…
annabelle1301
  • 59
  • 1
  • 1
  • 2
5
votes
2 answers

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 command sudo service isc-dhcp-server stop seems don't…
minto
  • 831
5
votes
3 answers

DHCP server doesn't start

I installed dhcp3-server in ubuntu server 11.04 apt-get install dhcp3-server However, an error message during installation: Traitement des actions différées (« triggers ») pour « man-db »... Traitement des actions différées (« triggers ») pour…
5
votes
2 answers

How to install dhcpd3?

As I recall, there used to be this DHCP server called dhcpd3 However, under ubuntu, I am not entirely sure where to obtain or how to install it. The following command doesn't seem to locate the package. apt-get install dhcpd3 Reading package…
Antony
  • 358
5
votes
0 answers

How to stop dhcpd?

I am trying to stop the dhcpd service, but whenever I stop it, it restarts again immediately. $ ps aux | grep dhcp dhcpd 7116 0.0 0.1 19672 6604 ? Ss 16:33 0:00 dhcpd -user dhcpd -group dhcpd -f -q -4 -pf…
Gray
  • 187
1
2 3 4 5