Skip to main content

All Questions

Tagged with
0 votes
0 answers
741 views

How to manually purge dhcpd.lease?

How do I manually purge ALL dhcpd.lease ? Can I just sudo echo /dev/null > /var/lab/dhcpd/dhcpd.lease ? It's a special use case of testing ground; we have an isolated LAN for developers to do test ...
RichardLiu's user avatar
0 votes
1 answer
730 views

Centos 7 dhcp server not responding to UEFI PXE DISCOVER

I'm trying to set up a Centos 7 server as a dhcp server for PXE (UEFI). I'be tried several changes to the dhcpd.conf file, but nothing seems to make a difference. dhcpd.conf: allow booting; allow ...
Justin Killen's user avatar
0 votes
1 answer
362 views

Setting up LAN gateway for school club network - "No subnet declaration for enp3s0"

I am a computing teacher, I am trying to setup a "sandbox" network with internet access for an after school computing club. I have an old PC (Debian 11 installation) with 2 ethernet ...
ICT Teacher's user avatar
2 votes
0 answers
1k views

Obtaining two DHCP addresses on Linux

There have been various questions asked a long time ago about obtaining two IP addresses via DHCP on Linux. Most of those are still relating to old 'alias interfaces', like eth0:0, which has been ...
Michael Firth's user avatar
0 votes
1 answer
7k views

Is it possible to force the DHCP server to assign a different IP address each time the address is renewed?

I need to detect IP address renewals in my C++ Linux application and check if the new address is different from the old one. I have access to a router running OpenWrt. I can change the lease time, but ...
tom654321's user avatar
0 votes
1 answer
2k views

Server DHCPv6 with Linux Alpine

I want create a server dhcp6 with alpine I'm using Kea-dhcp6. The my file config this is: { # DHCPv6 configuration starts on the next line "Dhcp6": { # First we set up global values &...
Seguret's user avatar
0 votes
0 answers
1k views

Block the DHCP server from broadcasting into the second ethernet interface

I have setup my DHCP server by following the instructions in https://wiki.debian.org/DHCP_Server. This all works but the issue I am having is the DHCP server is being broadcast in the main company ...
Paul's user avatar
  • 131
0 votes
1 answer
662 views

Enabling DHCP on Linux Host for libvirt VMs

This is a follow up question from here: How to disable default DHCP on virbr0 and obtain IP from DHCP on host I have a Ubuntu server 18.04, with Libvirt based Virtual Machines setup over virbr0 ...
Haswell's user avatar
  • 113
0 votes
1 answer
6k views

How to disable default DHCP on virbr0 and obtain IP from DHCP on host

I have a Ubuntu Desktop, with Libvirt based Virtual Machines setup over virbr0 bridge. Currently libvirt's default DHCP server (dnsmasq) provides IP address assignments. root@ngadre-Inspiron-3542:/...
Haswell's user avatar
  • 113
2 votes
1 answer
4k views

DNS server information not provided to DHCP clients by dnsmasq

I am trying to utilize a Raspberry Pi with Raspbian Stretch (Linux) so provide additional network monitoring and also routing capabilities. To this end I have the following setup: Internet router [...
Juggy's user avatar
  • 21
1 vote
1 answer
546 views

How many addresses can be assigned to one network interface via DHCP

Are there any limits to how many addresses can be assigned to one client DHCP host from DHCP server? Can I assign whole /8 subnet to one interface via DHCP?
MrSnowMan's user avatar
  • 119
1 vote
0 answers
369 views

Is the latest dhcp spec (rfc4361) invisable to admins?

When having an old Winsdows 2003 dhcp server, which doesn't understand the dhcp identifier OS'es such as Fedora 29 and Ubuntu 18.04 server sends. Which looks like 10,11/09/18,12:28:17,Assign,192.168....
Sandra's user avatar
  • 10.6k
0 votes
1 answer
752 views

Exclude subnets from distribution?

In Windows' DHCP server it is possible to exclude an entire subnet from being given out to clients which doesn't have a reservation. They call this "IP addresses excluded from distribution". Now I ...
Sandra's user avatar
  • 10.6k
1 vote
1 answer
3k views

DHCP relay not relaying responses

DHCP Relay NICs: NIC 1: connection to DHCP server (assigned by 172.20.0.1): enp1s0 Link encap:Ethernet HWaddr 00:e0:4c:68:39:0d inet addr:172.20.0.103 Bcast:172.20.0.255 Mask:255....
Vic Morrowshead's user avatar
2 votes
1 answer
1k views

Have a script receive an IP from the DHCP server?

None of the Nagios DHCP check plugins can actually take an IP from the DHCP server as a real test. All they do is ask which IP it would give to a certain mac address. Our DHCP server failed, where ...
Louise Hoffman's user avatar

15 30 50 per page