File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / dhcp / tests / DHCPv6 / test-b.conf
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Oct 9 09:06:55 2012 UTC (12 years ago) by misho
Branches: dhcp, MAIN
CVS tags: v4_1_R7p0, v4_1_R7, v4_1_R4, HEAD
dhcp 4.1 r7

    1: #
    2: # Define the DHCPv6 option space.
    3: #
    4: # Option numbers are assigned by IANA:
    5: # http://www.iana.org/assignments/dhcpv6-parameters
    6: #
    7: option dhcpv6.time-servers code 40 = array of ip6-address;
    8: option dhcpv6.time-offset code 41 = signed integer 32;
    9: 
   10: #
   11: # Define the DOCSIS option space.
   12: #
   13: option space docsis code width 2 length width 2;
   14: option docsis.tftp-servers code 32 = array of ip6-address;
   15: option docsis.cablelabs-configuration-file code 33 = text;
   16: option docsis.cablelabs-syslog-servers code 34 = array of ip6-address;
   17: option docsis.device-id code 36 = string;
   18: 
   19: # 
   20: # Declare some options.
   21: #
   22: option dhcpv6.time-servers 3ffe:bbbb:aaaa:aaaa::1, 3ffe:bbbb:aaaa:aaaa::2;
   23: option docsis.tftp-servers 3ffe:cccc:aaaa:aaaa::1, 3ffe:cccc:aaaa:aaaa::2;
   24: 
   25: #
   26: # DNS server IP address to update dynamically
   27: #
   28: ddns-update-style interim;
   29: ddns-domainname "foo.com";
   30: 
   31: #
   32: # Per-host settings.
   33: #
   34: host cablemodem-1 {
   35: 	option dhcpv6.client-id 00:01:00:01:0c:00:a1:41:00:06:5b:50:99:f6;
   36: 	fixed-address6 3ffe:aaaa:aaaa:aaaa::ffff;
   37: 	ddns-domainname "bar.com";
   38: 	option dhcpv6.time-servers 3ffe:aaaa:aaaa:aaaa::1, 
   39: 				   3ffe:aaaa:aaaa:aaaa::2;
   40: 	option docsis.tftp-servers 3ffe:aaaa:aaaa:aaaa::1,
   41: 				   3ffe:aaaa:aaaa:aaaa::2;
   42: 	option dhcpv6.time-offset -14400;	# -4 hours
   43: 	option docsis.cablelabs-configuration-file "bootfile.cfg";
   44: 	option docsis.cablelabs-syslog-servers 3ffe:aaaa:aaaa:aaaa::1,
   45: 					       3ffe:aaaa:aaaa:aaaa::2;
   46: }
   47: 
   48: host cablemodem-2 {
   49: 	option docsis.device-id 00:06:5B:50:99:F6;
   50: 	option dhcpv6.time-servers 3ffe:dddd:aaaa:aaaa::1, 
   51: 				   3ffe:dddd:aaaa:aaaa::2;
   52: 	option docsis.tftp-servers 3ffe:dddd:aaaa:aaaa::1,
   53: 				   3ffe:dddd:aaaa:aaaa::2;
   54: 	option dhcpv6.time-offset -14400;	# -4 hours
   55: 	option docsis.cablelabs-configuration-file "bootfile.cfg";
   56: 	option docsis.cablelabs-syslog-servers 3ffe:aaaa:aaaa:aaaa::1,
   57: 					       3ffe:aaaa:aaaa:aaaa::2;
   58: }
   59: 
   60: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>