Arris / Cornerstone 1000 & Centos 5.3 (ISC DHCP 3.05) | docsis.org

You are here

Arris / Cornerstone 1000 & Centos 5.3 (ISC DHCP 3.05)

2 posts / 0 new
Last post
tmcarter
Arris / Cornerstone 1000 & Centos 5.3 (ISC DHCP 3.05)

I have a Cornerstone 1000 have I have several different modem vendors the system will not register their DHCP offered IP addresses with. THe DHCP server is an Centos 5.3 w/ ISC DHCP 3.05;

The problem vendors are:
00:10:95:xx:xx:xx
00:0f:9f:xx:xx:xx
00:90:64:xx:xx:xx

I know the DHCP server is working because I see the leases on MAC's 00:50:da:xx:xx:xx.

The owner of this CMTS stated that previously the netadmin had to create a "wildcard" and this resolved the issue... Please anyone with ANY advice please chime in...

It appears from the debug from the CMTS:

WORKING:
-------------------
[cmts1] remote1> 01/01/70 00:59:17 00:50:da:9e:57:12 Initial Rng Req Rcvd on Chnl 1. Adj: +1667 ticks, +5.50dB, +2266Hz
01/01/70 00:59:17 00:50:da:9e:57:12 Sent Rng Resp: Continue, SID 7420
01/01/70 00:59:19 00:50:da:9e:57:12 Missed Rng Req; SID 7420
01/01/70 00:59:20 00:50:da:9e:57:12 Missed Rng Req; SID 7420
01/01/70 00:59:20 00:50:da:9e:57:12 Rcvd Rng Req-> Adj: +3.75dB, -625Hz
01/01/70 00:59:20 00:50:da:9e:57:12 Sent Rng Resp: Success, SID 7420
01/01/70 00:59:25 00:50:da:9e:57:12 DHCP DISCOVER:
DA=ff:ff:ff:ff:ff:ff SA=00:50:da:9e:57:12
SRC IP=0.0.0.0 DST IP=255.255.255.255
yiaddr=0.0.0.0
01/01/70 00:59:26 00:50:da:9e:57:12 DHCP OFFER:
DA=00:50:da:9e:57:12 SA=00:40:05:3a:68:d6
SRC IP=172.17.0.1 DST IP=172.17.5.254
yiaddr=172.17.5.254
01/01/70 00:59:26 00:50:da:9e:57:12 DHCP REQUEST:
DA=ff:ff:ff:ff:ff:ff SA=00:50:da:9e:57:12
SRC IP=0.0.0.0 DST IP=255.255.255.255
yiaddr=0.0.0.0
01/01/70 00:59:26 00:50:da:9e:57:12 DHCP ACK:
DA=00:50:da:9e:57:12 SA=00:40:05:3a:68:d6
SRC IP=172.17.0.1 DST IP=172.17.5.254
yiaddr=172.17.5.254
01/01/70 00:59:26 00:50:da:9e:57:12 SID:7420, TFTP Read Request
01/01/70 00:59:27 00:50:da:9e:57:12 Rcvd Reg Req; SID 7420
01/01/70 00:59:27 00:50:da:9e:57:12 Reg Req
01/01/70 00:59:27 00:50:da:9e:57:12 Authorizing.. Success !!; SID 7420
(Priority 0) -> Up/Down=0.51/0.51 Mbps,Privacy OFF
01/01/70 00:59:27 00:50:da:9e:57:12 Sending Reg Resp; SID 7420
================================

NOT WORKING:
------------------------
[cmts1] remote1> 01/01/70 01:02:18 00:90:64:95:b3:da Initial Rng Req Rcvd on Chnl 1. Adj: +2849 ticks, +235Hz
01/01/70 01:02:18 00:90:64:95:b3:da Sent Rng Resp: Continue, SID 7423
01/01/70 01:02:19 00:90:64:95:b3:da Rcvd Rng Req-> Adj: -703Hz
01/01/70 01:02:19 00:90:64:95:b3:da Sent Rng Resp: Success, SID 7423
01/01/70 01:02:22 00:90:64:95:b3:da DHCP DISCOVER:
DA=ff:ff:ff:ff:ff:ff SA=00:90:64:95:b3:da
SRC IP=0.0.0.0 DST IP=255.255.255.255
yiaddr=0.0.0.0
01/01/70 01:02:23 00:90:64:95:b3:da DHCP OFFER:
DA=00:90:64:95:b3:da SA=00:40:05:3a:68:d6
SRC IP=172.17.0.1 DST IP=172.17.5.228
yiaddr=172.17.5.228
01/01/70 01:02:27 00:90:64:95:b3:da DHCP DISCOVER:
DA=ff:ff:ff:ff:ff:ff SA=00:90:64:95:b3:da
SRC IP=0.0.0.0 DST IP=255.255.255.255
yiaddr=0.0.0.0
01/01/70 01:02:27 00:90:64:95:b3:da DHCP OFFER:
DA=00:90:64:95:b3:da SA=00:40:05:3a:68:d6
SRC IP=172.17.0.1 DST IP=172.17.5.228
yiaddr=172.17.5.228
01/01/70 01:02:29 00:90:64:95:b3:da Rcvd Rng Req-> Adj: nothing.
01/01/70 01:02:29 00:90:64:95:b3:da Sent Rng Resp: Success, SID 7423

Output from CS1000:
---------------------------
Indx Chan Station ID Status IP Address SIDs:
---- ---- ----------------- ----------------------------- --------------- -----
1 1 00:0f:9f:57:8a:2a DHCP OFFER 0.0.0.0 7361
3 1 00:50:da:9e:64:e8 Registered 172.17.5.239 7363
4 1 00:50:04:a5:3f:32 Registered 172.17.5.253 7364
5 1 00:50:da:9c:88:bc Registered 172.17.5.236 7365
6 1 00:50:da:9c:83:74 Registered 172.17.5.242 7366
7 1 00:50:da:9d:29:92 Registered 172.17.5.249 7367
8 1 00:50:da:9d:9d:26 Registered 172.17.5.246 7368
9 1 00:50:da:9d:2a:92 Registered 172.17.5.251 7369
11 1 00:10:95:5e:1f:7e DHCP ACK 0.0.0.0 7371
12 1 00:90:64:fb:81:9c DHCP OFFER 0.0.0.0 7406
13 1 00:50:04:a6:4e:28 Registered 172.17.5.244 7373
14 1 00:10:95:28:99:f3 DHCP ACK 0.0.0.0 7374
15 1 00:11:e3:7f:20:66 DHCP OFFER 0.0.0.0 7413
16 1 00:10:95:5c:c3:06 DHCP ACK 0.0.0.0 7376
17 1 00:50:da:9e:57:12 Registered 172.17.5.254 7402
18 1 00:90:64:94:54:0b DHCP OFFER 0.0.0.0 7415
19 1 00:90:64:98:0f:6a DHCP OFFER 0.0.0.0 7405
20 1 00:90:64:95:b3:da DHCP ACK 0.0.0.0 7412
21 1 00:10:95:5e:28:45 DHCP ACK 0.0.0.0 7414
22 1 00:50:da:a0:1e:58 Registered 172.17.5.233 7387
23 1 00:50:da:a5:1a:b0 Registered 172.17.5.231 7393

Here is my DHCPD.CONF:
--------------------------------
filename "15.bin";
authoritative;
allow unknown-clients;
option domain-name "canyoncable.com";
option domain-name-servers 208.67.222.222, 208.67.220.220;
option subnet-mask 255.255.255.0;
option broadcast-address 172.17.5.255;
default-lease-time 14400;
max-lease-time 172800;
ddns-update-style none;
allow client-updates;
# file for the cable modems
# filename "/LCN_DATA/15.bin";
subnet 0.0.0.0 netmask 0.0.0.0 {
authoritative;
allow unknown-clients;
filename "15.bin";
class "aaaa" {
match option dhcp-client-identifier;
}
subclass "aaaa" 1:00:50:da:9d:2a:92;
subclass "aaaa" 1:00:50:da:9c:88:bc;
subclass "aaaa" 1:00:50:da:9d:9d:26;
subclass "aaaa" 1:00:50:da:9c:83:74;
subclass "aaaa" 1:00:50:04:a6:4e:28;
subclass "aaaa" 1:00:50:da:9d:29:92;
subclass "aaaa" 1:00:50:04:a5:3f:32;
subclass "aaaa" 1:00:10:95:5e:1f:7e;
subclass "aaaa" 1:00:90:64:95:b3:da;
subclass "aaaa" 1:00:50:da:a0:1e:58;
subclass "aaaa" 1:00:0f:9f:57:8a:2a;
subclass "aaaa" 1:00:50:da:9e:64:e8;
subclass "aaaa" 1:00:10:95:5c:c3:06;
subclass "aaaa" 1:00:90:64:fb:81:9c;
subclass "aaaa" 1:00:90:64:a0:2d:e9;
subclass "aaaa" 1:00:11:e3:7f:20:66;
subclass "aaaa" 1:00:90:64:98:0f:6a;
subclass "aaaa" 1:00:90:64:ee:4a:17;
subclass "aaaa" 1:00:90:64:98:41:53;
subclass "aaaa" 1:00:90:64:94:54:0b;
subclass "aaaa" 1:00:50:da:9e:57:12;
pool {
allow unknown-clients;
option subnet-mask 255.255.0.0;
option broadcast-address 172.17.5.255;
option routers 172.17.0.1;
allow members of "aaaa";
filename "15.bin";
range dynamic-bootp 172.17.5.1 172.17.5.254;
}
}
# Static1
host test {
filename "15.bin";
hardware ethernet 00:10:95:28:99:f3;
fixed-address 172.17.5.100;
}
host test2 {
filename "15.bin";
hardware ethernet 00:0f:9f:57:8a:2a;
fixed-address 172.17.5.101;
}
# test3
host test3 {
filename "15.bin";
hardware ethernet 00:50:da:9e:57:12;
fixed-address 172.15.5.90;
}

Thanks in advance....

Ty Carter
252-946-0351

kwesibrunee
Ty, A few potential probs

Ty,

A few potential probs with your config

1. class aaaa {
  match option dhcp-client-identifier;
}
may not always work like you think because each vendor is free to change this to anything they like i.e. Serial Number etc...

use

match hardware;

instead will be more reliable

2. missing some required options. Some modems require a bare minimum of options to come online

these are:

routers
subnet-mask
tftp-server and/or next-server
time-server
log-server
filename and/or bootfile-name

the time-server and log-server don't have to point to a real server but the option must be present for some modems i.e. motorola modems to come online. If you don't have these servers point them at your CMTS ip

3. subnet 0.0.0.0 netmask 0.0.0.0 { } While this may work, this is not the way you want to group your subnets

Depending on your setup you may want to use a shared network
the sample below will treat the separate networks 172.17.0.0/16 and 192.168.0.0/24 as if they were the same network

shared-network ModemNetwork {
#Modem subnet
subnet 172.17.0.0 netmask 255.255.0.0 {
}
# Subnet the actual dhcp requests come from i.e. your primary IP on your cable interface
subnet 192.168.0.0 netmask 255.255.255.0 {
}
}

or if your primary IP on your cable interface is 172.17.0.1 the way I have it in my sample file

Here is a sample config based on your network may require some tweaking to work
#######################################################
Sample Config
#######################################################

authoritative;
#turn off Dynamic DNS updates unless you actually use them
ddns-update-style none;
ignore client-updates;

#Lease Times can be overridden below
default-lease-time 604800;
max-lease-time 604800;
min-lease-time 302400;

class "aaaa" {
  match hardware;
}

# I prefer to use host entries to subclassing but they both work equally well.
subclass "aaaa" 1:00:50:da:9d:2a:92;
subclass "aaaa" 1:00:50:da:9c:88:bc;
subclass "aaaa" 1:00:50:da:9d:9d:26;
subclass "aaaa" 1:00:50:da:9c:83:74;
subclass "aaaa" 1:00:50:04:a6:4e:28;
subclass "aaaa" 1:00:50:da:9d:29:92;
subclass "aaaa" 1:00:50:04:a5:3f:32;
subclass "aaaa" 1:00:10:95:5e:1f:7e;
subclass "aaaa" 1:00:90:64:95:b3:da;
subclass "aaaa" 1:00:50:da:a0:1e:58;
subclass "aaaa" 1:00:0f:9f:57:8a:2a;
subclass "aaaa" 1:00:50:da:9e:64:e8;
subclass "aaaa" 1:00:10:95:5c:c3:06;
subclass "aaaa" 1:00:90:64:fb:81:9c;
subclass "aaaa" 1:00:90:64:a0:2d:e9;
subclass "aaaa" 1:00:11:e3:7f:20:66;
subclass "aaaa" 1:00:90:64:98:0f:6a;
subclass "aaaa" 1:00:90:64:ee:4a:17;
subclass "aaaa" 1:00:90:64:98:41:53;
subclass "aaaa" 1:00:90:64:94:54:0b;
subclass "aaaa" 1:00:50:da:9e:57:12;

# generally your DHCP server is going to exist in a physically different subnet than your cable network
# putting this entry here tells dhcpd to listen on this interface it is empty because we don't want to respond to requests for this network
# Subnet of the ethernets primary Nic Empty because we don't want to respond to DHCP requests on this interface
subnet 24.137.0.0 netmask 255.255.255.0 {
}

# Pool for modems
subnet 172.17.0.0 255.255.0.0 {
  # Missing options
  # TFTP server use both options some modems want it as a tftp-server-name others want a next-server
  option tftp-server-name "172.17.0.2";
  next-server 172.17.0.2;
  # Some modems notably Motorola modems will not come online without time and log servers it does not have to actually exist or be
  #listening but #needs to be present in the response
  option time-servers 172.17.0.1;
  option log-servers 172.17.0.2;
  # Time offset this is for Eastern time zone GMT -7
  option time-offset -21600;
  # Filename again some modems want it one way some modems the other putting it in both places satisfies both modems
  option bootfile-name "15.bin";
  filename "15.bin";
  pool {
    allow members of "aaaa";
    # need subnet and Routers options
    option subnet-mask 255.255.0.0;
    option routers 172.17.0.1;
    allow unknown-clients;
    # don't think you need dynamic bootp I would try it without it
    range 172.17.5.1 172.17.5.254;
  }
}
# Static1
host test {
  filename "15.bin";
  hardware ethernet 00:10:95:28:99:f3;
  fixed-address 172.17.5.100;
}
host test2 {
  filename "15.bin";
  hardware ethernet 00:0f:9f:57:8a:2a;
  fixed-address 172.17.5.101;
}
# test3
host test3 {
  filename "15.bin";
  hardware ethernet 00:50:da:9e:57:12;
  fixed-address 172.15.5.90;
}

###############################################################
End Sample Config
###############################################################

Log in or register to post comments