<div dir="ltr">Hello,<div><br></div><div>I'm trying to configure Kea 1.1.0 to service DHCP leases for a BRAS/BNG router (Juniper MX). The BNG relays from its loopback IP address, and might have several different subscriber subnets. This is kind of like sections 7.5.1 and 7.5.2 in the User Guide -- except I have multiple subnets all in the same class. This worked fine in ISC-DHCPD, but I can't get the equivalent configuration working in Kea. Is this unsupported at this time, or is there something I've overlooked?</div><div><br></div><div><br></div><div>i.e.:</div><div><br></div><div><div>"Dhcp4":</div><div>{</div><div> ...</div><div>  "subnet4": [</div><div>  {    "subnet": "<a href="http://192.168.97.72/29">192.168.97.72/29</a>",</div><div>       "id": 72,</div><div><div>       "option-data": [ { "name": "routers", "data": "192.168.97.75" } ],</div></div><div>       "relay": { "ip-address": "172.16.100.1" },</div><div>       "pools": [ { "pool": "<a href="http://192.168.97.75/32">192.168.97.75/32</a>" } ] },</div><div>  {    "subnet": "<a href="http://192.168.97.88/29">192.168.97.88/29</a>",</div><div>       "id": 88,</div><div><div>       "option-data": [ { "name": "routers", "data": "192.168.97.89" } ],</div></div><div>       "relay": { "ip-address": "172.16.100.1" },</div><div>       "pools": [ { "pool": "<a href="http://192.168.97.92/32">192.168.97.92/32</a>" } ] },</div><div>  ]</div><div>}, </div></div><div><br></div><div>With the above config, the first DHCP client gets the 192.168.97.75 IP address. The second DHCP client gets no address, because subnet id 72 (192.168.9772/29)" is out of leases. The Kea server never even attempts to allocate from the <a href="http://192.168.97.88/29">192.168.97.88/29</a> subnet.</div><div><br></div><div>With ISC DHCPD, this shared network syntax accomplishes the desired results:</div><div><br></div><div><div>shared-network bngtest {</div><div>        # BNG's loopback lo0.x /32 relay IP</div><div>        subnet 172.16.100.1 netmask 255.255.255.255 {</div><div>        }</div><div>        subnet 192.168.97.72 netmask 255.255.255.248 {</div><div>        }</div><div>        pool {</div><div>                # this is the default pool for dynamic customers</div><div>                deny dynamic bootp clients; # DHCP is OK, BOOTP is not...</div><div>                range 192.168.97.75 192.168.97.75;</div><div>                option routers 192.168.97.73;</div><div>        }</div><div>        subnet 192.168.97.88 netmask 255.255.255.248 {</div><div>        }</div><div>        pool {</div><div>                # this is an overlay pool for dynamic customers</div><div>                deny dynamic bootp clients;</div><div>                range 192.168.97.92 192.168.97.92;</div><div>                option routers 192.168.97.89;</div><div>        }</div><div>}</div></div><div><br></div><div><br></div><div><br></div><div>Thanks!</div><div>-Adam</div><div><br></div></div>