File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / dhcp / tests / DHCPv6 / test-a.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 dhcp6.time-servers code 40 = array of ip6-address;
    8: option dhcp6.time-offset code 41 = signed integer 32;
    9: 
   10: #
   11: # Define the DOCSIS option space.
   12: # TODO: DOCSIS oro definition
   13: #
   14: option space docsis code width 2 length width 2;
   15: option vsio.docsis code 4491 = encapsulate docsis;
   16: option docsis.tftp-servers code 32 = array of ip6-address;
   17: option docsis.cablelabs-configuration-file code 33 = text;
   18: option docsis.cablelabs-syslog-servers code 34 = array of ip6-address;
   19: option docsis.device-id code 36 = string;
   20: 
   21: # 
   22: # Declare some options.
   23: #
   24: option dhcp6.time-servers 3ffe:bbbb:aaaa:aaaa::1, 3ffe:bbbb:aaaa:aaaa::2;
   25: option docsis.tftp-servers 3ffe:cccc:aaaa:aaaa::1, 3ffe:cccc:aaaa:aaaa::2;
   26: 
   27: #
   28: # DNS server IP address to update dynamically
   29: #
   30: ddns-update-style interim;
   31: ddns-domainname "foo.com";
   32: 
   33: #
   34: # Per-host settings.
   35: #
   36: host cablemodem-1 {
   37: 	host-identifier option
   38: 		dhcp6.client-id 00:01:00:01:0c:00:a1:41:00:06:5b:50:99:f6;
   39: 	fixed-address6 3ffe:aaaa:aaaa:aaaa::ffff;
   40: 	ddns-domainname "bar.com";
   41: 	option dhcp6.time-servers 3ffe:aaaa:aaaa:aaaa::1, 
   42: 				   3ffe:aaaa:aaaa:aaaa::2;
   43: 	option docsis.tftp-servers 3ffe:aaaa:aaaa:aaaa::1,
   44: 				   3ffe:aaaa:aaaa:aaaa::2;
   45: 	option dhcp6.time-offset -14400;	# -4 hours
   46: 	option docsis.cablelabs-configuration-file "bootfile.cfg";
   47: 	option docsis.cablelabs-syslog-servers 3ffe:aaaa:aaaa:aaaa::1,
   48: 					       3ffe:aaaa:aaaa:aaaa::2;
   49: }
   50: 
   51: #host cablemodem-2 {
   52: #	host-identifier option docsis.device-id 00:06:5B:50:99:F6;
   53: #	option dhcp6.time-servers 3ffe:dddd:aaaa:aaaa::1, 
   54: #				   3ffe:dddd:aaaa:aaaa::2;
   55: #	option docsis.tftp-servers 3ffe:dddd:aaaa:aaaa::1,
   56: #				   3ffe:dddd:aaaa:aaaa::2;
   57: #	option dhcp6.time-offset -14400;	# -4 hours
   58: #	option docsis.cablelabs-configuration-file "bootfile.cfg";
   59: #	option docsis.cablelabs-syslog-servers 3ffe:aaaa:aaaa:aaaa::1,
   60: #					       3ffe:aaaa:aaaa:aaaa::2;
   61: #}
   62: 
   63: # XXX: for testing
   64: subnet6 fe80::20c:29ff:fe42:820/128 {
   65: }
   66: 
   67: 

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