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
2 answers
24 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 ...
user avatar
0 votes
1 answer
18 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 ...
user avatar
  • 5,916
-1 votes
1 answer
54 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-...
user avatar
1 vote
0 answers
28 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....
user avatar
  • 11
0 votes
1 answer
44 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 ...
user avatar
1 vote
1 answer
33 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 ...
user avatar
-1 votes
1 answer
51 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 ...
user avatar
  • 1
1 vote
0 answers
76 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, ...
user avatar
0 votes
1 answer
180 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 (...
user avatar
  • 123
0 votes
0 answers
202 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 &...
user avatar
  • 1,451
0 votes
0 answers
51 views

isc-dhcp: read vendor encapsulated option with dhclient.script

I have isc-dhcpd-4.2.5 server and client installed. I configured the server to transmit a vendor encapsulated option according to https://linux.die.net/man/5/dhcp-options, I defined the option space ...
user avatar
  • 1,451
0 votes
1 answer
50 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 ...
user avatar
  • 1,451
0 votes
3 answers
330 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 ...
user avatar
  • 1,286
0 votes
1 answer
604 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 (...
user avatar
  • 143
0 votes
1 answer
159 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: ...
user avatar
  • 125
0 votes
1 answer
9k views

Once again: Failed to start LSB: DHCP server

i want to create something like this with my raspberry. ↑ │ Uplink │ ┌────────────┴────────────┐ │ wlan0 │ ...
user avatar
0 votes
5 answers
114 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:...
user avatar
3 votes
1 answer
959 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-...
user avatar
  • 2,301
0 votes
1 answer
163 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 ...
user avatar
2 votes
0 answers
90 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/...
user avatar
1 vote
1 answer
364 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-...
user avatar
  • 111
0 votes
2 answers
154 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 ...
user avatar
  • 1
0 votes
0 answers
1k 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-...
user avatar
3 votes
1 answer
3k 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 ...
user avatar
  • 33
3 votes
1 answer
4k 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 ...
user avatar
  • 133
0 votes
0 answers
47 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 ...
user avatar
  • 585
2 votes
0 answers
1k 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....
user avatar
0 votes
1 answer
180 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
83 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 ...
user avatar
  • 111
1 vote
1 answer
776 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 ...
user avatar
0 votes
1 answer
956 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'...
user avatar
  • 25
0 votes
1 answer
40 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 ...
user avatar
  • 1,477
0 votes
0 answers
39 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)
user avatar
2 votes
1 answer
4k 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 ...
user avatar
  • 21
0 votes
1 answer
2k 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. [...
user avatar
  • 143
0 votes
1 answer
751 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....
user avatar
0 votes
0 answers
140 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 ...
user avatar
1 vote
0 answers
150 views

How to override DHCP client identifier

I'm running a DHCP/DNS server with dynamic DNS on Debian 9 (Stretch) How do I override a clients DHCP identifier and place in my own custom value? E.g Android phones on the network identify ...
user avatar
  • 1,477
1 vote
0 answers
472 views

Beaglebone Debian/Wheezy. Static IP address some times is changed

I have Beaglebone Black with installation of Debian 7.11 Wheezy I have network which is created from Beaglebone and the Beaglebone IP address is set to be static: 192.168.20.1 This is my /etc/...
user avatar
1 vote
1 answer
3k views

Configuring netplan on ubuntu 18 properly

I am trying to configure the wifi and ethernet ports on a linux box in a non-standard way. I have never touched this kind of stuff before, so please excuse my naivety. I have basically just YOLO'd my ...
user avatar
  • 113
1 vote
1 answer
5k views

Add static route to one specific address to dhcpd.conf

I want to add a static route to 10.13.0.1/32 via 192.168.178.10 to my dhcpd.conf of my dhcpd server. Unfortunately this seems to be insanely complicated. I tried the following: option static-routes ...
user avatar
3 votes
2 answers
510 views

Is there a command to insert a mac address into a subnet in dhcpd.conf file?

I am looking for a command that allows me to insert an host inside the dhcpd.conf file without manualy touching that file. I am using: CentOS release 5.3. The file looks like this: subnet 97.129.0....
user avatar
1 vote
0 answers
1k views

Dynamic and Static Leases on ISC DHCP

I'm running ISC DHCPd on Raspbian. I want to set up my server so that all addresses in 192.168.0.0/24 are static leases, and all in 192.168.1.0/24 are dynamic leases. I'd like the two to share the 192....
user avatar
  • 545
0 votes
2 answers
456 views

How to make routing changes permanent

I have the below routing rules to apply once tun0 comes up (which is a openvpn tunnel). These rules help push some clients on my network outside the VPN and direct to the internet. What is the best ...
user avatar
  • 41
0 votes
4 answers
944 views

Is there a way to cache the last IP assigned on DHCP clients and use that if the DHCP server is down?

I would like my DHCP clients (CentOS 7) cache the last IP assigned (reserved) for them and use that if the DHCP server is down. Below is the current network interface configuration of my DHCP clients:...
user avatar
1 vote
1 answer
365 views

isc-dhcp-server configuration [closed]

so I've been bashing the keyboard for hours now and finally I surrender. Anyone else have an Idea of how to configure the ISC-DHCP-SERVER on Debian 9? So it should be pretty simple I guess. I've ...
user avatar
3 votes
2 answers
5k views

CentOS 7 DHCP Client - How to use "classless-static-routes" ("code 121")?

According to this answer... https://unix.stackexchange.com/a/457577/61742 ... I can use the following configuration to use pushed routes from my DHCP server in my DHCP client by placing in the /etc/...
user avatar
2 votes
0 answers
1k views

How to use ISC KEA DHCP to inform "DNS" and "GATEWAY" to my DHCPv4 clients?

To illustrate I will inform the configuration of my ISC KEA DHCP (DHCPv4) and my DHCP client. Below is the configuration I am currently using for my ISC KEA DHCP (DHCPv4): $ cat /usr/local/etc/kea/...
user avatar
5 votes
3 answers
2k views

Is it possible to use a single DHCP server to push completely different ranges of ip to different network interfaces in different LANs?

Is it possible to use a single DHCP server to push completely different ranges of ip to different network interfaces in different LANs? EXAMPLE: I have the Severs #1 and #2. Severs #1: A DHCP ...
user avatar
1 vote
1 answer
3k views

How can I use ISC KEA DHCP (DHCPv4) server to push routes to clients?

QUESTION: I have an infrastructure with 5 servers (Server #1, #2, #3, #4 and #5). I am trying to use a server (Server #5) with ISC KEA DHCP (DHCPv4) ( https://kea.isc.org/wiki ) to push routes to ...
user avatar