Questions tagged [dhcpd]
81 questions
1
vote
1 answer
DHCP with fixed IP hosts (Ubuntu)
I'm managing an office system that assigns IPs based on the MAC address. The fixed hosts are added in a dhcpd-hosts.conf file which is included in dhcpd.conf. There are some PCs that are not in the system and they get dynamic IPs. Most of the PCs…

m1r0
- 113
- 1
- 6
1
vote
2 answers
How can I assign an IP by UID in DHCPd
Here was answered how to assign an IP by MAC address.
I want DHCPd server to assign IP by UID.
Can i just add record to dhcpd.conf in the same manner?
For example:
host example
{
uid 00:70:ff:13:2f:34:30;
fixed-address…

Vololodymyr
- 113
- 1
- 5
1
vote
2 answers
Linux dhcpd server with multiple scopes to assign IP based on request source
I have configured a Linux dhcpd server with multiple scopes on the same interface(eth0). The devices which needs these IP address(DHCP clients) are on two different remote networks. The networking team has completed all the configuration including…

Debianuser
- 421
- 4
- 12
- 29
1
vote
3 answers
dhcpd not pushing ddns updates to bind
BIND and DHCPD are configured but as far as I can tell DHCPD makes no attempt to even send Dynamic DNS update to BIND. I can manually add records using nsupdate with the same key I have configured DHCPD to use.
Server:
eth0: 10.0.0.1 static (BIND…

Lukasz
- 472
- 2
- 10
- 18
1
vote
1 answer
dhcpd update bind dns server on non standard port
I have most of a dynamic dns set up working. I can manually update the DNS entries using nsupdate and my dhcpd.conf file will attempt to set the DNS entries.
However this fails as I don't have bind running on a standard port, I have unbound running…

Jeremy French
- 675
- 3
- 12
- 25
1
vote
1 answer
how to force isc-dhcp-server to attribute new ip regardless of client mac address?
i need to serve DHCP requests for a given test tool tailored for a specific network hardware (hardware under test).
The testing tool (my server + simple netgear 5ports switch) seems to work as long as you pass one device at a time. When you start…

Alex
- 11
- 1
- 3
1
vote
1 answer
Forcing static IP on libvirt
I've seen this question and others online, yet my problem persists.
I have a gentoo host with the following interface:
virbr0: flags=4163 mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast…

vesperto
- 200
- 2
- 8
1
vote
0 answers
What is the exact meaning of "On Commit" in ISC DHCP server configuration?
I know there are three kinds of events we can use for scripting in ISC dhcpd -- commit, expire and lease. My problem is, I am having a little problem in understanding the "commit" event. I know "commit" event means when the server has made a…

Elon20
- 11
- 2
1
vote
0 answers
How to set up dynamic DNS for 'host' in isc dhcpd
I have set up a couple of subnets in my network, and in one of these subnets I'm setting up hosts like this:
subnet 10.0.0.0 netmask 255.255.255.0 {
option ntp-servers 10.0.0.1;
option time-servers 10.0.0.1;
authoritative;
allow…

Henk van den Toorn
- 11
- 1
1
vote
4 answers
isc-dhcp-server: Using option dhcp-client-identifier in host declaration to identify a client
I'm using isc-dhcp-server version 4.3 (isc-dhcpd-4.3.5) as a DHCP server for my local IPv4 LAN and I'm trying to configure it to use the option dhcp-client-identifier (DHCP option 61) in a host declaration in order to identify a DHCP client:
host…

Tomek
- 111
- 1
- 4
0
votes
1 answer
Replay DHCPDECLINE to host by edit ethernet address in dhcpd
I known in dhcpd.conf, I can use following config to assigned a fixed ipv4 address to a client.
host h1{
hardware ethernet 11:22:33:44:55:66;
fixed-address 192.0.2.2;
}
range 192.0.2.100 192.0.2.199;
But what should I do if I just…

qin
- 171
- 1
- 4
0
votes
0 answers
Dhcpd won't start due to selinux
have searched tirelessly and can't find an answer to this thats not confusing. I have a clean install of centos 6.2 32bit on a machine I use as a router. with selinux enabled dhcpd refuses to start with the error it can't chown the leases file. I…

Jacqueline Loriault
- 166
- 1
- 7
0
votes
0 answers
Force dhclient to always provide a unique IP from the available pool
I'm running RHEL 7.4 and the dhcpd is controlled by DD-WRT off my router.
Tried to use:
dhclient -r; dhclient -x; rm -f /var/lib/dhclient.leases; ip a; dhclient -v
but it either returns the same IP or one of two IP's. I couldn't get it to return…

xBlender
- 1
- 2
0
votes
0 answers
CentOS 7 DHCP server, get IP but cannot ping server or client
I'm trying to create a nat, however, before I can get that far I need to network two PCs via ethernet.
The server looks like this:
1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback…

Tom B
- 185
- 1
- 1
- 8
0
votes
1 answer
Exclude subnets from distribution?
In Windows' DHCP server it is possible to exclude an entire subnet from being given out to clients which doesn't have a reservation. They call this "IP addresses excluded from distribution".
Now I would like to do the same on Linux' DHCPD. So I have…

Sandra
- 10,303
- 38
- 112
- 165