summaryrefslogtreecommitdiffstats
path: root/doc/examples/kea6
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2022-07-19 22:04:46 +0200
committerRazvan Becheriu <razvan@isc.org>2022-07-22 21:05:50 +0200
commitfd22d2110258085828a86697f5708b2ad415d7b4 (patch)
tree20966193c17097b107d254b8f078bf68797a11c5 /doc/examples/kea6
parent[#2504] bump lib versions for 2.2.0 (diff)
downloadkea-fd22d2110258085828a86697f5708b2ad415d7b4.tar.xz
kea-fd22d2110258085828a86697f5708b2ad415d7b4.zip
[#2474] added unittests which load and validate example files
Diffstat (limited to 'doc/examples/kea6')
-rw-r--r--doc/examples/kea6/advanced.json12
-rw-r--r--doc/examples/kea6/all-keys-netconf.json18
-rw-r--r--doc/examples/kea6/all-keys.json25
-rw-r--r--doc/examples/kea6/backends.json6
-rw-r--r--doc/examples/kea6/classify.json16
-rw-r--r--doc/examples/kea6/classify2.json16
-rw-r--r--doc/examples/kea6/config-backend.json4
-rw-r--r--doc/examples/kea6/dhcpv4-over-dhcpv6.json4
-rw-r--r--doc/examples/kea6/duid.json6
-rw-r--r--doc/examples/kea6/global-reservations.json6
-rw-r--r--doc/examples/kea6/ha-hot-standby.json6
-rw-r--r--doc/examples/kea6/hooks.json6
-rw-r--r--doc/examples/kea6/iPXE.json2
-rw-r--r--doc/examples/kea6/leases-expiration.json6
-rw-r--r--doc/examples/kea6/multiple-options.json6
-rw-r--r--doc/examples/kea6/mysql-reservations.json12
-rw-r--r--doc/examples/kea6/pgsql-reservations.json12
-rw-r--r--doc/examples/kea6/reservations.json8
-rw-r--r--doc/examples/kea6/several-subnets.json4
-rw-r--r--doc/examples/kea6/shared-network.json8
-rw-r--r--doc/examples/kea6/simple.json8
-rw-r--r--doc/examples/kea6/softwire46.json6
-rw-r--r--doc/examples/kea6/stateless.json2
-rw-r--r--doc/examples/kea6/tee-times.json4
-rw-r--r--doc/examples/kea6/with-ddns.json8
25 files changed, 107 insertions, 104 deletions
diff --git a/doc/examples/kea6/advanced.json b/doc/examples/kea6/advanced.json
index 5d85adf41c..7704f8df2b 100644
--- a/doc/examples/kea6/advanced.json
+++ b/doc/examples/kea6/advanced.json
@@ -2,7 +2,7 @@
// It attempts to showcase some of the more advanced features.
// 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 ethX interface.
+// over eth0 interface.
//
// The following features are currently showcased here:
// 1. Configuration of MAC/hardware address sources in DHCPv6
@@ -14,9 +14,9 @@
{ "Dhcp6":
{
- // Kea is told to listen on ethX network interface only.
+ // Kea is told to listen on eth0 network interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ],
+ "interfaces": [ "eth0" ],
// This makes interfaces to be re-detected at each (re-)configuration.
// By default it is true.
@@ -132,8 +132,8 @@
"prefix": "2001:db8:abcd::",
"prefix-len": 48,
"delegated-len": 64,
- "excluded-prefix": "2001:db8:abcd:1234::",
- "excluded-prefix-len": 72,
+ "excluded-prefix": "2001:db8:abcd:0:1234::",
+ "excluded-prefix-len": 80,
// Another user-context for this PD pool. Again, you can put
// anything you want in there as long as it's valid JSON and
@@ -145,7 +145,7 @@
], // end of pools
"subnet": "2001:db8:1::/64",
- "interface": "ethX",
+ "interface": "eth0",
// Sometimes the relay may use an odd IPv6 address that's not matching
// the subnet. This is discouraged, but there are valid cases when it
diff --git a/doc/examples/kea6/all-keys-netconf.json b/doc/examples/kea6/all-keys-netconf.json
index 6712be2e11..cce7e8ec37 100644
--- a/doc/examples/kea6/all-keys-netconf.json
+++ b/doc/examples/kea6/all-keys-netconf.json
@@ -258,13 +258,13 @@
"hosts-databases": [
{
// Name of the database to connect to.
- "name": "kea",
+ "name": "keatest",
// Host on which the database resides.
"host": "localhost",
// Database password.
- "password": "kea",
+ "password": "keatest",
// Port on which the database is available.
"port": 3306,
@@ -273,7 +273,7 @@
"type": "mysql",
// User name to be used to access the database.
- "user": "kea",
+ "user": "keatest",
// Read only mode.
"readonly": false,
@@ -293,13 +293,13 @@
},
{
// Name of the database to connect to.
- "name": "kea",
+ "name": "keatest",
// Host on which the database resides.
"host": "localhost",
// Database password.
- "password": "kea",
+ "password": "keatest",
// Port on which the database is available.
"port": 5432,
@@ -308,7 +308,7 @@
"type": "postgresql",
// User name to be used to access the database.
- "user": "kea",
+ "user": "keatest",
// Connection reconnect wait time.
// This parameter governs how long Kea waits before attempting
@@ -349,7 +349,7 @@
// Specifies a list of interfaces on which the Kea DHCPv6
// server should listen to the DHCP requests.
"interfaces": [
- "ethX"
+ "eth0"
],
// Boolean flag indicating if the available interfaces should
@@ -645,7 +645,7 @@
// Specifies that this shared network is selected for the
// requests received on the particular interface.
- "interface": "ethX",
+ "interface": "eth0",
// Specifies the content of the interface-id option used
// by relays to identify the interface on the relay to
@@ -771,7 +771,7 @@
// Specifies that this subnet is selected for the requests
// received on the particular interface.
- "interface": "ethX",
+ "interface": "eth0",
// Specifies the content of the interface-id option used
// by relays to identify the interface on the relay to
diff --git a/doc/examples/kea6/all-keys.json b/doc/examples/kea6/all-keys.json
index c3437d0424..c9e251210d 100644
--- a/doc/examples/kea6/all-keys.json
+++ b/doc/examples/kea6/all-keys.json
@@ -258,13 +258,13 @@
"hosts-databases": [
{
// Name of the database to connect to.
- "name": "kea",
+ "name": "keatest",
// Host on which the database resides.
"host": "localhost",
// Database password.
- "password": "kea",
+ "password": "keatest",
// Port on which the database is available.
"port": 3306,
@@ -273,7 +273,7 @@
"type": "mysql",
// User name to be used to access the database.
- "user": "kea",
+ "user": "keatest",
// Read only mode.
"readonly": false,
@@ -293,13 +293,13 @@
},
{
// Name of the database to connect to.
- "name": "kea",
+ "name": "keatest",
// Host on which the database resides.
"host": "localhost",
// Database password.
- "password": "kea",
+ "password": "keatest",
// Port on which the database is available.
"port": 5432,
@@ -308,11 +308,14 @@
"type": "postgresql",
// User name to be used to access the database.
- "user": "kea"
+ "user": "keatest"
},
{
+ // Name of the database to connect to.
+ "name": "keatest",
+
// Database password.
- "password": "kea",
+ "password": "keatest",
// Port on which the database is available.
"port": 9042,
@@ -321,7 +324,7 @@
"type": "mysql",
// User name to be used to access the database.
- "user": "kea",
+ "user": "keatest",
// Connection reconnect wait time.
// This parameter governs how long Kea waits before attempting
@@ -362,7 +365,7 @@
// Specifies a list of interfaces on which the Kea DHCPv6
// server should listen to the DHCP requests.
"interfaces": [
- "ethX"
+ "eth0"
],
// Boolean flag indicating if the available interfaces should
@@ -658,7 +661,7 @@
// Specifies that this shared network is selected for the
// requests received on the particular interface.
- "interface": "ethX",
+ "interface": "eth0",
// Specifies the content of the interface-id option used
// by relays to identify the interface on the relay to
@@ -784,7 +787,7 @@
// Specifies that this subnet is selected for the requests
// received on the particular interface.
- "interface": "ethX",
+ "interface": "eth0",
// Specifies the content of the interface-id option used
// by relays to identify the interface on the relay to
diff --git a/doc/examples/kea6/backends.json b/doc/examples/kea6/backends.json
index 148a5834a4..7e16244877 100644
--- a/doc/examples/kea6/backends.json
+++ b/doc/examples/kea6/backends.json
@@ -8,9 +8,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify lease type. Exactly one lease-database section
@@ -82,7 +82,7 @@
{
"pools": [ { "pool": "2001:db8:1::/80" } ],
"subnet": "2001:db8:1::/64",
- "interface": "ethX"
+ "interface": "eth0"
}
],
diff --git a/doc/examples/kea6/classify.json b/doc/examples/kea6/classify.json
index 47e1e37ee8..a5fc2e98a0 100644
--- a/doc/examples/kea6/classify.json
+++ b/doc/examples/kea6/classify.json
@@ -4,9 +4,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// Let's use the simplest backend: memfile and use some reasonable values
@@ -24,10 +24,10 @@
// One packet can belong to zero or more classes.
"client-classes": [
-// The first class attempts to match all packets coming in on ethX interface.
+// The first class attempts to match all packets coming in on eth0 interface.
{
"name": "lab",
- "test": "pkt.iface == 'ethX'",
+ "test": "pkt.iface == 'eth0'",
"option-data": [{
"name": "dns-servers",
"data": "2001:db8::1"
@@ -59,7 +59,7 @@
"pools": [ { "pool": "2001:db8:1::/80" } ],
"subnet": "2001:db8:1::/64",
"client-class": "cable-modems",
- "interface": "ethX"
+ "interface": "eth0"
},
// The following subnet contains a class reservation for a client using
@@ -73,7 +73,7 @@
"duid": "01:02:03:04:05:0A:0B:0C:0D:0E",
"client-classes": [ "cable-modems" ]
} ],
- "interface": "ethX"
+ "interface": "eth0"
},
// The following subnet contains a pool with a class constraint: only
@@ -81,11 +81,11 @@
{
"pools": [
{
- "pool": "2001:db8:3::/80",
+ "pool": "2001:db8:4::/80",
"client-class": "cable-modems"
} ],
"subnet": "2001:db8:4::/64",
- "interface": "ethY"
+ "interface": "eth1"
}
],
diff --git a/doc/examples/kea6/classify2.json b/doc/examples/kea6/classify2.json
index be3a071afd..474c3932b1 100644
--- a/doc/examples/kea6/classify2.json
+++ b/doc/examples/kea6/classify2.json
@@ -4,9 +4,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// Let's use the simplest backend: memfile and use some reasonable values
@@ -70,7 +70,7 @@
"pools": [ { "pool": "2001:db8:1::/80" } ],
"subnet": "2001:db8:1::/64",
"client-class": "cable-modems",
- "interface": "ethX"
+ "interface": "eth0"
},
// The following subnet contains a class reservation for a client using
// DUID 01:02:03:04:05:0A:0B:0C:0D:0E. This client will always be assigned
@@ -83,7 +83,7 @@
"duid": "01:02:03:04:05:0A:0B:0C:0D:0E",
"client-classes": [ "cable-modems" ]
} ],
- "interface": "ethX",
+ "interface": "eth0",
"require-client-classes": [ "second_subnet" ]
},
// The following subnet contains a pool with a class constraint: only
@@ -91,19 +91,19 @@
{
"pools": [
{
- "pool": "2001:db8:3::/80",
+ "pool": "2001:db8:4::/80",
"client-class": "cable-modems"
} ],
"subnet": "2001:db8:4::/64",
- "interface": "ethY"
+ "interface": "eth1"
},
// This subnet is divided in two pools for unknown and known
// (i.e. which have a reservation) clients. The built-in KNOWN and
// UNKNOWN classes are set or not at host reservation lookup (KNOWN if
// this returns something, UNKNOWN if this finds nothing) and client
-//classes depending on it are evaluated.
+// classes depending on it are evaluated.
// This happens after subnet selection and before address allocation
-//from pools.
+// from pools.
{
"pools": [
{
diff --git a/doc/examples/kea6/config-backend.json b/doc/examples/kea6/config-backend.json
index 815fe582f7..eca306d924 100644
--- a/doc/examples/kea6/config-backend.json
+++ b/doc/examples/kea6/config-backend.json
@@ -11,9 +11,9 @@
// either "all" or "server2" will be used by this instance.
"server-tag": "server2",
- // Kea is told to listen on ethX interface only.
+ // Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// Use memfile lease database backend.
diff --git a/doc/examples/kea6/dhcpv4-over-dhcpv6.json b/doc/examples/kea6/dhcpv4-over-dhcpv6.json
index c2e6ad3dfb..68d5675323 100644
--- a/doc/examples/kea6/dhcpv4-over-dhcpv6.json
+++ b/doc/examples/kea6/dhcpv4-over-dhcpv6.json
@@ -8,7 +8,7 @@
{
"interfaces-config": {
// Enable unicast
- "interfaces": [ "eno33554984/2001:db8:1:1::1" ]
+ "interfaces": [ "eth0/2001:db8:1::1" ]
},
"lease-database": {
@@ -23,7 +23,7 @@
"subnet6": [
{ "subnet": "2001:db8:1:1::/64",
- "interface": "eno33554984",
+ "interface": "eth0",
"pools": [ { "pool": "2001:db8:1:1::1:0/112" } ] }
],
diff --git a/doc/examples/kea6/duid.json b/doc/examples/kea6/duid.json
index 5265606a42..0c00c74e94 100644
--- a/doc/examples/kea6/duid.json
+++ b/doc/examples/kea6/duid.json
@@ -25,9 +25,9 @@
"htype": 1
},
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify the database used to store leases. As of
@@ -56,7 +56,7 @@
{
"pools": [ { "pool": "2001:db8:1::/80" } ],
"subnet": "2001:db8:1::/64",
- "interface": "ethX"
+ "interface": "eth0"
}
],
diff --git a/doc/examples/kea6/global-reservations.json b/doc/examples/kea6/global-reservations.json
index db99beb48e..872a0e2ce5 100644
--- a/doc/examples/kea6/global-reservations.json
+++ b/doc/examples/kea6/global-reservations.json
@@ -9,9 +9,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify the database used to store leases. As of
@@ -148,7 +148,7 @@
"delegated-len": 64
}
],
- "interface": "ethX"
+ "interface": "eth0"
}
],
diff --git a/doc/examples/kea6/ha-hot-standby.json b/doc/examples/kea6/ha-hot-standby.json
index 9675e6f7d5..a0752d5e4d 100644
--- a/doc/examples/kea6/ha-hot-standby.json
+++ b/doc/examples/kea6/ha-hot-standby.json
@@ -10,9 +10,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// Control socket is required for communication between the Control
@@ -113,7 +113,7 @@
}
],
- "interface": "ethX"
+ "interface": "eth0"
}
],
diff --git a/doc/examples/kea6/hooks.json b/doc/examples/kea6/hooks.json
index a930e2e9ba..60fc898235 100644
--- a/doc/examples/kea6/hooks.json
+++ b/doc/examples/kea6/hooks.json
@@ -5,9 +5,9 @@
{"Dhcp6":
{
-// Kea is told to listen on the ethX interface only.
+// Kea is told to listen on the eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// Set up the storage for leases.
@@ -30,7 +30,7 @@
"user-context": { "charging": true }
} ],
"subnet": "2001:db8:1::/64",
- "interface": "ethX"
+ "interface": "eth0"
}
],
diff --git a/doc/examples/kea6/iPXE.json b/doc/examples/kea6/iPXE.json
index 9d38c4c4e0..601ad6f824 100644
--- a/doc/examples/kea6/iPXE.json
+++ b/doc/examples/kea6/iPXE.json
@@ -5,7 +5,7 @@
// Mandatory part of the config that list interfaces on which
// Kea will listen for incoming traffic.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// Two classes are migrated form ISC-DHCP example:
diff --git a/doc/examples/kea6/leases-expiration.json b/doc/examples/kea6/leases-expiration.json
index a20d5e126f..5a3eeb4290 100644
--- a/doc/examples/kea6/leases-expiration.json
+++ b/doc/examples/kea6/leases-expiration.json
@@ -5,9 +5,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify the database used to store leases. As of
@@ -57,7 +57,7 @@
{
"pools": [ { "pool": "2001:db8:1::/80" } ],
"subnet": "2001:db8:1::/64",
- "interface": "ethX"
+ "interface": "eth0"
}
],
diff --git a/doc/examples/kea6/multiple-options.json b/doc/examples/kea6/multiple-options.json
index a22559e67f..b6d8be857c 100644
--- a/doc/examples/kea6/multiple-options.json
+++ b/doc/examples/kea6/multiple-options.json
@@ -4,9 +4,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify the database used to store leases. As of
@@ -159,7 +159,7 @@
}
],
"subnet": "2001:db8:1::/64",
- "interface": "ethX"
+ "interface": "eth0"
}
],
diff --git a/doc/examples/kea6/mysql-reservations.json b/doc/examples/kea6/mysql-reservations.json
index 0553dad2e5..769c111a71 100644
--- a/doc/examples/kea6/mysql-reservations.json
+++ b/doc/examples/kea6/mysql-reservations.json
@@ -5,9 +5,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify the database used to store leases. As of
@@ -46,9 +46,9 @@
"type": "mysql",
"reconnect-wait-time": 3000, // expressed in ms
"max-reconnect-tries": 3,
- "name": "kea",
- "user": "kea",
- "password": "kea",
+ "name": "keatest",
+ "user": "keatest",
+ "password": "keatest",
"host": "localhost",
"port": 3306,
"readonly": true,
@@ -76,7 +76,7 @@
"delegated-len": 64
}
],
- "interface": "ethX",
+ "interface": "eth0",
"id": 1
}
],
diff --git a/doc/examples/kea6/pgsql-reservations.json b/doc/examples/kea6/pgsql-reservations.json
index e27d4d5157..c7e204c390 100644
--- a/doc/examples/kea6/pgsql-reservations.json
+++ b/doc/examples/kea6/pgsql-reservations.json
@@ -5,9 +5,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify the database used to store leases. As of
@@ -48,9 +48,9 @@
"type": "postgresql",
"reconnect-wait-time": 3000, // expressed in ms
"max-reconnect-tries": 3,
- "name": "kea",
- "user": "kea",
- "password": "kea",
+ "name": "keatest",
+ "user": "keatest",
+ "password": "keatest",
"host": "localhost"
}
],
@@ -73,7 +73,7 @@
"delegated-len": 64
}
],
- "interface": "ethX",
+ "interface": "eth0",
"id": 1
}
],
diff --git a/doc/examples/kea6/reservations.json b/doc/examples/kea6/reservations.json
index 252b5410b5..f18ba62961 100644
--- a/doc/examples/kea6/reservations.json
+++ b/doc/examples/kea6/reservations.json
@@ -1,15 +1,15 @@
// This is an example configuration file for DHCPv6 server in Kea
// that showcases how to do host reservations. It is
// assumed that one subnet (2001:db8:1::/64) is available directly
-// over ethX interface. A number of hosts have various combinations
+// over eth0 interface. A number of hosts have various combinations
// of addresses and prefixes reserved for them.
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify the database used to store leases. As of
@@ -74,7 +74,7 @@
"delegated-len": 64
}
],
- "interface": "ethX",
+ "interface": "eth0",
// Host reservations. Define several reservations, note that
// they are all within the range of the pool of the dynamically
diff --git a/doc/examples/kea6/several-subnets.json b/doc/examples/kea6/several-subnets.json
index 5891836f35..78bb066b80 100644
--- a/doc/examples/kea6/several-subnets.json
+++ b/doc/examples/kea6/several-subnets.json
@@ -5,9 +5,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify the database used to store leases. As of
diff --git a/doc/examples/kea6/shared-network.json b/doc/examples/kea6/shared-network.json
index 0dd5edc593..5666e014a5 100644
--- a/doc/examples/kea6/shared-network.json
+++ b/doc/examples/kea6/shared-network.json
@@ -8,9 +8,9 @@
// initial proposal was not best and way to migrate to something else.
{
"Dhcp6": {
- // Kea is told to listen on ethX interface only.
+ // Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// You also need to tell where to store lease information.
@@ -29,7 +29,7 @@
{
"pools": [ { "pool": "2001:db8:2::/80" } ],
"subnet": "2001:db8:2::/64",
- "interface": "ethX"
+ "interface": "eth0"
}
],
@@ -114,7 +114,7 @@
// Ignored when reservations-in-subnet is false.
"reservations-out-of-pool": false,
"subnet": "2001:db8:1::/64",
- "pools": [ { "pool": "2001:db8:1:abcd::/64" } ],
+ "pools": [ { "pool": "2001:db8:1:0:abcd::/80" } ],
"valid-lifetime": 40
},
diff --git a/doc/examples/kea6/simple.json b/doc/examples/kea6/simple.json
index 83953a112d..acd3499b65 100644
--- a/doc/examples/kea6/simple.json
+++ b/doc/examples/kea6/simple.json
@@ -1,14 +1,14 @@
// This is an example configuration file for DHCPv6 server in Kea.
// It's a basic scenario with one IPv6 subnet configured. It is
// assumed that one subnet (2001:db8:1::/64 is available directly
-// over ethX interface.
+// over eth0 interface.
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify the database used to store leases. As of
@@ -37,7 +37,7 @@
{
"pools": [ { "pool": "2001:db8:1::/80" } ],
"subnet": "2001:db8:1::/64",
- "interface": "ethX"
+ "interface": "eth0"
}
],
diff --git a/doc/examples/kea6/softwire46.json b/doc/examples/kea6/softwire46.json
index 4881b845d8..85d1d0cdde 100644
--- a/doc/examples/kea6/softwire46.json
+++ b/doc/examples/kea6/softwire46.json
@@ -5,9 +5,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// Let's use a Memfile backend to store leases.
@@ -32,7 +32,7 @@
{
"pools": [ { "pool": "2001:db8:1::/80" } ],
"subnet": "2001:db8:1::/64",
- "interface": "ethX",
+ "interface": "eth0",
// Include MAP-E Container option for hosts connected to this subnet.
"option-data": [
{
diff --git a/doc/examples/kea6/stateless.json b/doc/examples/kea6/stateless.json
index c71546d6a0..bbe1a84de4 100644
--- a/doc/examples/kea6/stateless.json
+++ b/doc/examples/kea6/stateless.json
@@ -8,7 +8,7 @@
{
"Dhcp6": {
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// This is the list of options that will be granted to all clients that ask.
diff --git a/doc/examples/kea6/tee-times.json b/doc/examples/kea6/tee-times.json
index d3b969adc7..e6a21af256 100644
--- a/doc/examples/kea6/tee-times.json
+++ b/doc/examples/kea6/tee-times.json
@@ -5,9 +5,9 @@
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify the database used to store leases. As of
diff --git a/doc/examples/kea6/with-ddns.json b/doc/examples/kea6/with-ddns.json
index e611d51123..04efb7d313 100644
--- a/doc/examples/kea6/with-ddns.json
+++ b/doc/examples/kea6/with-ddns.json
@@ -1,14 +1,14 @@
// This is an example configuration file for DHCPv6 server in Kea.
// It's a basic scenario with one IPv6 subnet configured. It is
// assumed that one subnet (2001:db8:1::/64 is available directly
-// over ethX interface.
+// over eth0 interface.
{ "Dhcp6":
{
-// Kea is told to listen on ethX interface only.
+// Kea is told to listen on eth0 interface only.
"interfaces-config": {
- "interfaces": [ "ethX" ]
+ "interfaces": [ "eth0" ]
},
// We need to specify the database used to store leases. As of
@@ -37,7 +37,7 @@
{
"pools": [ { "pool": "2001:db8:1::/80" } ],
"subnet": "2001:db8:1::/64",
- "interface": "ethX"
+ "interface": "eth0"
}
],