Questions tagged [dhcpd]

78 questions
18
votes
6 answers

DHCPDISCOVER/DHCPOFFER, but no DHCPACK

I have a remote client machine that is sending out DHCPDISCOVER's. The server is responding with a DHCPOFFER, but there is no DHCPACK. This repeats about every 30 seconds from the same host. Is there something I can do remotely or do I need to get…
hookenz
  • 14,132
  • 22
  • 86
  • 142
11
votes
4 answers

How can I assign an IP by MAC address in dhcpd

How do I assign an IP address specific to a mac address using dhcpd? So far I have tried host blah { hardware ethernet ; fixed-address ;} in my dhcpd.conf. But after restarting dhcpd and the machine with the mac address in…
adampolar
  • 113
  • 1
  • 1
  • 4
8
votes
2 answers

DDNS, BIND and leftover .jnl files

I have configured BIND and ISC DHCPD to work together (using keys for updates). Now it's not that it does not work at all: forward maps etc are most often added. However, very often, for no apparent reason the .jnl file (journal) for the zone is…
LetMeSOThat4U
  • 1,159
  • 2
  • 14
  • 29
5
votes
1 answer

How do I assign hosts to classes in ISC DHCPD?

Suppose I have a bunch of hosts set up like this: host host2 { hardware ethernet 10:bf:48:xx:xx:xx; fixed-address 192.168.1.2; } host host3 { hardware ethernet 10:bf:48:xx:xx:xx; fixed-address 192.168.1.3; } # etc ... subnet 192.168.1.0 netmask…
hookenz
  • 14,132
  • 22
  • 86
  • 142
4
votes
2 answers

WiFi access point without internet access - iOS devices disconnect

I'm trying to configure a WiFi access point to offer a web service on the local network, without offering clients internet access. The web server has a fixed IP address (let's say 192.168.2.2) and for user friendliness a local dns server assigns it…
Tim Raasveld
  • 41
  • 1
  • 2
4
votes
1 answer

Assigning option based on class membership inside the subnet section

We are looking for a way to do something along these lines in the dhcpd.conf file: subnet ... { #couple of options for the subnet here pool { allow members of "class-name1"; allow members of "class-name2"; range ip1…
Andrei
  • 91
  • 3
3
votes
1 answer

Edgerouter DNSmasq send updates to BIND

TL;DR: How do I configure the Ubiquiti EdgeRouter, running DNSmasq or DHCPd, and NSupdate, to send its DHCP leases to a central BIND server? I have a system comprised of a few Ubiquiti EdgeRouter X's all acting as DHCP and DNS servers for a local…
enpaul
  • 202
  • 2
  • 13
3
votes
1 answer

2 client classes sharing the same subnet range

basically I would like to achieve the followings: using only one subnet different types of user sharing this subnets creating 2 pools accordingly an user class called "l2vpn_user" if matched by MAC address then will be assign a different…
Simon Lin
  • 31
  • 1
3
votes
1 answer

Cleanup DHCPD leases as well as DDNS Entries

I have a fairly simple set up on a Debian server I'm running. I currently have isc-dhcp-server installed along with bind9. I set up my zone and my reverse lookup zones and set up dynamic updates, it's all working as expected. My problem is that…
3
votes
4 answers

Fixed dhcp host to automatically expire any lease

I have the following situation: Multiple offices with multiple firewall/dhcp servers. Every time the IT team of some office plugs a new network printer i need to create a fixed-address entry, and delete the lease that this printer already got before…
user122772
3
votes
1 answer

How can I configure dhcpd to only update the reverse zone in bind?

I've got dhcpd pushing updates to bind, and it seems to be working fine: named[24161]: client 192.168.10.1#59141: signer "dhcp_updater" approved named[24161]: client 192.168.10.1#59141: updating zone 'office.lan/IN': adding an RR at…
ndbroadbent
  • 276
  • 2
  • 11
3
votes
1 answer

Cannot assign IP address according to an option parameter

I have this DHCP conf file: authoritative; option domain-name "XXX.XXX.XX"; allow bootp; ddns-update-style ad-hoc; class "karpuz-kabugu" { match if (substring (option user-class, 0, 6) = "karpuz"); log (info, "karpuz-kabugu"); } …
Alptugay
  • 211
  • 3
  • 8
3
votes
2 answers

Is is possible to configure ISC's DHCPD to configure resolv.conf options like timeout and attempts?

The resolv.conf supports a line called options that allows for some fine tuning of the behavior of the resolver. In my environment we are using ISC's DHCPD to provide DHCP services to our services. Currently I can set the search and nameserver…
spkane
  • 191
  • 2
  • 6
2
votes
0 answers

Weird answer of linux DHCP server to gratitious ARP causes DHCP failure

This is a problem, that I ran into recently on a quite heavily configured linux server. This machine runs Samba as an Active Directory Domain Controller, a mail server, a web server, two virtual machines (using KVM/QEMU, and connecting one of their…
Kai Petzke
  • 378
  • 1
  • 3
  • 10
2
votes
2 answers

Multiple IPv6 routers on the same network

I have two ISPs for my home network. They are connected to two separate routers. If I run radvd and dhcpd on both routers at the same time, I get no IPv6 connectivity. My IPv6 connectivity only works if only one of the routers is running radvd and…
Fufu Fang
  • 23
  • 1
  • 3
1
2 3 4 5 6