On my Leap localhost I have a Bridge interface (br1) bonded to eth0
to run VMs, I’m trying to setup a DHCP server on said localhost in order to control all the VM’s through dhcpd
options, however I’m running with issues configuring DHCP server through YaST:
│┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐│
││br1 ││
││(No hardware information) ││
││ * Device Name: br1 ││
││ * Configured with address 10.10.10.2/28 ││
││ * Started automatically at boot ││
││ * Bridge Ports: eth0
Error message:
2025-06-05T00:57:23.591045-03:00 apple-srv systemd[1]: Starting ISC DHCPv4 Server...
2025-06-05T00:57:23.729341-03:00 apple-srv dhcpd: Internet Systems Consortium DHCP Server 4.3.6-P1
2025-06-05T00:57:23.729413-03:00 apple-srv dhcpd: Copyright 2004-2018 Internet Systems Consortium.
2025-06-05T00:57:23.729459-03:00 apple-srv dhcpd: All rights reserved.
2025-06-05T00:57:23.729511-03:00 apple-srv dhcpd: For info, please visit https://www.isc.org/software/dhcp/
2025-06-05T00:57:23.732243-03:00 apple-srv dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
2025-06-05T00:57:23.732326-03:00 apple-srv dhcpd: Config file: /var/lib/dhcp//etc/dhcpd.conf
2025-06-05T00:57:23.732374-03:00 apple-srv dhcpd: Database file: /var/lib/dhcp/db/dhcpd.leases
2025-06-05T00:57:23.732420-03:00 apple-srv dhcpd: PID file: /var/run/dhcpd.pid
2025-06-05T00:57:23.735598-03:00 apple-srv dhcpd: Internet Systems Consortium DHCP Server 4.3.6-P1
2025-06-05T00:57:23.735650-03:00 apple-srv dhcpd: Copyright 2004-2018 Internet Systems Consortium.
2025-06-05T00:57:23.735697-03:00 apple-srv dhcpd: All rights reserved.
2025-06-05T00:57:23.735743-03:00 apple-srv dhcpd: For info, please visit https://www.isc.org/software/dhcp/
2025-06-05T00:57:23.737152-03:00 apple-srv dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
2025-06-05T00:57:23.737200-03:00 apple-srv dhcpd: Config file: /etc/dhcpd.conf
2025-06-05T00:57:23.737247-03:00 apple-srv dhcpd: Database file: /db/dhcpd.leases
2025-06-05T00:57:23.737297-03:00 apple-srv dhcpd: PID file: /var/run/dhcpd.pid
2025-06-05T00:57:23.737410-03:00 apple-srv dhcpd: Wrote 0 leases to leases file.
2025-06-05T00:57:23.740251-03:00 apple-srv dhcpd:
2025-06-05T00:57:23.740302-03:00 apple-srv dhcpd: No subnet declaration for br1 (no IPv4 addresses).
2025-06-05T00:57:23.740365-03:00 apple-srv dhcpd: ** Ignoring requests on br1. If this is not what
2025-06-05T00:57:23.740414-03:00 apple-srv dhcpd: you want, please write a subnet declaration
2025-06-05T00:57:23.740459-03:00 apple-srv dhcpd: in your dhcpd.conf file for the network segment
2025-06-05T00:57:23.740504-03:00 apple-srv dhcpd: to which interface br1 is attached. **
2025-06-05T00:57:23.740547-03:00 apple-srv dhcpd:
2025-06-05T00:57:23.740590-03:00 apple-srv dhcpd:
2025-06-05T00:57:23.740633-03:00 apple-srv dhcpd: Not configured to listen on any interfaces!
2025-06-05T00:57:23.740676-03:00 apple-srv dhcpd:
2025-06-05T00:57:23.740719-03:00 apple-srv dhcpd: If you think you have received this message due to a bug rather
2025-06-05T00:57:23.740761-03:00 apple-srv dhcpd: than a configuration issue please read the section on submitting
2025-06-05T00:57:23.740803-03:00 apple-srv dhcpd: bugs on either our web page at www.isc.org or in the README file
2025-06-05T00:57:23.740846-03:00 apple-srv dhcpd: before submitting a bug. These pages explain the proper
2025-06-05T00:57:23.740889-03:00 apple-srv dhcpd: process and the information we find helpful for debugging.
2025-06-05T00:57:23.740932-03:00 apple-srv dhcpd:
2025-06-05T00:57:23.740980-03:00 apple-srv dhcpd: exiting.
2025-06-05T00:57:23.741487-03:00 apple-srv dhcpd[18328]: Starting ISC DHCPv4 Server
2025-06-05T00:57:23.741668-03:00 apple-srv dhcpd[18328]: please see /var/log/rc.dhcpd.log for details ..failed
2025-06-05T00:57:23.742631-03:00 apple-srv systemd[1]: dhcpd.service: Control process exited, code=exited, status=1/FAILURE
2025-06-05T00:57:23.742919-03:00 apple-srv systemd[1]: dhcpd.service: Failed with result 'exit-code'.
2025-06-05T00:57:23.774248-03:00 apple-srv systemd[1]: Failed to start ISC DHCPv4 Server.
However my "/etc/dhcpd.conf"
does include the subnet
declaration:
option domain-name "my.domain";
option domain-name-servers 127.0.0.1;
ddns-update-style none;
default-lease-time 14400;
subnet 10.10.10.0 netmask 255.255.255.240 {
option subnet-mask 255.255.255.240;
option routers 10.10.10.0;
range dynamic-bootp 10.10.10.3 10.10.10.14;
default-lease-time 14400;
max-lease-time 172800;
}