[Kea-users] i do not understand the concept of shared networks

Satish Patel satish.txt at gmail.com
Tue Mar 10 21:04:35 UTC 2020


This what i did, I have 2 subnet on VLAN100 (sharing same vlan) and i
have specified both subnet inside shared-networks, I believe you have
to do the same for all 50+ subnets.

"shared-networks": [
        {
            "name": "Public-networks",
            "interface": "ens256",
        "subnet4": [
          {
             "subnet": "172.16.102.0/23",
                "id": 100,
                "pools": [
                        {
                        "pool": "172.16.102.15 - 172.16.103.127"
                        }
                ],
                        "option-data": [
                        {
                        "name": "routers",
                        "data": "172.16.102.1"
                        },
                        {
                        "name": "domain-name-servers",
                        "data": "10.0.0.10, 10.0.0.11"
                        },
                        {
                        "name": "domain-name",
                        "data": "pub1.example.net"
                        }
                ]
          },
          {
           "subnet": "172.16.106.0/24",
            "id": 101,
            "pools": [
                {
                    "pool": "172.16.106.15 - 172.16.106.127"
                }
             ],
            "option-data": [
                {
                    "name": "routers",
                    "data": "172.16.106.1"
                },
                {
                   "name": "domain-name-servers",
                    "data": "10.0.0.10, 10.00.0.11"
                },
                {
                    "name": "domain-name",
                    "data": "foo.example.net"
                }
            ]
         }
       ]
      // You can add more subnets there (put comma on last bracket)
     } ] // end of shared-networks

On Tue, Mar 10, 2020 at 9:15 AM Giso Kegel <giso.kegel at cloud.ionos.com> wrote:
>
> Hi Folks,
>
> I work with kea 1.6.1
>
> I really do not understand the concept or at leased the documentation
> regarding shared-networks.
> Do i need shared-networks or not?
> I do not have the problem that I have networks that grew out of there
> original definition.
>
> https://kea.readthedocs.io/en/latest/arm/dhcp4-srv.html
>
> lets say i have 50+ subnet4 that will ask the kea dhcp server over dhcp
> relayhosts (a swtich).
>
> All these subnet4 will hold only server that have a IP-reservation.
>
> Do i need multi shard networks?
> Can or do i have to put these 50+ networks in multi shared networks?
> Do i have to use different interfaces  for each shared network?
>
> I would be very thankful for some enlightenment.
>
> Best
> Giso
>
>
> _______________________________________________
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users



More information about the Kea-users mailing list