# [OmniOS-discuss] dhcpd quits with error if subnet exists which is not in config file

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Fri Mar 3 23:57:07 UTC 2017

- Previous message: [OmniOS-discuss] USB issue with Xeon D / SuperMicro X10SDV-TLN4F motherboard
- Next message: [OmniOS-discuss] stmfproxy ALUA RSF-1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Today I added a temporary subnet on an interface for temporary
    testing.

    When I restarted dhcpd, it went into maintenance state due to this
    error (setsockopt: IP_PKTINFO: Bad file number).  The complaint about
    the unknown subnet seems benign but the setsockopt error is not.  This
    issue seems harmful for servers which may have a lot of interfaces,
    which may come and go:

    Mar  3 17:49:20 scrappy dhcpd: [ID 702911 daemon.error] No subnet declaration for igb1 (192.168.0.1).
    Mar  3 17:49:20 scrappy dhcpd: [ID 702911 daemon.error] ** Ignoring requests on igb1.  If this is not what
    Mar  3 17:49:20 scrappy dhcpd: [ID 702911 daemon.error]    you want, please write a subnet declaration
    Mar  3 17:49:20 scrappy dhcpd: [ID 702911 daemon.error]    in your dhcpd.conf file for the network segment
    Mar  3 17:49:20 scrappy dhcpd: [ID 702911 daemon.error]    to which interface igb1 is attached. **
    Mar  3 17:49:20 scrappy dhcpd: [ID 702911 daemon.error]
    Mar  3 17:49:26 scrappy dhcpd: [ID 702911 daemon.error] setsockopt: IP_PKTINFO: Bad file number
    Mar  3 17:49:26 scrappy dhcpd: [ID 702911 daemon.error]
    Mar  3 17:49:26 scrappy dhcpd: [ID 702911 daemon.error] If you think you have received this message due to a bug rather
    Mar  3 17:49:26 scrappy dhcpd: [ID 702911 daemon.error] than a configuration issue please read the section on submitting
    Mar  3 17:49:26 scrappy dhcpd: [ID 702911 daemon.error] bugs on either our web page at www.isc.org or in the README file
    Mar  3 17:49:26 scrappy dhcpd: [ID 702911 daemon.error] before submitting a bug.  These pages explain the proper
    Mar  3 17:49:26 scrappy dhcpd: [ID 702911 daemon.error] process and the information we find helpful for debugging..
    Mar  3 17:49:26 scrappy dhcpd: [ID 702911 daemon.error]
    Mar  3 17:49:26 scrappy dhcpd: [ID 702911 daemon.error] exiting.

    Bob
    --
    Bob Friesenhahn
    bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
    GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

- Previous message: [OmniOS-discuss] USB issue with Xeon D / SuperMicro X10SDV-TLN4F motherboard
- Next message: [OmniOS-discuss] stmfproxy ALUA RSF-1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list