Cisco CNR Question Please | docsis.org

You are here

Cisco CNR Question Please

3 posts / 0 new
Last post
darcypa
Cisco CNR Question Please

Good day,

Using Cisco CNR I can configure a cable modem and it gets its IP and .cm file
Behind that cable modem is a host that I want to make an ip to mac reservation and then send a file to the host right after dhcp using tftp.

this is what it would look like using a linux dhcp server (snip from dhcpd.conf)

(Note this is in a lab environment so the IP's are not public)

#!/bin/sh
authoritative;
ddns-update-style none;
deny duplicates;
one-lease-per-client true;

#Do Not Remove ---PacketCable--- STARTS
option option-177 code 177 = encapsulate o177;
option space o177;
option o177.primarydhcp code 1 = text;
option o177.secondarydhcp code 2 = text;
option o177.snmp code 3 = text;
option o177.primarydns code 4 = text;
option o177.secondarydns code 5 = text;
option o177.kerbrealm code 6 = text;
option o177.gettgt code 7 = boolean;
option o177.timer code 8 = integer 8;
option o177.cmsfqdn code 9 = text;
option o177.kerbip code 51 = ip-address;

option option-122 code 122 = encapsulate o122;
option space o122;
option o122.primarydhcp code 1 = ip-address;
option o122.secondarydhcp code 2 = ip-address;
option o122.provaddress code 3 = string;
option o122.asbackoff code 4 = string;
option o122.apbackoff code 5 = string;
option o122.kerbrealm code 6 = string;
option o122.gettgt code 7 = boolean;
option o122.timer code 8 = integer 8;
#Do Not Remove ---PacketCable--- ENDs
option default-ip-ttl 1;

#####==-- Start Auto-config --==#####
option domain-name-servers 192.168.0.2, 1.1.1.1;
option domain-name "yourname.com";
default-lease-time 86400;
max-lease-time 86400;
option time-offset -21600;

shared-network "EnableDHCPD" { ####=- EnableDHCPD -=#####################
subnet 172.168.100.0 netmask 255.255.255.0 { # Type: Infrastructure Desc: Enables_DHCP_on_this_interface
option subnet-mask 255.255.255.0; #
option broadcast-address 172.168.100.255; #
next-server 172.168.100.2; #
option log-servers 172.168.100.2; #
option tftp-server-name "172.168.100.2"; #
option impress-servers 172.168.100.2; #
option resource-location-servers 172.168.100.2; #
}################################################################ Class: EOSubnet
subnet 10.1.0.0 netmask 255.255.255.0 { # Type: Modem Desc: CableModem_Node1
option subnet-mask 255.255.255.0; #
option broadcast-address 10.1.0.255; #
option routers 10.1.0.1; #
next-server 10.1.0.1; #
option log-servers 10.1.0.1; #
option tftp-server-name "10.1.0.1"; #
option impress-servers 10.1.0.1; #
option resource-location-servers 10.1.0.1; #
filename "open.cm"; #
option time-servers 10.1.0.1; #
max-lease-time 86400; #
default-lease-time 86400; #
}################################################################ Class: EOSubnet
subnet 172.168.101.0 netmask 255.255.255.0 { # Type: CPE Desc: PC_address-Space
range 172.168.101.2 172.168.101.254; #
option subnet-mask 255.255.255.0; #
option broadcast-address 172.168.101.255; #
option routers 172.168.101.1; #
next-server 172.168.100.2; #
option log-servers 172.168.100.2; #
option tftp-server-name "172.168.100.2"; #
option impress-servers 172.168.100.2; #
option resource-location-servers 172.168.100.2; #
filename "open.cm"; #
option time-servers 172.168.100.2; #
max-lease-time 86400; #
default-lease-time 86400; #
}################################################################ Class: EOSubnet
}####==-- CMTS_Node1 --==################################################ Class: EONetwork

group {

host EmbeddedCableModem001 {hardware ethernet 00:10:3f:05:fe:83;
fixed-address 010.001.000.008;
filename "open.cm"; }
# -
# -
# -
# -
# -@@@-@@@-@@@-@@@-@@@-@@@-@@@-@@@-@@@-
host HostDevice001 {hardware ethernet 00:18:48:00:c5:f3;
fixed-address 172.168.101.010;
filename "/configuraiton_tlv.bin"; }
# -
# -
# -
# -
# -
}
#EOF

Can someone send me the screen shot for how this same thing would be accomplished using Cisco CNR - Not sure what version off the top of my head.

Darcypa

kwesibrunee
I do not believe this can be

I do not believe this can be accomplished in the gui. In cisco CNR this is a two step process,

1. reserve the IP address (GUI - CLI)
2. set the client policy (CLI only)

Via the CLI you can reserve the ip fairly easily check online docs for exact verbage.

to set the config file per client you would do

client-policy [MAC_ADDRESS] setOption [OPTION] [VALUE]

i.e.
client-policy 0000.0000.0000 setOption routers 192.168.100.1

There is a priority for policies in CISCO CNR

Generic Poilcy policy [Name] setOption
Scope policy scope-policy [Name] setOption
Client policy (highest priority) client-policy [Name] setOption

djzort
re: Cisco CNR Question Please

You should contact cisco for support of CNR, why else would you shell out money for it?

Log in or register to post comments