dhcp service failing and logging this "No subnet declaration for eth1" error in /var/log/messages

Solution Verified - Updated -

Issue

  • dhcp service fails while starting and dumps following error in /var/log/message logs:

    # /etc/init.d/dhcpd start 
    Starting dhcpd:                                            [FAILED] 
    
    No subnet declaration for eth1 (XX.XX.XX.XX). 
    ** Ignoring requests on eth1.  If this is not what 
       you want, please write a subnet declaration 
       in your dhcpd.conf file for the network segment 
       to which interface eth1 is attached. ** 
    
    Not configured to listen on any interfaces!
    

Environment

  • Red Hat Enterprise Linux 5.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content