Provisioning cable modems with Isc dhcp server by using one network interface
Simon Hobson
simon at thehobsons.co.uk
Fri Jul 22 16:32:53 UTC 2022
<ates at telcoiletisim.com> <ates at telcoiletisim.com> 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
More information about the dhcp-users
mailing list