aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2018-07-11 13:29:12 -0500
committerBrian Freeman <bf1936@att.com>2018-07-11 13:29:26 -0500
commitd47f0cd6bb286fa013bcc1bf7321cdbc37cac400 (patch)
tree782d48f8518246aca589d13eae3bcd67b99e347a
parent8043ce8591b6c5f2d5296b4bbbd6716815716d44 (diff)
Fix vDHCP CPE_PUBLIC config
Issue-ID: TEST-104 Change-Id: I9f2fcbe1f929240045b971dfff854423df254cbc Signed-off-by: Brian Freeman <bf1936@att.com>
-rw-r--r--vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf15
1 files changed, 10 insertions, 5 deletions
diff --git a/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf b/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf
index 170b8f3c..5db8dccb 100644
--- a/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf
+++ b/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf
@@ -2,8 +2,9 @@
"Dhcp4":
{
# For testing, you can use veth pair as described in README.md
+# eth1 is the 10.2.0.1 interface on the vDHCP/vDNS server (CPE_PUBLIC)
"interfaces-config": {
- "interfaces": ["eth0" ]
+ "interfaces": ["eth1" ]
},
"lease-database": {
@@ -25,14 +26,18 @@
# otherwise the options won't be added at all.
# Also keep in mind that if kea doesn't receive the desired values for some
# reason, these values will be sent to the client.
+# 10.2.0.10 is assigned to the webserver so reserve 10-19 for hosts on the CPE_PUBLIC network
"subnet4": [
- { "subnet": "10.3.0.0/24",
- "pools" : [ { "pool": "10.3.0.2 - 10.3.0.255"} ],
- "next-server": "10.3.0.1",
+ { "subnet": "10.2.0.0/24",
+ "pools" : [
+ { "pool": "10.2.0.2 - 10.2.0.9"},
+ { "pool": "10.2.0.20 - 10.2.0.255"}
+ ],
+ "next-server": "10.2.0.1",
"option-data": [
{
"name": "routers",
- "data": "10.3.0.1"
+ "data": "10.2.0.1"
}
]
}