<div dir="ltr"><div>Hi folks, I installed isc-dhcp-server 4.4.1 version on a Debian 11 and it does not work here.</div><div><br></div><div><b><i>here my ifconfig parse that show that I does not use ipv6</i></b></div><div><br></div><div>enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500<br>        inet 192.168.0.3  netmask 255.255.255.0  broadcast 192.168.0.255<br>        ether fc:aa:14:f7:ae:45  txqueuelen 1000  (Ethernet)<br>        RX packets 242347683  bytes 334820398436 (311.8 GiB)<br>        RX errors 0  dropped 17209  overruns 0  frame 0<br>        TX packets 151899938  bytes 181862408834 (169.3 GiB)<br>        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0<br><br>lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536<br>        inet 127.0.0.1  netmask 255.0.0.0<br>        loop  txqueuelen 1000  (Loopback Local)<br>        RX packets 3175  bytes 163958 (160.1 KiB)<br>        RX errors 0  dropped 0  overruns 0  frame 0<br>        TX packets 3175  bytes 163958 (160.1 KiB)<br>        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0<br></div><div><br></div><div>I´m trying to force <em style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;color:rgb(68,68,68);font-family:"Open Sans",Helvetica,Arial,sans-serif">isc-dhcp-server</em><span style="color:rgb(68,68,68);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14px"> to only start the v4 instance with INTERFACESv4 option that is the new directive</span><br></div><div> </div><div>if I try to use interfaces directive like older versions syslog show me to use INTERFACESv4 OPTION but it migrate automatically for now.</div><div><br></div><div><br></div><div>Feb 23 13:30:25 debian-backup isc-dhcp-server[388886]: DHCPv4 interfaces are no longer set by the INTERFACES variable in<br>Feb 23 13:30:25 debian-backup isc-dhcp-server[388886]: /etc/default/isc-dhcp-server.  Please use INTERFACESv4 instead.<br>F<br></div><div><b><br></b></div><div><b>here my /etc/default/isc-dhcp-server </b></div><div>INTERFACESv4="enp2s0"<br></div><div><br class="gmail-Apple-interchange-newline"></div><div><br></div><div><b>here my dhcpd.conf</b><br></div><div><br></div><div><div>ddns-update-style none;<br><br>#option definitions common to all supported networks...<br>#option domain-name "<a href="http://example.org">example.org</a>";<br>#option domain-name-servers <a href="http://ns1.example.org">ns1.example.org</a>, <a href="http://ns2.example.org">ns2.example.org</a>;<br><br>default-lease-time 691200;<br>max-lease-time 691200;<br><br># If this DHCP server is the official DHCP server for the local<br># network, the authoritative directive should be uncommented.<br><br>authoritative;<br><br># Use this to send dhcp log messages to a different log file (you also<br># have to hack syslog.conf to complete the redirection).<br>log-facility local7;<br></div><div><b><br></b></div><div>failover peer "dhcp-failover" {<br></div><div>        secondary;<br>        address 192.168.0.3;<br>        port 647;<br>        peer address 192.168.0.2;<br>        peer port 648;<br>        max-response-delay 30;<br>        max-unacked-updates 10;<br>        load balance max seconds 5;<br>        mclt 3600;<br>       # split 255;   // split value somente no principal<br>}<br><br>subnet 192.168.0.0 netmask 255.255.255.0 {<br>  option domain-name-servers 192.168.0.5 ;<br>  option routers 192.168.0.254 ;<br>  option netbios-name-servers 192.168.0.5 ;<br>  option ntp-servers 192.168.0.5 ;<br>  option broadcast-address 192.168.0.255;<br>  pool {<br>        failover peer "dhcp-failover";<br>        default-lease-time 691200;<br>        max-lease-time 691200;<br>        range 192.168.0.11 192.168.0.200;<br>  }<br>}</div></div><div><br></div><div><b><i>here my syslog (still trying load dhcpd6.conf but lauch IPv4 server only that it is what I need.)</i></b></div><div><br></div><div>Feb 23 13:19:01 debian-backup isc-dhcp-server[388778]: /etc/init.d/isc-dhcp-server: 50: cannot open /etc/dhcp/dhcpd6.conf: No such file<br>Feb 23 13:19:01 debian-backup isc-dhcp-server[388771]: Launching IPv4 server only.<br>Feb 23 13:19:01 debian-backup dhcpd[388780]: Internet Systems Consortium DHCP Server 4.4.1<br>Feb 23 13:19:01 debian-backup dhcpd[388780]: Copyright 2004-2018 Internet Systems Consortium.<br>Feb 23 13:19:01 debian-backup dhcpd[388780]: All rights reserved.<br>Feb 23 13:19:01 debian-backup dhcpd[388780]: For info, please visit <a href="https://www.isc.org/software/dhcp/">https://www.isc.org/software/dhcp/</a><br>Feb 23 13:19:01 debian-backup isc-dhcp-server[388771]: Starting ISC DHCPv4 server: dhcpddhcpd service already running (pid file /var/run/dhcpd.pid currenty exists) ...<br>Feb 23 13:19:01 debian-backup isc-dhcp-server[388784]:  failed!<br>Feb 23 13:19:01 debian-backup systemd[1]: isc-dhcp-server.service: Control process exited, code=exited, status=1/FAILURE<br>Feb 23 13:19:01 debian-backup systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.<br><br></div><div><i><b>here my syntax check of dhcpd.conf with no errors</b></i></div><div>root@debian-backup:/etc/dhcp# dhcpd -t -cf /etc/dhcp/dhcpd.conf<br>Internet Systems Consortium DHCP Server 4.4.1<br>Copyright 2004-2018 Internet Systems Consortium.<br>All rights reserved.<br>For info, please visit <a href="https://www.isc.org/software/dhcp/">https://www.isc.org/software/dhcp/</a><br>Config file: /etc/dhcp/dhcpd.conf<br>Database file: /var/lib/dhcp/dhcpd.leases<br>PID file: /var/run/dhcpd.pid<br></div><div><br></div><div><br></div><div><br></div><div>I did find where is the problem. Any suggestion?<br></div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div style="font-size:small">my best regards,</div><div style="font-size:small"><br></div><div style="font-size:small">Samuel Motta</div><div style="font-size:small">Brazil</div></div><div><div>
<div><br></div>
<div></div>
<div></div></div></div></div></div></div></div></div></div>