Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Provisioning cable modems with Isc dhcp server by using one
      network interface (a...@telcoiletisim.com)
   2. Re: Provisioning cable modems with Isc dhcp server by using
      one network interface (Pankaj Mishra)


----------------------------------------------------------------------

Message: 1
Date: Fri, 22 Jul 2022 15:40:34 +0300
From: <a...@telcoiletisim.com>
To: <dhcp-users@lists.isc.org>
Cc: <must...@telcoiletisim.com>
Subject: Provisioning cable modems with Isc dhcp server by using one
        network interface
Message-ID: <002501d89dc8$3db56df0$b92049d0$@telcoiletisim.com>
Content-Type: text/plain; charset="iso-8859-9"

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?

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20220722/29323df4/attachment-0001.htm>

------------------------------

Message: 2
Date: Fri, 22 Jul 2022 09:26:21 -0700
From: Pankaj Mishra <panka...@gmail.com>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Cc: must...@telcoiletisim.com
Subject: Re: Provisioning cable modems with Isc dhcp server by using
        one network interface
Message-ID:
        <cafxo8tpsvkefq_b1pwf2mtittxbubcartlth3aqvnwmzjvs...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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

On Fri, Jul 22, 2022 at 5:41 AM <a...@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@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.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 165, Issue 10
*******************************************

Reply via email to