Results 1 to 4 of 4

Thread: configuring isc-dhcp-server

  1. #1
    Join Date
    Dec 2010
    Beans
    370

    configuring isc-dhcp-server

    I am trying to configure this, and I set my interfaces variable to my internal interface on my server. After I do a restart of the service, I see that it is listening as follows:
    Code:
    udp        0      0 0.0.0.0:67              0.0.0.0:*                           2850/dhcpd          
    
    This means all interfaces, right? Is there any way to prevent this from happening?

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    15,494
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: configuring isc-dhcp-server

    Try specifying the interface on the command line. I haven't used dhcpd for a while myself, but I recall it was as simple as:

    Code:
    /usr/sbin/dhcpd eth1
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Dec 2010
    Beans
    370

    Re: configuring isc-dhcp-server

    That did not work.
    I started it, did a status, and it says no subnet declaration for the external interface, so it's ignoring requests there, which is what I want, but I am surprised there isn't a way to just tell it to only listen on a certain interface.

  4. #4
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,177

    Re: configuring isc-dhcp-server

    Here you go:
    https://linux.die.net/man/5/dhcpd.conf

    No, we won't read the manual for you.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •