DHCP config. - Modem not making the request | docsis.org

You are here

DHCP config. - Modem not making the request

3 posts / 0 new
Last post
cdq74cn
DHCP config. - Modem not making the request

I want to mount a test lab with DHCP server.
So far I've only issue on configuring the dhcp server, seems there is a missing parameter on config. file.

The DHCP discovery reach well the DHCP server and offer are well sent but the Modems didn't proceed with the Request.

Can someone review the config. file or how can I tshoot the situation ?
Thanks.

============================dhcpd.conf====================================

## Declaration of the docsis-mta option (DHCP option 122) structure.

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.prov-server code 3 = { integer 8, string };
# option docsis-mta.prov-server-ip code 3 = ip-address;
option docsis-mta.kerberos code 6 = string;
option docsis-mta.tsp-ticket-granting-server-utilization code 7 = boolean;
option docsis-mta-encap code 122 = encapsulate docsis-mta;

# CableLabs VSI definition

option space VSI-Cablelabs;
option VSI-Cablelabs.devtype code 2 = text;
option VSI-Cablelabs.esafetype code 3 = text;
option VSI-Cablelabs.sernum code 4 = text;
option VSI-Cablelabs.hwver code 5 = text;
option VSI-Cablelabs.swver code 6 = text;
option VSI-Cablelabs.bootrom code 7 = text;
option VSI-Cablelabs.OUI code 8 = string;
option VSI-Cablelabs.modnum code 9 = text;
option VSI-Cablelabs.vendor code 10 = text;
option VSI-Cablelabs.o200 code 200 = text;
option VSI-Cablelabs.o201 code 201 = text;
option VSI-Cablelabs.o202 code 202 = text;
option VSI-Cablelabs.o203 code 203 = text;

option VSI-Cablelabs-encap code 43 = encapsulate VSI-Cablelabs;

####################################################################
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style interim;
update-static-leases on;

DHCPARGS=eth0;

key dhcpupdate {
algorithm hmac-md5;
secret JSpWHQO/dz9Wx1L3WLeFvA==;
}

zone lab {
primary ns.lab;
key dhcpupdate;
}

zone 10.in-addr.arpa {
primary ns.lab;
key dhcpupdate;
}

# option definitions common to all supported networks...
option domain-name "lab";
option time-offset 3600;
server-name "dhcp";
option dhcp-server-identifier 10.10.10.10;
option domain-name lab;
option domain-name-servers 10.10.10.10;
option tftp-server-name "10.10.10.10";
option log-servers 10.10.10.10;
option time-servers 10.10.10.10;
option arp-cache-timeout 3600;

ddns-hostname = pick-first-value(binary-to-ascii (16, 8, "-",substring (hardware, 1, 6)));

next-server 10.10.10.10;

default-lease-time 300;
max-lease-time 600;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

##########################################################################
# Class declaration

class "EPC3212" {}
class "EPC3925" {}

class "EPC3212" {
match if option VSI-Cablelabs.modnum = "EPC3212" and option VSI-Cablelabs.devtype = "ECM";
filename "firmware3212.bin";
ddns-hostname = concat("cm-epc3212-",binary-to-ascii (16, 8, "-",substring (hardware, 1, 6)));
}

class "EPC3925" {
match if option VSI-Cablelabs.modnum = "EPC3925" and option VSI-Cablelabs.devtype = "ECM";
filename "firmware3925.bin";
ddns-hostname = concat("cm-epc3925-",binary-to-ascii (16, 8, "-",substring (hardware, 1, 6)));
}

###########################################################################

# defining option code 125 as hex string to be sent.
option option-125 code 125 = string;

subnet 10.10.10.0 netmask 255.255.255.0 {
}

subnet 10.10.11.0 netmask 255.255.255.0 {
authoritative;
range 10.10.11.10 10.10.11.250;
send option-125 00:00:00:09:12:05:10:61:75:74:6f:69:6e:73:74:61:6c:6c:5f:64:68:63:70;
# allow members of "pktc10";
# deny members of "Clients";
# deny members of "emta";

option routers 10.10.11.7;
option broadcast-address 10.10.11.255;
# option docsis-mta.prov-server 0 "\004dhcp\003lab\000";
# option docsis-mta.kerberos "\005BASIC\0011\000";
option docsis-mta.dhcp-server-1 10.10.10.10;
option docsis-mta.dhcp-server-2 10.10.10.10;
}

============================//=================================

============== DHCP Discovery <-> Offer Packet Exchange =======================

10.10.11.7.bootps > 10.10.10.222.bootps: [udp sum ok] BOOTP/DHCP, Request from c8:0b:fb:f9:26:56 (oui Unknown), length 544, hops 1, xid 0x46aa8b54, secs 31, Flags [none] (0x0000)
Gateway-IP 10.10.11.7
Client-Ethernet-Address c8:0b:fb:f9:26:56 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Parameter-Request Option 55, length 8:
Subnet-Mask, Time-Zone, Default-Gateway, Time-Server
LOG, Domain-Name-Server, Option 122, Option 125
Vendor-Class Option 60, length 10: "docsis3.0:"
T125 Option 125, length 109: 0.0.17.139.104.1.1.2.5.99.1.1.1.2.1.2.3.1.1.4.1.1.5.1.1.6.1.1.7.1.63.8.1.16.9.1.3.10.1.1.11.1.24.12.1.1.13.2.0.64.14.2.0.16.15.1.1.16.4.0.0.0.6.17.1.0.24.1.0.25.1.0.26.1.0.29.1.0.30.1.64.31.1.32.32.1.32.33.1.2.34.1.1.35.1.0.38.2.0.255.39.1.1.44.4.0.0.0.1
Vendor-Option Option 43, length 115: 2.3.69.67.77.3.16.69.67.77.58.69.77.84.65.58.69.82.79.85.84.69.82.4.9.50.54.52.54.49.52.49.50.54.5.4.49.46.48.48.6.32.101.51.57.52.48.65.76.45.69.83.45.49.51.45.99.51.49.49.48.114.53.53.57.50.45.49.51.48.57.49.49.99.7.14.50.46.53.46.48.97.108.112.104.97.55.95.82.49.8.6.99.56.102.98.50.54.9.8.69.80.67.51.57.52.48.76.10.5.67.105.115.99.111
Client-ID Option 61, length 15: hardware-type 255, 26:f9:0b:56:00:03:00:01:c8:0b:fb:f9:26:56
MSZ Option 57, length 2: 1500
Agent-Information Option 82, length 27:
Circuit-ID SubOption 1, length 4: M-^@^A^D^V
Remote-ID SubOption 2, length 6: M-HM-{&M-y^KV
Unknown SubOption 9, length 11:
0x0000: 0000 118b 0601 0401 0203 00
END Option 255, length 0
15:29:14.164399 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 363)
10.10.10.222.bootps > 10.10.11.7.bootps: [udp sum ok] BOOTP/DHCP, Reply, length 335, hops 1, xid 0x46aa8b54, secs 31, Flags [none] (0x0000)
Your-IP 10.10.11.100
Server-IP 10.10.10.222
Gateway-IP 10.10.11.7
Client-Ethernet-Address c8:0b:fb:f9:26:56 (oui Unknown)
sname "dhcp"
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Offer
Server-ID Option 54, length 4: 10.10.10.222
Lease-Time Option 51, length 4: 300
Subnet-Mask Option 1, length 4: 255.255.255.0
Time-Zone Option 2, length 4: 3600
Default-Gateway Option 3, length 4: 10.10.11.1
Time-Server Option 4, length 4: 10.10.10.222
LOG Option 7, length 4: 10.10.10.222
Domain-Name-Server Option 6, length 4: 10.10.10.222
T122 Option 122, length 12: 17089442,2732458500,3282215646
Agent-Information Option 82, length 27:
Circuit-ID SubOption 1, length 4: M-^@^A^D^V
Remote-ID SubOption 2, length 6: M-HM-{&M-y^KV
Unknown SubOption 9, length 11:
0x0000: 0000 118b 0601 0401 0203 00
END Option 255, length 0
15:29:47.163529 IP (tos 0x0, ttl 255, id 64, offset 0, flags [none], proto UDP (17), length 572)
10.10.11.7.bootps > 10.10.10.222.bootps: [udp sum ok] BOOTP/DHCP, Request from c8:0b:fb:f9:26:56 (oui Unknown), length 544, hops 1, xid 0x46aa8b55, secs 64, Flags [none] (0x0000)
Gateway-IP 10.10.11.7
Client-Ethernet-Address c8:0b:fb:f9:26:56 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Parameter-Request Option 55, length 8:
Subnet-Mask, Time-Zone, Default-Gateway, Time-Server
LOG, Domain-Name-Server, Option 122, Option 125
Vendor-Class Option 60, length 10: "docsis3.0:"
T125 Option 125, length 109: 0.0.17.139.104.1.1.2.5.99.1.1.1.2.1.2.3.1.1.4.1.1.5.1.1.6.1.1.7.1.63.8.1.16.9.1.3.10.1.1.11.1.24.12.1.1.13.2.0.64.14.2.0.16.15.1.1.16.4.0.0.0.6.17.1.0.24.1.0.25.1.0.26.1.0.29.1.0.30.1.64.31.1.32.32.1.32.33.1.2.34.1.1.35.1.0.38.2.0.255.39.1.1.44.4.0.0.0.1
Vendor-Option Option 43, length 115: 2.3.69.67.77.3.16.69.67.77.58.69.77.84.65.58.69.82.79.85.84.69.82.4.9.50.54.52.54.49.52.49.50.54.5.4.49.46.48.48.6.32.101.51.57.52.48.65.76.45.69.83.45.49.51.45.99.51.49.49.48.114.53.53.57.50.45.49.51.48.57.49.49.99.7.14.50.46.53.46.48.97.108.112.104.97.55.95.82.49.8.6.99.56.102.98.50.54.9.8.69.80.67.51.57.52.48.76.10.5.67.105.115.99.111
Client-ID Option 61, length 15: hardware-type 255, 26:f9:0b:56:00:03:00:01:c8:0b:fb:f9:26:56
MSZ Option 57, length 2: 1500
Agent-Information Option 82, length 27:
Circuit-ID SubOption 1, length 4: M-^@^A^D^V
Remote-ID SubOption 2, length 6: M-HM-{&M-y^KV
Unknown SubOption 9, length 11:
0x0000: 0000 118b 0601 0401 0203 00
END Option 255, length 0
15:29:47.164475 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 363)
10.10.10.222.bootps > 10.10.11.7.bootps: [udp sum ok] BOOTP/DHCP, Reply, length 335, hops 1, xid 0x46aa8b55, secs 64, Flags [none] (0x0000)
Your-IP 10.10.11.100
Server-IP 10.10.10.222
Gateway-IP 10.10.11.7
Client-Ethernet-Address c8:0b:fb:f9:26:56 (oui Unknown)
sname "dhcp"
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Offer
Server-ID Option 54, length 4: 10.10.10.222
Lease-Time Option 51, length 4: 300
Subnet-Mask Option 1, length 4: 255.255.255.0
Time-Zone Option 2, length 4: 3600
Default-Gateway Option 3, length 4: 10.10.11.1
Time-Server Option 4, length 4: 10.10.10.222
LOG Option 7, length 4: 10.10.10.222
Domain-Name-Server Option 6, length 4: 10.10.10.222
T122 Option 122, length 12: 17089442,2732458500,3282215646
Agent-Information Option 82, length 27:
Circuit-ID SubOption 1, length 4: M-^@^A^D^V
Remote-ID SubOption 2, length 6: M-HM-{&M-y^KV
Unknown SubOption 9, length 11:
0x0000: 0000 118b 0601 0401 0203 00
END Option 255, length 0

============================//=================================

hinzoo
From production environment :)

subnet 10.45.0.0 netmask 255.255.0.0 {

option time-servers 10.45.0.1;
option time-offset 1;
next-server 10.45.0.1;
option log-servers 10.45.0.1;
option routers 10.45.0.1;
server-identifier 10.45.0.1;
default-lease-time 1296000;
max-lease-time 1296000;
option subnet-mask 255.255.0.0;
deny unknown-clients;

group {

include "/etc/dhcp3/cm.conf";

} # end group

} # end subnet

kwesibrunee
make sure your 10.10.11.0

make sure your 10.10.11.0 network and your 10.10.10.0 network can talk to each other. Otherwise broadcasts may go through, but when your client unicasts to the dhcp server the request is lost and it never accepts the IP it was assigned.

Log in or register to post comments