dhcp server with multiple interfaces

Louis Garcia louisgtwo at gmail.com
Sat Aug 17 19:26:33 UTC 2019


I have been using /etc/sysconfig/dhcpd to restrict dhcpd to certain
interfaces not knowing this file was not used anymore. With
/etc/sysconfig/dhcpd clear I get the desired behavior.

dhcpd[2175]: Internet Systems Consortium DHCP Server 4.3.6
dhcpd[2175]: Copyright 2004-2017 Internet Systems Consortium.
dhcpd[2175]: All rights reserved.
dhcpd[2175]: For info, please visit https://www.isc.org/software/dhcp/
dhcpd[2175]: ldap_gssapi_principal is not set,GSSAPI Authentication
for LDAP will not be us>
dhcpd[2175]: Not searching LDAP since ldap-server, ldap-port and
ldap-base-dn were not spec>
dhcpd[2175]: Config file: /etc/dhcp/dhcpd.conf
dhcpd[2175]: Database file: /var/lib/dhcpd/dhcpd.leases
dhcpd[2175]: PID file: /var/run/dhcpd.pid
dhcpd[2175]: Source compiled to use binary-leases
dhcpd[2175]: Wrote 2 leases to leases file.
dhcpd[2175]:
dhcpd[2175]: No subnet declaration for enp4s0 (no IPv4 addresses).
dhcpd[2175]: ** Ignoring requests on enp4s0.  If this is not what
dhcpd[2175]:    you want, please write a subnet declaration
dhcpd[2175]:    in your dhcpd.conf file for the network segment
dhcpd[2175]:    to which interface enp4s0 is attached. **
dhcpd[2175]:
dhcpd[2175]: Listening on LPF/enp3s0/00:ec:ac:cd:65:14/192.168.1.0/24
dhcpd[2175]: Sending on   LPF/enp3s0/00:ec:ac:cd:65:14/192.168.1.0/24
dhcpd[2175]: Listening on LPF/enp2s0/00:ec:ac:cd:65:13/172.16.0.0/16
dhcpd[2175]: Sending on   LPF/enp2s0/00:ec:ac:cd:65:13/172.16.0.0/16
dhcpd[2175]:
dhcpd[2175]: No subnet declaration for enp1s0 (24.51.220.122).
dhcpd[2175]: ** Ignoring requests on enp1s0.  If this is not what
dhcpd[2175]:    you want, please write a subnet declaration
dhcpd[2175]:    in your dhcpd.conf file for the network segment
dhcpd[2175]:    to which interface enp1s0 is attached. **


On Fri, Aug 16, 2019 at 3:28 PM Simon Hobson <dhcp1 at thehobsons.co.uk> wrote:

> Bob Harold <rharolde at umich.edu> wrote:
>
> > Next, it might complain about 24.51.220.94/21 on enp1s0.  Try adding:
> >
> > subnet 24.51.220.94 netmask 255.255.248.0 {
> > };
>
> Or configure the daemon to only listen on the interfaces it serves. Given
> that enp1s0 is the internet facing interface, not listeing on it would be
> good security practice.
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20190817/5500f959/attachment.html>


More information about the dhcp-users mailing list