[Kea-users] multiple source devices using the same pool...

jmichael jmichael08 at gmail.com
Wed Sep 16 21:23:32 UTC 2020


hello,
i am currently using kea for a management network of NIDs in a SP
environment and was wondering if what i am looking to do is possible.

we have nodes in different physical locations that will be have multiple
Access layer devices for these NIDs to connect to.

currently i have this setup that works for my four devices per node (cisco
routers) that are using VRRP and layer 2 trunking to then share one IP which
i need to be sent as the default route to the NIDs which is 10.18.0.254...

    "subnet4": [
        {
            // test same node but all access devices sharing the same IP
            "subnet": "10.18.0.0/24",
            "pools": [
                {
                  "pool": "10.18.0.1 - 10.18.0.247",
                  "option-data":[
                    {
                      "name":"routers",
                      "data":"10.18.0.254"
                    }
                  ]
                }
            ]
        },

what I would like to do is instead have the node devices each use their own
IPs so i can remove the layer2 trunking and VRRP. to accomplish this i
attemped the following:

        {
            // test same node but access devices have different IPs and NIDs
are getting multiple defaults at once
            "subnet": "10.18.0.0/24",
            "pools": [
                {
                  "pool": "10.18.0.1 - 10.18.1.247",
                  "option-data":[
                    {
                      "name":"routers",
                      "data":"10.18.1.254,10.18.1.253,10.18.1.252"
                    }
                  ]
                }
            ]
        },

what i was hoping to accomplish with this is that every NID would get
multiple default routes and then could use whatever worked... high hope that
did not work.

so what i am wondering now is i can specify a specific IP as the subnet to
which the default router will correspond and then share a pool between them.

something like this:

{
    // test same node but access devices with different IPs are separate to
get correct default but share pools
    "subnet": "10.18.0.254/24,
    "pools": [
        {
          "pool": "10.18.0.1 - 10.18.0.250",
          "option-data":[
            {
              "name":"routers",
              "data":"10.18.0.254"
            }
          ]
        }
    ]
},
{
    // test same node but access devices with different IPs are separate to
get correct default but share pools
    "subnet": "10.18.0.253/24",
    "pools": [
        {
          "pool": "10.18.0.1 - 10.18.0.250",
          "option-data":[
            {
              "name":"routers",
              "data":"10.18.0.253"
            }
          ]
        }
    ]
},
{
    // test same node but access devices with different IPs are separate to
get correct default but share pools
    "subnet": "10.18.0.252/24",
    "pools": [
        {
          "pool": "10.18.0.1 - 10.18.0.250",
          "option-data":[
            {
              "name":"routers",
              "data":"10.18.0.252"
            }
          ]
        }
    ]
},


let me know if anyone has attempted this or has any suggestions
thanks



--
Sent from: http://kea-users.7364.n8.nabble.com/


More information about the Kea-users mailing list