3 CMTS and 1 DHCP server problem | docsis.org

You are here

3 CMTS and 1 DHCP server problem

3 posts / 0 new
Last post
devnull
3 CMTS and 1 DHCP server problem

Hi,

We have 3 CMTS and we want to serve fixed ip address to CM on any cmts.

cmts1 cm network: 10.100.0.0/16
cmts2 cm network: 10.101.0.0/16
cmts3 cm network: 10.102.0.0/16

We want serv to modem1:
- on cmts1 10.100.1.2
- on cmts2 10.101.1.2
- on cmts3 10.102.1.2

current dhcpd.conf:
---
ddns-update-style none;
ignore client-updates;
always-broadcast off;
do-forward-updates on;
one-lease-per-client true;

ddns-updates off;
default-lease-time 10800;
option domain-name "docsis.xxxxxxx.hu";
option domain-name-servers 192.168.4.2;
option log-servers 192.168.4.2;
option time-offset 7200;
option time-servers 192.168.4.2;
option tftp-server-name "192.168.4.2";
next-server 192.168.4.2;
option host-name = host-decl-name;

option space docsis-mta;
option docsis-mta.dhcp-server-1 code 1 = ip-address;
option docsis-mta.dhcp-server-2 code 2 = ip-address;
option docsis-mta.provision-server code 3 = { integer 8, string };
option docsis-mta.as-req-as-rep-1 code 4 = { integer 32, integer 32, integer 32 };
option docsis-mta.as-req-as-rep-2 code 5 = { integer 32, integer 32, integer 32 };
option docsis-mta.krb-realm-name code 6 = string;
option docsis-mta.tgs-util code 7 = integer 8;
option docsis-mta.timer code 8 = integer 8;
option docsis-mta.ticket-ctrl-mask code 9 = integer 16;
option docsis-mta-pkt code 122 = encapsulate docsis-mta;

option docsis-mta.dhcp-server-1 192.168.4.2;
option docsis-mta.provision-server 0 "\006docsis\007xxxxxxx\002hu\000";
option docsis-mta.krb-realm-name "\005BASIC\0011\000";

class "CM" { match hardware; vendor-option-space docsis-mta; }
class "MTA" { match hardware; }

subnet 192.168.4.0 netmask 255.255.255.0 { }

shared-network docsis {
subnet 10.100.0.0 netmask 255.255.0.0 { option routers 10.100.0.1; option subnet-mask 255.255.0.0; }
subnet 10.101.0.0 netmask 255.255.0.0 { option routers 10.101.0.1; option subnet-mask 255.255.0.0; }
subnet 10.102.0.0 netmask 255.255.0.0 { option routers 10.102.0.1; option subnet-mask 255.255.0.0; }
}

subclass "CM" 1:00:26:5A:DA:75:1F;
host cm00265ada751f { hardware ethernet 00:26:5A:DA:75:1F; filename "00265ada751f.cm"; option bootfile-name "00265ada751f.cm"; fixed-address 10.100.1.2, 10.101.1.2, 10.102.1.2; }
---

It's works but serve the first ip address on all cmts.

kwesibrunee
you need to break up your

you need to break up your networks like so (assuming requests from cmts 1 come from 10.100.0.0/16 requests from cmts2 come from 10.101.0.0/16 and requests from cmts3 come from 10.102.0.0/16)

shared-network cmts1 {
subnet 10.100.0.0 netmask 255.255.0.0 { option routers 10.100.0.1; option subnet-mask 255.255.0.0; }
}
shared-network cmts2 {
subnet 10.101.0.0 netmask 255.255.0.0 { option routers 10.101.0.1; option subnet-mask 255.255.0.0; }
}
shared-network cmts3 {
subnet 10.102.0.0 netmask 255.255.0.0 { option routers 10.102.0.1; option subnet-mask 255.255.0.0; }
}

devnull
thanks a lot, works fine.

thanks a lot, works fine.

Log in or register to post comments