Fix vDHCP CPE_PUBLIC config 37/56237/1
authorBrian Freeman <bf1936@att.com>
Wed, 11 Jul 2018 18:29:12 +0000 (13:29 -0500)
committerBrian Freeman <bf1936@att.com>
Wed, 11 Jul 2018 18:29:26 +0000 (13:29 -0500)
Issue-ID: TEST-104
Change-Id: I9f2fcbe1f929240045b971dfff854423df254cbc
Signed-off-by: Brian Freeman <bf1936@att.com>
vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf

index 170b8f3..5db8dcc 100644 (file)
@@ -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": {
 # 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"
                       }
                ]
       }