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
1 answer
27 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
196 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
  • 511
2 votes
1 answer
99 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
136 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
  • 189
0 votes
0 answers
506 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
0 answers
265 views

isc-dhcp-relay dhcrelay[1019]: Discarding packet received on ens37 interface that has no IPv4 Address

I have a topology that runs a DHCP Server, Relay, and Client. im using isc-dhcp-server & isc-dhcp-relay. Im using Debian 11 Bullseye on every server, I configure the service on each server. But ...
LM.'s user avatar
  • 3
0 votes
1 answer
107 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
0 votes
1 answer
185 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
190 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
  • 271
0 votes
1 answer
16 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
  • 331
2 votes
0 answers
15 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
  • 591
1 vote
0 answers
901 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
1k 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
  • 35
0 votes
2 answers
2k 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
1 vote
2 answers
511 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,653
-1 votes
1 answer
115 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
1 vote
0 answers
231 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
582 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
725 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
158 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
181 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
747 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
745 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,783
0 votes
1 answer
248 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,783
0 votes
3 answers
820 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,660
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
  • 173
0 votes
1 answer
522 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
  • 163
1 vote
1 answer
19k 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
165 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
2k 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,443
0 votes
1 answer
285 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
153 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
745 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
  • 111
0 votes
2 answers
385 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
6k 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
7k 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
79 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
  • 555
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
450 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....
MickeyfAgain_BeforeExitOfSO's user avatar
0 votes
1 answer
152 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
53 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,010
0 votes
0 answers
49 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
3 votes
1 answer
7k views

PXE Boot: "Failed to load ldlinux.c32"

I'm trying to create a PXE server on my raspberry pi, but if I try to boot, the client shows the Error "Failed to load ldlinux.c32". This is my folder structure of the tftp folder: Here is my ...
Isti's user avatar
  • 31
0 votes
1 answer
3k views

dhclient is not getting an lease / ip address from dhcp - but windows gets one

How could it be that I get easily an ip address with Windows 10 network manager and not with simple Linux QNAP NAS System? And not working situation. I tried to renew the ip address manually. [...
Patrick's user avatar
  • 143
0 votes
1 answer
1k views

Does netmask and option subnet-mask have to be equal on a dhcpd.conf definition?

Using linux servers on a dhcpd.conf file I can make a definition of ip ranges that the server will assign to host computers on the internal net: subnet 10.0.0.1 netmask 255.255.255.0 { range 10.0.0....
Antonio E.'s user avatar
0 votes
0 answers
239 views

How to get DHCP info from DHCP Client to DHCP Server

I have a firewall with an Internet-facing ethernet, and a home LAN facing ethernet. The Internet-facing interface acquires DNS server ip addresses from the ISP's DHCP server. I would like to propagate ...
Rod Nussbaumer's user avatar