ISC DHCP Question

Posted on 2004-11-28
Last Modified: 2012-05-05
Is it possible to configure ISC DHCP Server v3 to listen to a specific interface even though the IP of the interface does not match the subnet range for the clients.

Eg. server IP: Serving clients with IP range ->
Question by:perola
    LVL 40

    Accepted Solution

    Yes, you can bind dhcpd to an interface(s). But a case where the subnet attached to an interface is different from the subnet the interface is configured for makes no sense.

    I'd presume that your network topology has a router or firewall in between. In which case you need a DHCP relay agent running on the router/firewall and a subnet declaration for the -> subnet on the DHCP server.

    Author Comment

    Yes, we have a Cisco router (relay agent) that relays all DHCP traffic to a specific port (in this case the port where the DHCP Server is located),  this DHCP server is supposed to serve miltiple subnets with IP-addresses using Option-82. And we do not want to set an IP-addess on the DHCP Servers interface for each subnet.

    But what do I write in the dhcpd.conf to bind all DHCP to one interface reguardless from the interface IP.

    Expert Comment

    Just start it with the interface you want it to bind to as parameter. For example: dhcpd eth0.
    LVL 40

    Expert Comment

    In that case simply binding the DHCP server to the interface(s) that it should server requests on and creating subnet declarations for each of the subnets is all that's necessary. The DHCP relay agent does all the magic about routing the reply back to the client.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now