From d47f0cd6bb286fa013bcc1bf7321cdbc37cac400 Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Wed, 11 Jul 2018 13:29:12 -0500 Subject: Fix vDHCP CPE_PUBLIC config Issue-ID: TEST-104 Change-Id: I9f2fcbe1f929240045b971dfff854423df254cbc Signed-off-by: Brian Freeman --- vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'vnfs/vCPE') 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" } ] } -- cgit 1.2.3-korg