Docsis server 3.5 whereis doc? | docsis.org

You are here

Docsis server 3.5 whereis doc?

9 posts / 0 new
Last post
Anonymous (not verified)
Docsis server 3.5 whereis doc?

I install docsis_server 3.5 on sles 10.2. MySQL 5.0.26. I'm try configure --> mysql --> dhcp_server update tables, but not successfully!
Doc from server 2.0.4 does not quite fit,
How to fill a table mysql dhcp_server?
I would be grateful for any assistance.
I see this ------------------------------------------------------------------------
log dhcpserver
bad verify vlan mac 001e68b1a4b4 ip gi 10.7.0.1 vlan 0 num_nets 3
LOG NEW CM GIaddr mismatch (the CM moved) gi 10.7.0.1 ip vlan 0
no netptr mac 001e68b1a4b4 ip
LOG NAK -- no subnet for ip mac 001e68b1a4b4 vlan 0
load /2 0 high(16) diff 15
-----------------------------------------------------------------------------------
log mysql
38 Query select ipaddr from docsis_update where modem_macaddr = '001e68b1a4b4'
38 Query insert delayed into sys_log ( thedate, thetime, serverid, priority, message ) values ( '2009-2-11', '16:31:40', 1, 4, 'NEW CM GIaddr mismatch (the CM moved) gi 10.7.0.1 ip vlan 0' )
38 Query insert delayed into sys_log ( thedate, thetime, serverid, priority, message ) values ( '2009-2-11', '16:31:40', 1, 4, 'NAK -- no subnet for ip mac 001e68b1a4b4 vlan 0' )
38 Query insert delayed into dhcp_log ( thedate, thetime, serverid, sending, type, dynamic_flag, mcache_flag, b_macaddr, b_ipaddr, b_modem_macaddr, subnum ) values ( '2009-2-11', '16:31:40', 1, 'NAK', 'CM', 'NO', 'NO', '130605491380', '0', '0', '503' )
----------------------------------------------------------------------------------

sonny
do you have add modem in the

do you have add modem in the table docsis_modem ?

docsis_server 3.5 config is very like docsis_server 2.0.4 , but different is the Net_option is servicd_id , and the docsis_modem don't need fix a ip address .

eddie303 (not verified)
I cannot get docsis_server

I cannot get docsis_server 3.5 to work at all. Theoretically it's all set up as I figured out (I really miss some updated documentation on the new docsis_modem table format), my docsis_modem table looks like this:
modem_macaddr cmts_vlan serialnum subnum config_file dynamic_config_file static_ip dynamic_ip config_opt
001E692D5A96 1 001E692D5A96 0 normal.cm 0 1 10
001E692D5C88 0 001E692D5C88 0 normal.cm 0 1 10
The config_opts:
server_id opt_id opt_type opt_dtype opt_value sub_opt comment
1 10 54 IP 192.168.0.1 0 DHCP server IP
1 10 6 2IP 208.67.220.220, 208.67.222.222 0 DNS Servers
1 10 2 INT32 -7200 0 Time server offset
1 10 4 IP 192.168.0.1 0 Time Server
1 10 7 IP 192.168.0.1 0 Log Server
1 10 66 IP 192.168.0.1 0 TFTP Server
1 100 54 IP 192.168.2.1 0 Gateway IP for CPE
1 100 6 2IP 208.67.220.220, 208.67.222.222 0 CPE DNS Server IP
1 10 3 IP 10.1.0.1 0 Router IP
1 100 3 IP 192.168.2.1 0 CPE Router IP

Config_nets:
nettype cmts_ip cmts_vlan network gateway grant_flag dynamic_flag full_flag range_min range_max lease_time config_opt1 config_opt2 config_opt3
CM 10.1.0.1 1 10.1.0.0/16 10.1.0.1 YES NO NO 10.1.0.2 10.1.255.254 86400 10 0 0
CPE 192.168.2.1 1 192.168.2.0/24 192.168.2.1 YES NO NO 192.168.2.2 192.168.2.254 3600 100 0 0

Cisco uBR7223 config file:
Current configuration : 3907 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot system flash slot0:uBR7200-ik9s-mz.122-15.BC2c.bin
boot system flash disk1:uBR7200-ik9s-mz.122-15.BC2c.bin
boot system flash disk0:uBR7200-ik9s-mz.122-15.BC2c.bin
boot bootldr bootflash:ubr7200-boot-mz.120-16.SC3.bin
logging queue-limit 100
enable secret 5 $1$oMx9$ERDHRv.C70W/GuloalikM0
!
fastether transmit store_and_forward enable
no cable qos permission create
no cable qos permission update
cable qos permission modems
ip subnet-zero
!
!
ip cef
ip name-server 192.168.0.1
!
ip dhcp-server 192.168.0.1
mpls ldp logging neighbor-changes
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.0.2 255.255.255.0
ip helper-address 192.168.0.1
ip route-cache same-interface
no ip mroute-cache
load-interval 30
duplex half
no cdp enable
bridge-group 1
hold-queue 200 in
hold-queue 200 out
!
interface FastEthernet1/0
no ip address
no ip mroute-cache
shutdown
duplex half
!
interface Cable2/0
description use ip policy route-map proxy-redir
ip address 192.168.2.1 255.255.255.0 secondary
ip address 10.1.0.1 255.255.0.0
ip route-cache flow
no ip mroute-cache
load-interval 30
cable tftp-enforce mark-only
cable downstream annex B
cable downstream modulation 256qam
cable downstream interleave-depth 32
cable downstream frequency 453000000
cable downstream channel-id 0
cable upstream 0 frequency 42000000
cable upstream 0 power-level 0
cable upstream 0 channel-width 1600000
cable upstream 0 minislot-size 4
cable upstream 0 modulation-profile 1
cable upstream 0 s160-atp-workaround
no cable upstream 0 shutdown
cable upstream 1 channel-width 1600000
cable upstream 1 minislot-size 4
cable upstream 1 modulation-profile 1
cable upstream 1 shutdown
cable upstream 2 channel-width 1600000
cable upstream 2 minislot-size 4
cable upstream 2 modulation-profile 1
cable upstream 2 shutdown
cable upstream 3 channel-width 1600000
cable upstream 3 minislot-size 4
cable upstream 3 modulation-profile 1
cable upstream 3 shutdown
cable upstream 4 channel-width 1600000
cable upstream 4 minislot-size 4
cable upstream 4 modulation-profile 1
cable upstream 4 shutdown
cable upstream 5 channel-width 1600000
cable upstream 5 minislot-size 4
cable upstream 5 modulation-profile 1
cable upstream 5 shutdown
cable source-verify dhcp
cable dhcp-giaddr policy
cable helper-address 192.168.0.1
no keepalive
!
interface Cable3/0
no ip address
no ip mroute-cache
shutdown
cable downstream annex B
cable downstream modulation 64qam
cable downstream interleave-depth 32
cable downstream channel-id 1
cable upstream 0 channel-width 1600000
cable upstream 0 minislot-size 4
cable upstream 0 modulation-profile 1
cable upstream 0 shutdown
cable upstream 1 channel-width 1600000
cable upstream 1 minislot-size 4
cable upstream 1 modulation-profile 1
cable upstream 1 shutdown
cable upstream 2 channel-width 1600000
cable upstream 2 minislot-size 4
cable upstream 2 modulation-profile 1
cable upstream 2 shutdown
cable upstream 3 channel-width 1600000
cable upstream 3 minislot-size 4
cable upstream 3 modulation-profile 1
cable upstream 3 shutdown
cable upstream 4 channel-width 1600000
cable upstream 4 minislot-size 4
cable upstream 4 modulation-profile 1
cable upstream 4 shutdown
cable upstream 5 channel-width 1600000
cable upstream 5 minislot-size 4
cable upstream 5 modulation-profile 1
cable upstream 5 shutdown
!
ip classless
no ip route static inter-vrf
ip route 0.0.0.0 0.0.0.0 192.168.0.1
no ip http server
no ip http secure-server
!
!
!
logging 192.168.0.1
dialer-list 1 protocol ip permit
cdp run
!
!
bridge 1 protocol dec
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password cmtscmts
login
line vty 5 15
password cmtscmts
login
!
scheduler allocate 4000 400
end

Now, the facts:
The cmts is up for tests for now, and I want to get it up normally, I welcome any suggestions to change the cmts config, as I'm a newcomer to docsis, and I didn't work with any qos yet, since I mostly worked on small networks.
My problem is that I cannot get docsis_server to serve any IP addresses through dhcp, I am watching the traffic with tshark, all I get is the following:
4064.529491 10.1.0.1 -> 192.168.0.1 DHCP DHCP Discover - Transaction ID 0x38ba53b3
4064.529503 192.168.0.1 -> 10.1.0.1 ICMP Destination unreachable (Port unreachable)

routing is set up correctly, as this setup worked with the ISC DHCPD. The sys_log table doesn't show anything interesting, the dhcp log has 4 records with 4 NAK's which were added when I stopped ISC DHCPD and started docsis_server. Also, sometimes the program segfaults with stack smashing attempt.

Thanks in advance!

sonny
what kind linux are you

what kind linux are you using ?
confirm the docsis server is still running ?
---> 4064.529503 192.168.0.1 -> 10.1.0.1 ICMP Destination unreachable (Port unreachable)
i think the docsis server is already shutdown !
i think is the same problem with me before!
by the way the cmts_vlan config it to 1 is ok.

eddie303 (not verified)
Re: what kind linux are you

Hello,

it was on Ubuntu 8.04 but I already gave up on it, either way I don't need dynamic config files, instead I opted on using dhcpgen, a little program written in C which generates a dhcpd.conf based on a mysql database. I wrote a cron script which periodically generates a new dhcpd.conf and checks if the size of the running config file differs from the generated one, if yes, it changes the config file and restarts dhcpd. I even wrote an e-mail to docsis_guy related to this problem, but he didn't reply yet.

sonny
i think docsis_guy already

i think docsis_guy already don't have ppl to mantaince this.

and dynamic config file is dynamic config DOCSIS Cable modem configure file , not DOCSIS Server .
and i have used some program to test docsis server and isc dhcpd , may be will have problem when a lot of client request in the same time , on isc dhcp server.

also DOCSIS 3.5 is very different with whe web site doc. you need check the table

itsnewtoyou
Debian 5.0

I have 3.5 running on Debian 5.0 right now. I changed the start-up scripts and the check scripts to work with with Debian. Since Debian and Ubuntu pretty much use the same repositories you should be able to get it working. I haven't been able to get a dynamic config working yet but I am slowing breaking down how it all works. I am using it on a CMTS1500 for a test bed.

The one thing I am trying to decipher is what is the docsis_update for. Modems are automatically added in there but what purpose does it serve? It would be nice if there was a description of each of the tables at the very least. I would have no problem helping update the docs with the developer. I think there are enough people on this board alone that could help add some much needed information.

ItsNewToYou

sonny
about the docsis_update , i

about the docsis_update , i think is like show cable modem . but some cable modem don't support docsis_Server get back the all information in docsis_update table .

dave3
Documentation

I am also using docsis_server 3.5 on Debian 5 and I too think that the project could use some documentation. I've successfully built and installed the server and I'm currently using it for about 20 modems. Some of the tables are a bit confusing.

Did you ever get the dynamic configs working? If so I'd be very interested to hear what you did.

I can be contacted at: dave [at] skyviewtech [dot] c o m

Log in or register to post comments