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

Pankaj Mishra pankaj16 at gmail.com
Fri Jul 22 16:26:21 UTC 2022


have you configured interface name here   */etc/default/isc-dhcp-server ? *

On Fri, Jul 22, 2022 at 5:41 AM <ates at telcoiletisim.com> wrote:

> Hi,
>
>
>
> This is my first post to the list, i am a newbie to the ISC server and
> linux but have some experience in docsis area. We are basically trying to
> run an isc dhcp server in our lab with an E6000 to provision various brands
> cable modems as dual stack. We first aimed to provision the modems by ipv4
> but we stuck on making ready the dhcp server. We run the sw on a server
> with 2 eth interface and directly connected the eth1 to E6000 eth port and
> eth 0 for remote connection to the dhcp server.
>
>
>
> 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 {
>
>
>
> }
>
>
>
>
>
> ##############################
>
> # Device classes definitions #
>
> ##############################
>
> #
>
> # Cable Modem Class
>
> class "cable-modems" {
>
>   # only match if first 6 chars of option 61 are docsis
>
>   match if (substring(option vendor-class-identifier,0,6) = "docsis");
>
>   spawn with hardware;
>
> }
>
>
>
> # Match Clients as determined by option 61
>
> class "cpe" {
>
>   match if ((substring(option vendor-class-identifier,0,6) != "docsis")
> and (substring(option vendor-class-identifier,0,4) != "pktc"));
>
>   spawn with hardware;
>
> }
>
> ######################
>
> # Subnet definitions #
>
> ######################
>
>
>
> shared-network E6000 {
>
>
>
>   # E6000 cable modem subnet
>
>   subnet 10.30.0.0 netmask 255.255.255.0 {
>
>         default-lease-time 3600;
>
>         option routers 10.30.0.1;
>
>         option domain-name-servers 192.168.110.2;
>
>         option time-servers 192.168.110.2;
>
>         option time-offset 3600;
>
>         next-server 192.168.110.2;
>
>
>
>         pool {
>
>                 range 10.30.0.10 10.30.0.150;
>
>                 allow members of "cable-modems";
>
>                 filename "basic.cm";
>
>         }
>
>    }
>
>
>
>    # E6000 CPE subnet
>
>   subnet 10.40.0.0 netmask 255.255.255.0 {
>
>         default-lease-time 3600;
>
>         max-lease-time 3600;
>
>         option time-offset 7200;
>
>         option routers 10.40.0.1;
>
>        #option time-servers 192.168.110.2;
>
>         option domain-name-servers 8.8.8.8;
>
>
>
>         pool {
>
>                 range 10.40.0.10 10.40.0.150;
>
>                 allow members of "cpe";
>
>         }
>
>    }
>
>
>
> }
>
>
>
> ##
>
>
>
> Our interfaces config is like this;
>
>
>
>
>
> auto lo
>
> iface lo inet loopback
>
> auto eth1
>
> iface eth1 inet static
>
>                address 192.168.110.2
>
>                netmask 255.255.255.0
>
>
>
> auto eth1.1
>
> iface eth1.1 inet static
>
>                address 10.30.0.1
>
>                netmask 255.255.255.0
>
>                vlan-raw-device eth1.1
>
>
>
> auto eth1.2
>
> iface eth1.2 inet static
>
>                address 10.40.0.1
>
>                netmask 255.255.255.0
>
>                vlan-raw-device eth1.2
>
>
>
>
>
> what we got as error is “not configured to listen on any interfaces” after
> run service isc-dhcp-server status command.
>
>
>
> Suggestions and help are welcomed.
>
>
>
> Thank you,
>
> Best Regards,
>
>
>
> Ateş
>
>
> --
> 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
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>


-- 
regards
-Pankaj!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20220722/809348a1/attachment-0001.htm>


More information about the dhcp-users mailing list