Questions tagged [dhcpd]
dhcpd is the service that provides IP address(among other configuration details) to clients. The acronym stands for Dynamic Host Control Protocol Daemon)
73
questions
14
votes
2
answers
11k
views
Switching a server to static IP from DHCP
I am running an Ubuntu 10.04 server installation and I recently had to switch it from DHCP to static ip. I edited /etc/network/interfaces file and switched
iface eth0 inet dhcp
to
iface eth0 inet ...
11
votes
3
answers
54k
views
dhcpd fails to start on eth1
I'm having trouble configuring and starting ISC DHCP server on my machine. I'm running Ubuntu 11.10 desktop edition. I installed ISC DHCP by running
$ sudo apt-get install dhcp3-server
My machine ...
10
votes
9
answers
102k
views
DHCP server won't start. Gives 'Not configured to listen on any interfaces!' even when configured
I have just setup isc-dhcp on my server. I even setup the correct interface. But still the dhcp server won't boot. Its says Not configured to listen on any interfaces! in the syslog. And when I try ...
10
votes
3
answers
34k
views
Why is Netplan/Networkd not bringing up a static ethernet interface?
I have a machine running Ubuntu Server 18.04. The network is configured using Netplan, so I have this config in /etc/netplan/01-netcfg.yaml:
network:
version: 2
renderer: networkd
ethernets:
...
9
votes
1
answer
19k
views
how to set default gateway in dhcpd6.conf
IPv6 dhcp server would like to set default gateway for all clients. For ipv4 it can done by adding option routers <gateway-addr> inside subnet. But what needs to be added for ipv6 configuration?
8
votes
1
answer
119k
views
How to reserve IP Address in DHCP Server
I install DHCP Server with https://help.ubuntu.com/lts/serverguide/dhcp.html
but I need to make reserve IP addresses for specific machine (192.168.1.XXX) and further to assign a name to each machine ...
8
votes
1
answer
21k
views
domain name in dhcp
I want to configure DHCP on 14.04. So I downloaded isc-dhcp-server from the repository.
In configuration file I see these two line which are not commented.
What is the usage/purpose of the ...
7
votes
1
answer
16k
views
How do I set up an Ubuntu server to be the router for two private networks on my network, and do the DHCP addressing?
I want to use my Ubuntu server to be a router for two private networks on my network.
I also want this server to serve DHCP requests for the private networks.
How do I set up an Ubuntu 16.04 server ...
6
votes
5
answers
29k
views
DHCP-server doesn't start at boot because of wrong startup order [duplicate]
Apparently the isc-dhcp-server is started too early in the boot sequence, it states that it has nothing to do. If I just log directly in as root and start it using the init.d-script, it starts ...
6
votes
1
answer
26k
views
Getting WiFi AP working with hostapd and isc-dhcp-server [Xubuntu 14.04]
I have tried using ap-hotspot from WebUpd8, and it did not work for me in 13.10 or 14.04, so I have been working on getting hostapd manually set up, using isc-dhcp-server since dnsmasq was having ...
5
votes
2
answers
25k
views
isc-dhcp-server disabling and configuring
I've installed isc-dhcp-server just for a one-time task. So basically, after task is completed I dont't need it anymore: should I just uninstall it?
Or it possible to disable it completely?
The ...
5
votes
2
answers
8k
views
How to install dhcpd3?
As I recall, there used to be this DHCP server called dhcpd3
However, under ubuntu, I am not entirely sure where to obtain or how to install it.
The following command doesn't seem to locate the ...
5
votes
3
answers
30k
views
DHCP server doesn't start
I installed dhcp3-server in ubuntu server 11.04
apt-get install dhcp3-server
However, an error message during installation:
Traitement des actions différées (« triggers ») pour « man-db »...
...
5
votes
0
answers
26k
views
How to stop dhcpd?
I am trying to stop the dhcpd ,but whenever I stop it ,it restart again immediately.
$ ps aux | grep dhcp
dhcpd 7116 0.0 0.1 19672 6604 ? Ss 16:33 0:00
dhcpd -user dhcpd -group ...
4
votes
2
answers
34k
views
How can I get isc-dhcp-server/dhcpd to listen on one interface only?
I would like my isc-dhcp-server instance to listen on my LAN interface only because I'm investigating an issue with my "WiFi router" and configured INTERFACES='p18p1' in /etc/default/isc-dhcp-server ...
4
votes
2
answers
38k
views
Step by step guide to setup a DHCP server / client configuration in VirtualBox
I'm trying to implement DHCP on two VirtualBox machine, which both are running Ubuntu 16.10 (One as client, one as server) and the host is a Windows 10.
How do I go about doing this?
A step by step ...
4
votes
1
answer
312
views
Why using DHCP service?
A few simple questions for a total beginner:
1)Why use DHCP? I am running a small home-network: 1 desktop computer and twp lap-tops. What is the big advantage in DHCP for me? What configurations does ...
4
votes
3
answers
2k
views
Taking an action after connecting a USB-to-Ethernet adapter
When I connect a USB-to-Ethernet adapter (that has been previously used), I receive a MAC address, and then if there's something connected on the other end I receive also an IP address (192.168.1.1 in ...
3
votes
3
answers
23k
views
isc_dhcp_server start error : `dhcpd: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied.`
dhcpd: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied. in /var/log/syslog when starting isc_dhcp_server service isc-dhcp-server start on Ubuntu 15.10 bug report here version of ...
3
votes
2
answers
17k
views
apt-get remove does not remove
After I install, then remove a package, the application is still present:
$ sudo apt-get install dhcp3-server
Reading package lists... Done
Building dependency tree
Reading state information.....
3
votes
1
answer
6k
views
18.04 Server Systemd DHCP hangs on DISCOVER, dhclient works
Just installed ubuntu server 18.04. I am unable to get a dhcp lease using systemd-networkd, but using dhclient works fine.
With SYSTEMD_LOG_LEVEL=debug I get:
$ journalctl
...
Apr 29 10:14:09 ...
3
votes
1
answer
7k
views
ISC-DHCP: Battling to get the host name from the dhcp script
Server OS : Ubuntu 12.0.4.1 LTS Server
Desktop OS : Ubuntu 12.0.4.1 LTS and Windows 7
I have followed an article on the net on how to update a powerdns database.
ISC DHCP and PowerDNS
How ever I am ...
3
votes
2
answers
7k
views
testing dhcp server locally on one physical machine with virtual machine
I'm writing simple program to configure and monitor DHCP server on my Ubuntu 12.04.
What I'm trying to achieve that my physical machine will be DHCP server and my VM (virtual machine) get one lease (...
3
votes
2
answers
10k
views
DHCP server with multiple interfaces on ubuntu, destroys default gateway
I use Ubuntu, and I have many interfaces. eth0, which is my internet connection, and it gets its info from a DHCP-server totally outside of my control.
I then have eth1,eth2,eth3 and eth4 which I ...
3
votes
1
answer
3k
views
DHCPD Server issue multiple IP's to one Nic [closed]
I have a local DHCP Server running on 10.04 want have a few host entries so that the machines can just use DHCP but allows me to route traffic to them via IPTABLES. One of them is a Windows 2008 ...
3
votes
3
answers
32k
views
"Can't open /var/lib/dhcp/dhcpd6.leases for append." during start of ISC DHCP IPv6 Server
Trying to enable the ISC DHCP server for just IPv6 on Ubuntu 12.04 LTS.
I have downloaded and installed the DHCP server via the following command:
$ sudo apt-get install isc-dhcp-server
Then I have ...
2
votes
2
answers
943
views
No network from minimum net install
I did a minimum net install, but my new system is not starting the network automatically -- No IP address with my eth0 device.
I installed dhclient package myself but that doesn't help. I thought it ...
2
votes
1
answer
498
views
Telling journalctl to show all but a certain facility
I'm trying to get rid of dhcpd spam in my journal.
Using rsyslog.conf and dhcpd.conf I have been able to keep it out of /var/log/syslog and put it in /var/log/dhcpd.log which is great.
However, ...
2
votes
0
answers
2k
views
How to show the reserved leases that dhcp has on file?
I want to check on the reserved leases (called "fixed-address" in the config files) of my dhcpd. To get all the info about the free dynamic ips is no problem, but the reserved one that get written to ...
2
votes
0
answers
1k
views
How to send dhcpd lease & MAC address info to central syslog server?
I am looking to send dhcpd leases including MAC address info etc. to my remote central syslog server, the server running dhcpd is running syslog-ng...would someone be so gracious as to assist me with ...
1
vote
2
answers
5k
views
Question regarding the dhcpd.leases file for ISC-DHCP-SERVER (Ubuntu 12.04 LTS x64)
Backstory: I am in the process of replacing a SINGLE Debian 3.1 (Sarge) ISC-DHCP-SERVER with 2 Ubuntu 12.04 LTS x64 servers running ISC-DHCP-SERVER in failover mode. I've been unable to find the ...
1
vote
1
answer
238
views
How do I tell systemd to start isc-dhcp-server after slapd?
I have installed isc-dhcp-server-ldap and keep my DHCP configuration in OpenLDAP. This works perfectly.
However, when I reboot my server, isc-dhcp-server is not started:
s-hrt1# systemctl --failed
...
1
vote
1
answer
774
views
What's wrong with dhcpd (isc-dhcp-server) inside LXC container? Why it does nothing?
I tried many times, on various Ubuntu machines: the dhcpd executable (installed in /usr/sbin/dhcpd via package isc-dhcp-server) inside the LXC container seemingly the only thing it does, when executed ...
1
vote
1
answer
610
views
Dhcpd: I have 2 Linux Ubuntu Servers running DHCP. Is it possible to install a 3rd DHCP server (which will run Windows Server)?
Im learning /etc/dhcpd.conf, and set up 2 dhcp servers that are running Ubuntu 1204. Do you know if I can make a 3rd dhcp server, but I want this one to run Windows DHCP (not AD, just Dhcp and ...
1
vote
0
answers
135
views
Clients got IP-addresses from DHCP but can't reach Internet
I'm trying to build home router from device with two ethernet ports (enp2s0 and enp3s0) and WiFI (wlo2), based on Ubuntu Server 22.
Everything is set, clients can connect via wifi to the router (it's ...
1
vote
1
answer
1k
views
How to route isc-dhcp-server logs to their own file
The logging in systemd's journal is getting spammed by logging from dhcpd.
I am running isc-dhcp-server and would like to prevent the log ending up in the journal, and instead go to its own file.
I ...
1
vote
2
answers
2k
views
Keep file permissions on dhcpd.leases after reboot on Linux
We have a Linux machine on which we run our .NET Core app. This app is a web UI which is used to display and configure a system of EEPROMs. The app reads the dhcpd.leases file, located in the ...
1
vote
0
answers
57
views
Upgrade to 20.04 throws dhcpcd error
I recently upgraded from 18.04 to 20.04 and on reboots I receive the following internal error. Everything continues to work normally, so I just dismiss it, but I was hoping to understand the root ...
1
vote
0
answers
768
views
Cannot find network interfaces / devices
I'm trying to set up a private network between a few VMs running Ubuntu. For this specific configuration, I need to enable eth1 - eth9. For some reason eth1 turns on fine (using ifconfig eth1 up, but ...
1
vote
1
answer
6k
views
Restart dhcpd when interface is reset
I have an Ubuntu 16.04 system acting as a wifi access point and router, including as a DHCP server (isc-dhcp-server). There is something slightly flaky with the USB wifi card, and occasionally it ...
1
vote
0
answers
938
views
isc-dhcp-server fails on xenial
I also posted this question on the answers.launchpad.net site before I foudn this one, sorry for the duplication...
I just upgraded both of my DHCP servers running failover to Xenial and now neither ...
1
vote
2
answers
5k
views
DHCP is not working
I am using 14.04 and installed isc-dhcp-server in my Ubuntu. Here is my DHCP configuration:
INTERFACES="eth0"
allow booting;
allow bootp;
subnet 192.168.1.0 netmask 255.255.255.0 {
range ...
1
vote
0
answers
912
views
Creating DDNS with udhcpd and PowerDNS
Server OS = Ubuntu 12.0.4.1 LTS
Desktop OS = Windows 7, Ubuntu 12.04.1 LTS
DHCP Server daemon = udhcp
DNS Server daemon = powerdns (using mysql as the backend)
I am very new to the Linux scene, been ...
0
votes
1
answer
4k
views
How do I do a complete DHCP Server Configuration [duplicate]
i am new bie to Linux and wants to configure complete DHCP server and how I can assign ips to clients on Ubuntu or windows machine. will it connect clients automatically to my Linux Ubuntu machine or ...
0
votes
1
answer
17k
views
How do I configure dhcpd?
I have installed two virtual machines that are running Ubuntu (I am using Vmware 9.0).
I installed the DHCP server package on the first machine ("ubuntu A"), and I want the second virtual machine ("...
0
votes
1
answer
2k
views
Automated Server Installs config file top-level keys ”late-commands“ cant use wget or curl
i have encountered a problem about Automated server install.
This is my env:
Server: centos 7.6 x86_64(its a kvm system)
Node1: no system
Node2: no system
I want to automated install Ubuntu-20.04.3 ...
0
votes
1
answer
371
views
change the DHCP lease table with script & sed
Dears ,
I have in the dhcp lease file leases , like the following example :
lease 192.168.79.15 {
starts 0 2016/08/21 13:25:45;
ends 0 2016/08/21 19:25:45;
cltt 0 2016/08/21 13:25:45;
...
0
votes
1
answer
7k
views
ISC-DHCP-SERVER (primary/secondary) - Can Load Balancing Be Disabled?
When I was hired at my company, I quickly determined that one of my highest priority projects would be to improve our ancient DNS/DHCP setup. It was running on an Ubuntu-based workstation-grade server ...
0
votes
1
answer
4k
views
wicd Failed: Unable to get IP address
I have an old laptop (Thinkpad T30) and I have installed lubuntu 10.04 on it. NetworkManager could see the available wifi but the bottom was gray out. It seems that it is an unsolved-bug in wifi and ...
0
votes
1
answer
2k
views
Configure ISC DHCP server "routers"
My challenge is trying to find a conditional way to change the order of the default gateways used in "option routers" parameters. Perhaps on receiving a DHCPDISCOVER message.
So the first client ...