Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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)

0
votes
2answers
905 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: ...
0
votes
0answers
13 views

Inter-vlan Routing

What are the steps, packages, protocols or things to consider in configuring an inter-vlan routing in Linux? Current Setup: UbuntuServer16LTS (DHCP & done with VLAN config) HP A5800(Core sw) ...
0
votes
0answers
31 views

Unable to ping clients or server using hostname

I have set a server using bind9 and isc-dhcp-server Both services are running, the DHCP is giving IP addresses and I have check the configuration of Bind9 using named-checkconf, named-checkzone and ...
0
votes
0answers
250 views

Unable to connect to internet via USB tethering from android smartphone

Am new to Linux. Installed 16.03LTS. Unable to connect to internet via USB tethering of Android Smartphone. It says Ethernet network(Intel 82578DC Gigabit) disconnected. Also got a dialog box saying "...
0
votes
0answers
48 views

wireless printer won't print; ubuntu 16.04

I have an HP Envy 5530 that works fine over USB, but isn't getting an IP address from my local dhcp server under ubuntu 16.04 # cat /etc/dhcp/dhcpd.conf ddns-update-style none; option domain-name "...
0
votes
1answer
87 views

DHCPv6 assigned 64 prefix instead of 112 prefix

I'm trying to setup my DHCPv6 on ubuntu to assign an address with a 112 prefix. My configuration looks like this: subnet6 2001:db8:a0b::640a:0/112 { range6 2001:db8:a0b::6464:640a 2001:db8:a0b::...
4
votes
1answer
2k 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 ...
0
votes
1answer
97 views

How to let two differnet subnets, which are created by a DHCP server, talk to each others?

I have a ubuntu server with two ethernet cards, eth0 and eth1, and plan to use it as a DHCP server to create two different subnets, 192.168.10.0/255.255.255.0 and 192.168.100.0/255.255.255.0. Q1: Is ...
0
votes
0answers
42 views

Why does my dhcp server assign 2 different IPs to the same client NIC?

My dhcpd is getting DHCPREQUEST packages for 2 different IPs from the same MAC address on the same (linux-ubuntu-16.04) client. Snip from the syslog: Jun 20 09:56:13 infranet dhcpd: DHCPREQUEST for ...
0
votes
1answer
3k 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 ...
0
votes
2answers
8k views

Step by step guide to setup a DHCP server / client configuartion 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 ...
0
votes
0answers
74 views

ISC-DHCP server disabled, but “ip address show” still show local IP assigned for eth0

I installed and used ISC-DHCP server for a while for local network, then stopped it as don't need it anymore. sudo service isc-dhcp-server stop I also changed back configuration changes of ...
2
votes
1answer
6k 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 ...
1
vote
0answers
233 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 ...
0
votes
1answer
137 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 ...
0
votes
1answer
114 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
1answer
553 views

From where comes /run/resolvconf/interface/eth0.dhclient file

I'm searching for original configuration file that is the source for generating /run/resolvconf/interface/eth0.dhclient file. That file contain DNS server names and the domain name for my machine. I'...
1
vote
0answers
645 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 ...
0
votes
1answer
907 views

Boot failure dhcp service

Good evening everyone. My dhcp server stopped working. I pulled the status and features Failure. If anyone can help me. Follows AppendixA error image Script of service isc-dhcp-server status root@...
3
votes
2answers
7k 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 ...
1
vote
0answers
682 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 ...
0
votes
1answer
484 views

configuring dhcp with dynaminc ipv4 and ipv6 address

i just want to know that is that possible to configure dynamic ipv4 and ipv6 address on eth1. i tried ipv4 is working but ipv6 doesn't. if yes then how. If not then what should i do. Because i want ...
4
votes
1answer
7k 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?
0
votes
1answer
37 views

Can DHCP server launch external application after it leases address to new network device?

I want to launch an app each time new device appears on network. Do options like that exist in dhcp servers? Or what are the possible hacks to do it anyways?
0
votes
2answers
3k 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 ...
0
votes
2answers
420 views

Unable to set up DHCP and TFTP

I want to transfer my kernel image to beaglebone black, and the guide mentions that I should have already set up DHCP and tftp on the host machine. I have set up the TFTP using: sudo apt-get install ...
2
votes
6answers
29k 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 ...
1
vote
1answer
7k 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.....
-2
votes
1answer
5k views

isc-dhcp-server can't start

i installed dhcp3-server , now i want to start its service and it said : [FAIL] Starting ISC DHCP server: dhcpd[....] check syslog for diagnostics. ... failed! failed! i check ps aux | grep dhcp ...
-2
votes
1answer
1k views

DHCP3-server not working correctly

I installed dhcpe-server with apt-get install dhcp3-server, and I want to configure it on terminal. When i type dhcp i just see these : dhclient dhclient-script dhcpd dhcpx I tried to start its ...
1
vote
2answers
17k views

How to Stop DHCP Server [closed]

I have installed a DHCP Server. Now I need to stop the dhcp server, but when I issue the command: sudo service isc-dhcp-server stop I get stop: Unknown instance. I confirm the DHCP service is ...
0
votes
1answer
687 views

Deleting expired IP-Addresses

I am testing Ubuntu 12.10 DHCP server, it's working fine, but I need to delete all IP-Addresses which have been give from the DHCP-pool, as I would like to start fresh before I clone the server to ...
2
votes
1answer
2k 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 ...
5
votes
1answer
13k 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 ...
4
votes
1answer
12k 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 ...
0
votes
1answer
5k 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
1answer
510 views

Stop a service from starting when it is disabled in the rc.d

I am running a minimal Ubuntu 13.04 on a BeagleBone. I try to disable udhcpd permanently, but I do not want to remove it. I want to be able to enable it when/if I need it. I have removed it from the ...
0
votes
1answer
3k 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 ...
4
votes
1answer
61k 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 ...
0
votes
1answer
3k 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 ...
2
votes
0answers
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
2answers
4k 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
1answer
464 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 ...
3
votes
1answer
5k 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 ...
1
vote
0answers
705 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
1answer
13k 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 ("...
3
votes
2answers
8k 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 ...
0
votes
1answer
1k 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 ...
2
votes
2answers
14k 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 ...
3
votes
2answers
5k 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 (...