Re: Provisioning cable modems with Isc dhcp server by using one network interface

Simon Hobson <[email protected]> Fri, 22 Jul 2022 17:32:53 +0100
Newsgroups gmane.network.dhcp.isc.dhcp-server
Message-ID <[email protected]>
<[email protected]> <[email protected]> wrote:

> The eth1 port ip address of the dhcp server is 192.168.110.2.
> The ip pool for CMs is from  10.30.0.0/24
> The ip poll for CPEs is from 10.40.0.0/24
>  
> We won’t use MTAs for now.
>  
> We use ubuntu 18 and ISC  Dhcp server 4.3.5.
>  
>  
>  
>  
> Our dhcpd config is as below;
>  
>  
>  
>  
>  
> #####
> authoritative;
> ddns-update-style none;
> ping-check false;
> allow leasequery;
> log-facility local0;
>  
> subnet 192.168.110.2 netmask 255.255.255.255 {
> <snip>

Is this correct ?

> what we got as error is “not configured to listen on any interfaces” after run service isc-dhcp-server status command.

You need to check the configuration for your specific distro. For example, on Debian & derivatives there is a file /etc/default/isc-dhcp-server which amongst other things allows you to list interfaces to listen on. I suspect that somewhere there is an empty list being passed, or a list containing non-existent interfaces (and none which do actually exist), and so you are getting this error.
If all else fails, try starting it manually with the right options and see what happens - if you get it to run then it localises the issue to environment/arguments used by the normal startup scripts.

Simon

-- 
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users