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
1
vote
0answers
32 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, ...
0
votes
1answer
69 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 (...
0
votes
0answers
22 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 &...
0
votes
0answers
36 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 ...
0
votes
1answer
32 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 ...
0
votes
2answers
175 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 ...
0
votes
1answer
395 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 (...
0
votes
1answer
82 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: ...
0
votes
0answers
10 views

System boots into console instead of graphical session after installing isc-dhcp-server

Yesterday I was installing isc-dhcp-server in my Kali system and it seems that it was installed successfully, but when I restart the machine it only provides me with Command Line Interface and no ...
0
votes
1answer
6k views

Once again: Failed to start LSB: DHCP server

i want to create something like this with my raspberry. ↑ │ Uplink │ ┌────────────┴────────────┐ │ wlan0 │ ...
0
votes
5answers
101 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:...
1
vote
0answers
726 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-...
0
votes
1answer
139 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 ...
2
votes
0answers
82 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/...
1
vote
1answer
270 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-...
0
votes
2answers
109 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 ...
0
votes
0answers
964 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-...
2
votes
1answer
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 ...
3
votes
1answer
3k 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 ...
0
votes
0answers
40 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 ...
2
votes
0answers
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....
0
votes
1answer
143 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....
0
votes
1answer
44 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 ...
1
vote
1answer
677 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 ...
0
votes
1answer
747 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'...
0
votes
1answer
39 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 ...
0
votes
0answers
32 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)
2
votes
1answer
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 ...
0
votes
1answer
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. [...
0
votes
1answer
606 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....
0
votes
0answers
118 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 ...
1
vote
0answers
141 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 ...
1
vote
0answers
405 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/...
1
vote
1answer
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 ...
1
vote
1answer
4k 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 ...
3
votes
2answers
375 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....
1
vote
0answers
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....
0
votes
2answers
431 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 ...
0
votes
4answers
799 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:...
1
vote
1answer
347 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 ...
3
votes
2answers
4k 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/...
2
votes
0answers
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/...
5
votes
3answers
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 ...
1
vote
1answer
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 ...
0
votes
1answer
2k views

How to route specific client's traffic to VPN (PPTP)?

The setup: I have a server set up as a DHCP (isc-dhcp-server) and DNS (bind9) server (acting as a router). It connects to the internet via pppoe (ppp0) using eth0 device. The eth1 is connected to a ...
0
votes
1answer
3k views

dhcpd and bridge - No subnet declaration error

I prepared dhcpd configuration in Debian 8 and it successfully worked but then I added bridge and dhcpd failed. bridge: root@remote:/home/s# brctl show bridge name bridge id STP enabled ...
1
vote
1answer
1k views

dhclient does not work in opensuse 42.3, what's wrong?

On openSUSE 13.1 , dhclient eth0 works well, it re-request an IP address from DHCP server, which cost 1~2 seconds to finish. However, with openSUSE 42.3, dhclient always fails instantly. I don't know ...
1
vote
1answer
612 views

How do I configure my DNS / DHCP / gateway server with 2 NICs to use its own DNS?

My SOHO lan is served by my main machine which operates as a router, firewall, gateway, DNS, DHCP server and backup server. I've set up bind9 and isc-dhcp-server to do DDNS for the lan clients, while ...
1
vote
1answer
795 views

Will dhcpd give away a fixed-address to non-matching client on address dificit?

I have a subnet definition in ISC dhcpd like this: subnet 10.122.224.0 netmask 255.255.255.0 { ... range 10.122.224.64 10.122.224.127; ... host room1-printer { hardware ...
1
vote
0answers
211 views

DHCP assigns a new IP address when the Time Zone changes

I have a device linux-based. Through a webpage I can change the time zone runtime. This device takes the IP and NTP address from a DHCP. Using two different servers I have two different behaviours: ...