Project

General

Profile

Actions

Bug #6429

closed

DHCP: makeing dynamic entry static does not work

Added by Grischa Zengel almost 9 years ago. Updated almost 9 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
DHCP (IPv4)
Target version:
-
Start date:
05/31/2016
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

I have this entry:
10.32.12.246 64:bc:0c:80:52:89 2016/05/31 22:04:39 2016/06/01 00:04:39 online active

and make it static:
10.32.12.30 64:bc:0c:80:52:89 nexus-5x-ggz Smartphone GGZ n/a n/a online static

after this I see both entries and my smartphone still gets the old ip.

After restarting the dhcp server both entries are first offline and if the smartphone gets an update both are online.

On restarting the dhcp server I get:

May 31 22:46:54 php-fpm 51081 /services_dhcp.php: The command '/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid em0 em0_vlan12 em0_vlan190 em0_vlan13 em0_vlan3456' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.3.3-P1 Copyright 2004-2016 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Config file: /etc/dhcpd.conf Database file: /var/db/dhcpd.leases PID file: /var/run/dhcpd.pid Wrote 0 deleted host decls to leases file. Wrote 0 new dynamic host decls to leases file. Wrote 117 leases to leases file. Listening on BPF/em0_vlan3456/02:0a:32:c0:77:04/192.168.255.0/24 Sending on BPF/em0_vlan3456/02:0a:32:c0:77:04/192.168.255.0/24 Listening on BPF/em0_vlan13/02:0a:32:c0:77:04/10.32.13.0/24 Sending on BPF/em0_vlan13/02:0a:32:c0:77:04/10.32.13.0/24 Listening on BPF/em0_vlan190/02:0a:32:c0:77:04/192.168.19.0/24 Sending on BPF/em0_vlan190/02:0a:32:c0:77:04/

Actions

Also available in: Atom PDF