Cisco Systems 5.4.x Network Router User Manual


 
12-6
User Guide for Cisco Digital Media Manager 5.4.x
OL-15762-05
Chapter 12 Register DMPs
Concepts
dhcpd Example
An example here shows entries in the dhcpd.conf file for a Linux-based DHCP server called dhcpd.
Entries like these advertise the IP address of your authoritative DMM appliance—converted here from
decimal to hex and shown in red—to any DMPs that should trust its directives implicitly.
option domain-name "example.com";
option domain-name-servers 192.168.1.1;
option option-125 code 125 = string;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.200 192.168.1.210;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
}
class "DMM" {
match if option option-125 = "\x00\x00\x00\x09\x06\x13\x04\x01\x44\x4d\x4d";
option option-125
"\x00\x00\x00\x09\x0b\x14\x09\x01\
x80\x6b\xe0\xbc\x1f\x90\x00\x01";
}
Tip The Linux CLI can easily convert IP address octets from decimal to hexadecimal.
$ echo 'ibase=10;obase=16; ' | bc
And so, in keeping with the previous conversion example, shown in red:
128 becomes x80
107 becomes x6b
224 becomes xe0
188 becomes xbc
Note See the Medianet documentation on Cisco.com for detailed instructions.
Windows Server Example
In contrast, the DHCP offering in Windows Server 2008 (and, likewise, Windows Server 2003) cannot
handle DHCP option 125 queries natively. Therefore, you must install a “callout” DLL that injects this
ability into the server before you can configure it to advertise the availability of any service.
Note For 32-bit Windows Server, the DLL filename is DHCPSDDLLx86.DLL.
For 64-bit Windows Server, the DLL filename is DHCPSDDLLx64.DLL.
octet
(Remember to use a closing quote mark before the pipe.)