Home | History | Annotate | Line # | Download | only in samples
test-a6.conf revision 1.1.1.1.8.2
      1  1.1.1.1.8.2  martin #
      2  1.1.1.1.8.2  martin # Define the DHCPv6 option space.
      3  1.1.1.1.8.2  martin #
      4  1.1.1.1.8.2  martin # Option numbers are assigned by IANA:
      5  1.1.1.1.8.2  martin # http://www.iana.org/assignments/dhcpv6-parameters
      6  1.1.1.1.8.2  martin #
      7  1.1.1.1.8.2  martin option dhcp6.time-servers code 1040 = array of ip6-address;
      8  1.1.1.1.8.2  martin option dhcp6.time-offset code 1041 = signed integer 32;
      9  1.1.1.1.8.2  martin 
     10  1.1.1.1.8.2  martin #
     11  1.1.1.1.8.2  martin # Define the DOCSIS option space.
     12  1.1.1.1.8.2  martin # TODO: DOCSIS oro definition
     13  1.1.1.1.8.2  martin #
     14  1.1.1.1.8.2  martin # this space is already known by Kea
     15  1.1.1.1.8.2  martin option space docsis code width 2 length width 2;
     16  1.1.1.1.8.2  martin option vsio.docsis code 4491 = encapsulate docsis;
     17  1.1.1.1.8.2  martin option docsis.tftp-servers code 32 = array of ip6-address;
     18  1.1.1.1.8.2  martin % option docsis.tftp-servers local;
     19  1.1.1.1.8.2  martin option docsis.cablelabs-configuration-file code 33 = text;
     20  1.1.1.1.8.2  martin % option docsis.cablelabs-configuration-file alias config-file;
     21  1.1.1.1.8.2  martin % option docsis.cablelabs-configuration-file local;
     22  1.1.1.1.8.2  martin option docsis.cablelabs-syslog-servers code 34 = array of ip6-address;
     23  1.1.1.1.8.2  martin % option docsis.cablelabs-syslog-servers alias syslog-servers;
     24  1.1.1.1.8.2  martin % option docsis.cablelabs-syslog-servers local;
     25  1.1.1.1.8.2  martin #option docsis.device-id code 36 = string;
     26  1.1.1.1.8.2  martin % option docsis.device-id code 36 = "X";
     27  1.1.1.1.8.2  martin % option docsis.device-id local;
     28  1.1.1.1.8.2  martin 
     29  1.1.1.1.8.2  martin # 
     30  1.1.1.1.8.2  martin # Declare some options.
     31  1.1.1.1.8.2  martin #
     32  1.1.1.1.8.2  martin option dhcp6.time-servers 3ffe:bbbb:aaaa:aaaa::1, 3ffe:bbbb:aaaa:aaaa::2;
     33  1.1.1.1.8.2  martin option docsis.tftp-servers 3ffe:cccc:aaaa:aaaa::1, 3ffe:cccc:aaaa:aaaa::2;
     34  1.1.1.1.8.2  martin 
     35  1.1.1.1.8.2  martin #
     36  1.1.1.1.8.2  martin # DNS server IP address to update dynamically
     37  1.1.1.1.8.2  martin #
     38  1.1.1.1.8.2  martin ddns-update-style interim;
     39  1.1.1.1.8.2  martin ddns-domainname "foo.com";
     40  1.1.1.1.8.2  martin 
     41  1.1.1.1.8.2  martin #
     42  1.1.1.1.8.2  martin # Per-host settings.
     43  1.1.1.1.8.2  martin #
     44  1.1.1.1.8.2  martin host cablemodem-1 {
     45  1.1.1.1.8.2  martin 	host-identifier option
     46  1.1.1.1.8.2  martin 		dhcp6.client-id 00:01:00:01:0c:00:a1:41:00:06:5b:50:99:f6;
     47  1.1.1.1.8.2  martin 	fixed-address6 3ffe:aaaa:aaaa:aaaa::ffff;
     48  1.1.1.1.8.2  martin 	ddns-domainname "bar.com";
     49  1.1.1.1.8.2  martin 	option dhcp6.time-servers 3ffe:aaaa:aaaa:aaaa::1, 
     50  1.1.1.1.8.2  martin 				   3ffe:aaaa:aaaa:aaaa::2;
     51  1.1.1.1.8.2  martin 	option docsis.tftp-servers 3ffe:aaaa:aaaa:aaaa::1,
     52  1.1.1.1.8.2  martin 				   3ffe:aaaa:aaaa:aaaa::2;
     53  1.1.1.1.8.2  martin 	option dhcp6.time-offset -14400;	# -4 hours
     54  1.1.1.1.8.2  martin 	option docsis.cablelabs-configuration-file "bootfile.cfg";
     55  1.1.1.1.8.2  martin 	option docsis.cablelabs-syslog-servers 3ffe:aaaa:aaaa:aaaa::1,
     56  1.1.1.1.8.2  martin 					       3ffe:aaaa:aaaa:aaaa::2;
     57  1.1.1.1.8.2  martin }
     58  1.1.1.1.8.2  martin 
     59  1.1.1.1.8.2  martin #host cablemodem-2 {
     60  1.1.1.1.8.2  martin #	host-identifier option docsis.device-id 00:06:5B:50:99:F6;
     61  1.1.1.1.8.2  martin #	option dhcp6.time-servers 3ffe:dddd:aaaa:aaaa::1, 
     62  1.1.1.1.8.2  martin #				   3ffe:dddd:aaaa:aaaa::2;
     63  1.1.1.1.8.2  martin #	option docsis.tftp-servers 3ffe:dddd:aaaa:aaaa::1,
     64  1.1.1.1.8.2  martin #				   3ffe:dddd:aaaa:aaaa::2;
     65  1.1.1.1.8.2  martin #	option dhcp6.time-offset -14400;	# -4 hours
     66  1.1.1.1.8.2  martin #	option docsis.cablelabs-configuration-file "bootfile.cfg";
     67  1.1.1.1.8.2  martin #	option docsis.cablelabs-syslog-servers 3ffe:aaaa:aaaa:aaaa::1,
     68  1.1.1.1.8.2  martin #					       3ffe:aaaa:aaaa:aaaa::2;
     69  1.1.1.1.8.2  martin #}
     70  1.1.1.1.8.2  martin 
     71  1.1.1.1.8.2  martin # XXX: for testing
     72  1.1.1.1.8.2  martin subnet6 3ffe:aaaa:aaaa:aaaa::/64 {
     73  1.1.1.1.8.2  martin }
     74  1.1.1.1.8.2  martin 
     75  1.1.1.1.8.2  martin 
     76