diff options
-rw-r--r-- | vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf | 15 |
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" } ] } |