Skip to main content

Questions tagged [isc-dhcpd]

Questions concerning the software from the Internet Systems Consortium for setting up a server implementing the DHCP protocol that enables hosts on an IP network to be automatically assigned a unique address and additionally have information about the network delivered to them.

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

ISC Kea equivalent of ISC DHCPD "group" statement

With ISC DHCP (which is EOL) I used to group hosts with the group statement. It was useful to, for example, change a BOOTP filename for all of them at once, or set some parameters for testing. ...
Kamil's user avatar
  • 1,491
0 votes
0 answers
25 views

ISC DHCP 4.4 server giving out leases, but no entries in leases file - where are they?

Running ISC DHCP Server 4.4. (I know, I know, it's EOL...there was a very good reason I uninstalled Kea-DHCP-Server and decided to go with it's predecessor ISC-DHCP-Server...though I can't recall what ...
skeetastax's user avatar
0 votes
1 answer
37 views

Debian Bookworm (SysV init): ISC dhcpd hangs during boot

I have a VM that is acting as a DC for a Windows VM, however, due to some shenanigans that systemd had been playing repeatedly (the boot process would hang inexplicably with the CPU load going ...
Robidu's user avatar
  • 103
0 votes
1 answer
26 views

cant start dhcp server

Using debian, and installed isc-dhcp-server via the following command sudo apt -y install isc-dhcp-server After agreeing to any dependencies, the follow error message was thrown Job for isc-dhcp-...
IvanP's user avatar
  • 1
2 votes
2 answers
376 views

How do i start kea-dhcp server with multiple interfaces when first interface in the "interface" list is down

I am very new to kea-dhcp. I am trying to use kea-dhcp 2.0.1 version. below is my interface configuration mentioned in "dhcp.conf" "Dhcp4": { "interfaces-config": { ...
Pranathi's user avatar
0 votes
1 answer
97 views

DHCPd receives a wrong MAC-address from VirtualBox Guest

I have VM which is working with "Host-Only Adapter". I disabled VirtualBox's built-in DHCP-server. I've installed isc-dhcp-server on my hypervisor. Then I added the subnet subnet 10.10.54.0 ...
Semyon Bayandin's user avatar
-1 votes
1 answer
885 views

How do I use multiple interfaces, with some of them on the same subnets in kea?

I'm currently building a homebrew router, with some changes from my previous builds for more flexibility. I'm running an ubuntu server minimal base, network interfaces managed by netplan ,firewalld ...
Journeyman Geek's user avatar
0 votes
0 answers
16 views

Override ISC DHCP's `option routers` with the absence of that option? [duplicate]

I was thinking I'd rather not assign my TV a default gateway, and since I use ISC DHCP 4.4 I tried to override the general subnet configuration with a host specific configuration, like this: host ...
Andreas's user avatar
  • 521
2 votes
1 answer
143 views

how to extract option 43 from systemd-networkd's dhcp client?

Just like how dhclient captures dhcp response and stores it in env, is there a way to capture information like option 43 from systemd-networkd's DHCP client and store it in env ? I have proxy URL ...
kpn's user avatar
  • 21
0 votes
2 answers
176 views

How to "predict" a DHCP IP address?

Before launching a VM from my script, I need to figure out which IP address it will get. So I did: dhclient <interface> And this works, because dhclient uses the MAC address from the macvtap ...
Maestro's user avatar
  • 191
0 votes
0 answers
1k views

NetworkManager to use dhclient to reserve and set IP for wlan intf

I want to reserve and get assigned an pre-defined IP address for wlan0 interface on my client. I have set: # cat /etc/NetworkManager/conf.d/dhcp-client.conf: [main] dhcp=dhclient # cat /etc/dhcp/...
greengold's user avatar
  • 113
0 votes
1 answer
206 views

Maximum number of static leases I can define in isc-dhcp server

I am trying to figure out the max number of leases I can define in dhcpd.leases file for the DHCP server. Does anyone know how many max can it support? Thanks
rashi's user avatar
  • 5
1 vote
1 answer
282 views

Is there an example dhcpd.conf that contains an example for each option?

OS: Debian 11 I'm attempting to create an example isc dhcpd.conf which has an entry for each option. So far I've managed to find about 30 options to include but I can't find the other ~160. I looked ...
Wilhelm de Fheur Gorm's user avatar
0 votes
0 answers
284 views

Ubuntu 22.04 dhcpd restart on docking station interface reconnect

I have setup on my desk, where Ethernet connected device is plugged into port of my USB-C docking station (same that powers the notebook). I've configured isc-dhcpd to work on enx3ce1a14ec0bd ...
Michał F's user avatar
  • 291
0 votes
1 answer
24 views

dhcpd snap-in directory not found

I am running dhcpd on Linux system all the subnets information, reservations n all are written in dhcpd.conf sometimes we need to make client system's IP static and it will become very difficult to ...
csx4's user avatar
  • 371
2 votes
0 answers
16 views

NICs, DHCP and IP addresses

I am the sysadmin in a small company, where we build a lot of PC-/workstation type of computers. They usually come with several LAN ports as well as WIFI on the motherboard, and because the machines ...
j4nd3r53n's user avatar
  • 717
1 vote
0 answers
1k views

Debian with SLAAC does not get DNS via DHCPv6

I have two Debian Bullseye containers, one acting as a router. The client gets the router advertisement ant autocinfigures its IPv6 address correctly but it doesn't set the DNS server addresses that ...
Bemascu's user avatar
  • 11
0 votes
1 answer
2k views

ISC-DHCP server assigning two IP addresses to the same interface?

I have ISC DHCP server on a RaspberryPi (called VPNbridge) with two Ethernet devices. One is ordinary (internal) Ethernet device (eth0), the other is USB-to-Ethernet device (eth1) to which I have ...
Matthai's user avatar
  • 75
0 votes
2 answers
3k views

How to bridge ethernet interface running dhcp server

A workstation has eth0 interface running as a dhcp server with the following settings auto eth0 iface eth0 inet static network 10.0.0.0 address 10.0.0.1 netmask 255.0.0.0 gateway 10.0.0.1 ...
netrunner's user avatar
  • 135
1 vote
2 answers
746 views

How to override isc-dhcpd option in child group, to hide default gateway

Given the below configuration, how can I undo the routers option for the inner group so that certain machines don't get told what the default gateway is from the outer group? group { # A bunch of ...
Malvineous's user avatar
  • 6,993
-1 votes
1 answer
129 views

How to turn a pi into a router? [closed]

How do you use a raspberry pi as a router for a local network (LAN)? Changed /etc/network/interfaces into interfaces="eth0" I installed isc-dhcp-server and configured it like so default-...
netrunner's user avatar
  • 135
1 vote
0 answers
276 views

Is it possible to configure IPv6 addresses for ISC DHCPv4 HA failover addresses?

The documentation for ISC's dhcpd.conf has the example (truncated for brevity): failover peer "foo" { primary; address anthrax.rc.example.com; port 519; peer address trantor.rc....
vpseg's user avatar
  • 13
0 votes
1 answer
740 views

ifupdown change parameters dhclient

I have Ubuntu 20.04 where I gave all network functions to ifupdown. 1 of my interface got network parameters by dhclient: #/etc/network/interfaces allow-hotplug enp2s0 auto enp2s0 iface enp2s0 inet ...
KonstantinKuklin's user avatar
1 vote
1 answer
1k views

Conditional evaluation with unnamed option ISC DHCPD

I would like to know how one properly checks for unnamed dhcp options. This link for configuring UEFI is where I got the inspiration. However, I'm completely lost because not even the latest ISC DHCP ...
Andrew Falanga's user avatar
0 votes
1 answer
186 views

FreeBSD dhclient don't parse bootp-broadcast-always

So, despite the fact that it's listen in the official documentation, the dhclient binary shipped with FreeBSD 12 does not support "bootp-broadcast-always". I'm trying to include this option ...
ricky's user avatar
  • 11
1 vote
0 answers
193 views

ISC-DHCP-SERVER Warnings

I have a ubuntu server 18.04 configured with two bonded gigabit ethernet NICs. Upon restarting the DHCP server I noticed the following error/warning. The server starts fine and the bonded link is up, ...
Chris Pavey's user avatar
0 votes
1 answer
942 views

VirtualBox VM PXE boot install fails with err:3c092003

I am using VirtualBox and have two VMs VM A: NAT networking adapter Host-only networking adapter Internal Network adapter (network is called "test") and VM B: Internal Network adapter (...
festiv's user avatar
  • 123
0 votes
1 answer
927 views

isc-dhcp 4.2.5 -- does it have support of dhcp-client-identifier and vendor-class-identifier?

I have isc-dhcp-4.2.5 server and client installed on two CentOS-7.4 boxes. I know this is quite old distro, but I can't change it for various reasons. Dhcp server configuration: option domain-name &...
Mark's user avatar
  • 1,823
0 votes
1 answer
281 views

detect if DHCPOFFER has been received

The Linux box with DHCP client does not know beforehand if it is connected to access or trunk port, so it has to determine it somehow. So I'm thinking of the following: have the box send a ...
Mark's user avatar
  • 1,823
0 votes
3 answers
952 views

isc-dhcp-server and pihole

I have two single board computers in my local network (Pine64 and nanoPI), which I use for various purposes. The latest thing I wanted to do with them is to have failover DHCP and DNS for my local ...
nobody's user avatar
  • 1,740
0 votes
1 answer
2k views

Why I can't connect to evil AP, created by a fluxion in non-Kali Linux distributive?

I cloned fluxion with a following command: git clone https://github.com/FluxionNetwork/fluxion --recursive I added the Kali Linux repositories to my distribution, installed all the necessary programs (...
Alex A.'s user avatar
  • 183
1 vote
1 answer
619 views

Issues converting docker run command to a docker-compose.yml config

I am trying to set up dhcpd in a docker image for my home network. I have cloned this repository, and had it working fine with my dhcpd.conf To run it, I have to execute this command using docker run: ...
JoSSte's user avatar
  • 195
1 vote
1 answer
21k views

Once again: Failed to start LSB: DHCP server

i want to create something like this with my raspberry. ↑ │ Uplink │ ┌────────────┴────────────┐ │ wlan0 │ ...
Mugel2110's user avatar
0 votes
5 answers
176 views

SED/AWK/BASH expand alphanumeric delimited fields with '0' padding

I need help with a regular expression to expand any 1 character field to 2 characters with 0 padding. 0-9, a-f alphanumeric field. Given: echo $dhcp6_s46_cont_mapt 0:5b:0:9:40:0:64:ff:9b:0:1:0:3:0:59:...
R. Gulde's user avatar
4 votes
1 answer
3k views

ISC DHCP dhclient: How to supersede DNS name servers with IPv4 and IPv6 addresses?

I want tp supersede the name server information, which I get from the DHCP server with my own configuration. Therefor I'm using the following option in my /etc/dhcp/dhclient.conf: supersede domain-...
manifestor's user avatar
  • 2,483
0 votes
1 answer
328 views

set the router's static mac address via isc-dhcp-server

Is it possible to set an ip with its relative mac address so that the clients (during the DHCP request) in addition to receiving the various data, will also directly receive the mac address of the ...
vincenzogianfelice's user avatar
2 votes
0 answers
174 views

dhcrelay problem?

dhcpd reply not getting to final client. Background: House network: 107.nn.164.89 - to internet 192.168.100.0/24 - house local lan1 192.168.1.254/30 - gateway to mancave Mancave: 192.168.1.253/...
ctclibby's user avatar
1 vote
1 answer
864 views

egrep, sed or awk to get the number of active dhcp leases?

Let's say I have the following dhcpd.leases file: # The format of this file is documented in the dhcpd.leases(5) manual page. # This lease file was written by isc-dhcp-4.3.6-P1 # authoring-byte-...
dan's user avatar
  • 121
0 votes
2 answers
525 views

Where is DHCP data stored on OpenBSD?

I'm currently testing with some DHCP and I'm wondering how I can verify if options like "option host-name" or "option domain-name-servers" really worked on the client machine (OBSD 6.6). Where does it ...
N1l0c's user avatar
  • 1
0 votes
0 answers
2k views

Can't Enable isc-dhcp-server on boot

I've installed DHCP Server on Proxmox/Debian and did the required configuration for it to be ready for use. However when I run the command root@debian:~# systemctl enable isc-dhcp-server isc-dhcp-...
David Buik's user avatar
5 votes
1 answer
9k views

How to declare fixed addresses for each subnet in isc-dhcp-server?

On Ubuntu, I've written some host declaration in each subnet with isc-dhcp-server, and each fixed address for each network interface are successfully leased. There are plugged two network cards on ...
jumeno's user avatar
  • 53
4 votes
1 answer
8k views

Disabling automatic default route from dhcp server

Hi I'm trying to configure my Raspberry PI to work as a dhcp server. Idea is that through eth0 interface I will connect switch, to which I can connect other devices. But I still want to keep ssh and ...
kobra's user avatar
  • 143
0 votes
0 answers
85 views

Keeping isc-dhcp-server running even if there's no subnet

I use isc-dhcp-server to provide IP addresses to some instruments that connect intermittently via a USB-to-Ethernet adapter, addresses in the 192.168.1.0/24 range. If the adapter is not connected when ...
dargaud's user avatar
  • 565
2 votes
0 answers
2k views

Can't setup isc-dhcp-server in Windows 10 subsytem running Debian

I am trying to setup a DHCP server in Windows subsystem for Linux running Debian. I have followed this guide as I am still quite new to the Linux scene. Although I did change some values in the dhcpd....
uptivuptiz's user avatar
0 votes
1 answer
595 views

Can a dhcp client select its server? How?

We have a bunch of IOT gadgets which will share cabling with a customer's regular LAN. We would like them to be logically separate. Let's say the regular LAN uses 198.162.x.x, and we want to use 10.10....
user avatar
0 votes
1 answer
167 views

Dhcp leases starting point

I have a linux server which acts as a dhcp server. Dhcp lasse range is 10.15.0.50 - 10.15.255.250. The first ip it leased is 10.15.80.10 Is there any specific reason for this? It keeps leasing ips ...
user19215's user avatar
  • 111
3 votes
1 answer
1k views

DHCP-PD on wan side with Stateful DHCPv6 assigned globally routable ips on lan side. Need to dynamically configure DHCPv6 on lan side

Context I'm currently neck deep in building an internet gateway out of an old fanless, headless Intel Atom/ITX computer I had laying around. These are my requirements: have an ipv4 and ipv6 ip ...
Cliff Armstrong's user avatar
0 votes
1 answer
2k views

DHCPD with two different ranges

I have set up a DHCPD service on a Linux server, which shall provide fixed public IP addresses for cable modem devices based on MAC addresses. Here is the configuration file of the DHCPD. The server'...
vega's user avatar
  • 25
0 votes
1 answer
85 views

dhcp/named client identification issue

I am running CentoS 7.6 which has been configured as DNS server (via named) and a DHCP server. In DHCP I have configured dynamic updates to my DNS zone such that new client leases will result in ...
Aditya K's user avatar
  • 2,140
0 votes
0 answers
52 views

how to create dhcp server master

i want to create a seprate dhcp server that all other servers whose proxmox has been installed on them, get static IP address by dchp server through MAC Address of virtual machines(proxmox servers)
Chavoshipor's user avatar