Questions tagged [dhcpd]

78 questions
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…
Vovan
  • 113
  • 1
  • 4
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
  • 10
  • 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
  • 462
  • 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
  • 665
  • 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

DHCPv6 fixed assigment

Trying to assign fixed ipv6 addresses to my coreos master and worker nodes from my Centos in order to have dual stack running on the cluster. However I am having a hard time getting it to assign the fixed ip addresses that I am hard-coding in the…
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
  • 1
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…
1
vote
3 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
  • 3
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…
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
  • 175
  • 1
  • 1
  • 6
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
  • 9,973
  • 37
  • 104
  • 160
0
votes
1 answer

How can I configure DHCP server to issue the same fixed-address by matching with the client identifier in the discover message

I am able to config fixed ip address with hardware ethernet options, but i am trying to assign fixed ip based on client id(option 61) from DISCOVER message. I tried with below configs , but it doesn't help. host virtual_1 { …
user1290
  • 11
  • 3