]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3554] Config examples updated
authorTomek Mrugalski <tomasz@isc.org>
Tue, 23 Dec 2014 10:41:43 +0000 (11:41 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 23 Dec 2014 10:41:43 +0000 (11:41 +0100)
 - clarified that order in mac-sources is important
 - tweaked all examples to use eth9 rather than more common eth0

doc/examples/kea4/multiple-options.json
doc/examples/kea4/several-subnets.json
doc/examples/kea4/single-subnet.json
doc/examples/kea6/advanced.json
doc/examples/kea6/multiple-options.json
doc/examples/kea6/several-subnets.json
doc/examples/kea6/simple.json

index 9b125dc1b94898bdb3fa2f800e4f4e0348e5a3d6..9b66c01501f043a42f9b23a1c54401babb697cf1 100644 (file)
@@ -4,8 +4,8 @@
 { "Dhcp4":
 
 {
-# Kea is told to listen on eth0 interface only.
-  "interfaces": [ "eth0" ],
+# Kea is told to listen on eth9 interface only.
+  "interfaces": [ "eth9" ],
 
 # We need to specify lease type. As of May 2014, three backends are supported:
 # memfile, mysql and pgsql. We'll just use memfile, because it doesn't require
index aff824b64027196edf46c9dfa5884173cd25f784..006ae51d77fe4da97efbea74255c77c34defea4f 100644 (file)
@@ -5,8 +5,8 @@
 { "Dhcp4":
 
 {
-# Kea is told to listen on eth0 interface only.
-  "interfaces": [ "eth0" ],
+# Kea is told to listen on eth9 interface only.
+  "interfaces": [ "eth9" ],
 
 # We need to specify lease type. As of May 2014, three backends are supported:
 # memfile, mysql and pgsql. We'll just use memfile, because it doesn't require
index 0c2e10ca07c720b5c41487f50ab46b432e06c8b6..9edb61905b0907ea7aa1504f76518064bac3c927 100644 (file)
@@ -5,8 +5,8 @@
 { "Dhcp4":
 
 {
-# Kea is told to listen on eth0 interface only.
-  "interfaces": [ "eth0" ],
+# Kea is told to listen on eth9 interface only.
+  "interfaces": [ "eth9" ],
 
 # We need to specify lease type. As of May 2014, three backends are supported:
 # memfile, mysql and pgsql. We'll just use memfile, because it doesn't require
index 0cee00205059670368ca5c8c42552095bc6a4ab5..426f902f56ff8be642a25d1bb09e6e0525ab21bc 100644 (file)
@@ -3,12 +3,15 @@
 # Topology wise, it's a basic scenario with one IPv6 subnet configured.
 # It is assumed that one subnet (2001:db8:1::/64) is available directly
 # over eth0 interface.
+#
+# The following features are currently showcased here:
+# 1. Configuration of MAC/hardware address sources in DHCPv6
 
 { "Dhcp6":
 
 {
-# Kea is told to listen on eth0 interface only.
-  "interfaces": [ "eth0" ],
+# Kea is told to listen on eth9 interface only.
+  "interfaces": [ "eth9" ],
 
 # We need to specify lease type. As of May 2014, three backends are supported:
 # memfile, mysql and pgsql. We'll just use memfile, because it doesn't require
 # alias for remote-id, subscriber-id, rfc4580 (which is an alias for
 # subscriber-id) and docsis.
 #
+# Note that the order matters. Methods are attempted one by one in the order
+# specified until hardware address is obtained. If you don't care which method
+# is used, using 'any' is marginally faster than enumerating them all.
+#
 # If mac-sources are not specified, a default value of 'any' is used.
   "mac-sources": [ "client-link-addr-option", "duid", "ipv6-link-local" ],
 
index 682b3b51022cab45e5ad2ff648b1dc3e2b610b4a..333192e7141c236fd8dfc5d6579cf086ece62e51 100644 (file)
@@ -4,8 +4,8 @@
 { "Dhcp6":
 
 {
-# Kea is told to listen on eth0 interface only.
-  "interfaces": [ "eth0" ],
+# Kea is told to listen on eth9 interface only.
+  "interfaces": [ "eth9" ],
 
 # We need to specify lease type. As of May 2014, three backends are supported:
 # memfile, mysql and pgsql. We'll just use memfile, because it doesn't require
index f138c059eaa3713be0e56b15d86f4a733f6930b1..78a090bea038caf23547aa69c2f68cc68ccf574a 100644 (file)
@@ -5,8 +5,8 @@
 { "Dhcp6":
 
 {
-# Kea is told to listen on eth0 interface only.
-  "interfaces": [ "eth0" ],
+# Kea is told to listen on eth9 interface only.
+  "interfaces": [ "eth9" ],
 
 # We need to specify lease type. As of May 2014, three backends are supported:
 # memfile, mysql and pgsql. We'll just use memfile, because it doesn't require
index dec58f42b8e427751f710824af45f12bb35d6230..3ac9fc1f10c96b037aede043927f8c93019f488b 100644 (file)
@@ -6,8 +6,8 @@
 { "Dhcp6":
 
 { 
-# Kea is told to listen on eth0 interface only.
-  "interfaces": [ "eth0" ],
+# Kea is told to listen on eth9 interface only.
+  "interfaces": [ "eth9" ],
 
 # We need to specify lease type. As of May 2014, three backends are supported:
 # memfile, mysql and pgsql. We'll just use memfile, because it doesn't require