[Kea-users] KEA DHCPv6 - Problem with Leases

Drinis Hallaçi drinis.hallaci at hotmail.com
Wed Aug 23 09:28:37 UTC 2017


Hello


I'm testing KEA DHCPv6 and we are facing a problem with leases.

Every time that a modem reboots it takes a different IP.


My config :


{


"Dhcp6": {

 "mac-sources": ["remote-id", "docsis-cmts","docsis-modem"],


"option-data": [
        {
           "name": "dns-servers",
           "code": 23,
           "space": "dhcp6",
           "csv-format": true,
           "data": "xxxx:xxxx:xxxx::xxx, xxxx:xxxx::xx:xx:xx:xx"
        },

                ],




        "interfaces-config": {
        "interfaces": [ "ens224/xxxx:xxxx::xx:xx:xx:xx" ]
                        },

        "preferred-lifetime": 300,
        "valid-lifetime": 400,
        "renew-timer": 100,
        "rebind-timer": 200,


#       "lease-database": {
#        "type": "memfile",
#       "persist": true,
#      "name": "/usr/local/var/kea/kea-leases6.csv",
#     "lfc-interval": 1800

#       }


       "lease-database": {
           "type": "mysql",
            "host": "localhost",
            "name": "dhcp",
            "password": "password",
            "user":     "dhcp"

                        },




"subnet6": [



##############---SITE2-TESTE--------#############################

{

        "subnet": "xxxx:xxxx:xxxx:x::/64",

        "pools": [{"pool": "xxxx:xxxx:xxxx:x::xxx-xxxx:xxxx:xxxx:x:ffff:ffff:ffff:ffff"}],
        "pd-pools": [{
                "prefix": "xxxx:xxxx:xxxx::",

                       }]
},

##############---SITE1-C40G--------#############################
{

        "subnet": " xxxx:xxxx:xxxx:x::0/64",
        "pools": [{"pool": " xxxx:xxxx:xxxx:x::xxx-xxxx:xxxx:xxxx:x:ffff:ffff:ffff:ffff"}],
        "pd-pools": [{
                "prefix": "xxxx:xxxx:xxx::",
                "prefix-len": 48,
                "delegated-len": 64
                       }]


},

##############---HUB4-1-CMTS3200--------#############################

{
        "subnet": "xxxx:xxxx:xxxx:x::/64",
        "pools": [{"pool": " xxxx:xxxx:xxxx:x::xxx-xxxx:xxxx:xxxx:x:ffff:ffff:ffff:ffff"}],
        "pd-pools": [{
                "prefix": "xxxx:xxxx:xxxx::",
                "prefix-len": 40,
                "delegated-len": 56
                       }]

}
]},

# Logger parameters (that could be shared among several components) start here.
# This section is used by both the DHCPv4 and DHCPv6 servers.
"Logging": {
   "loggers": [{
        "name": "*",
        "severity": "DEBUG"
    }]
}
# Logger parameters end here.


}



Thanks in advance


Drinis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170823/8b51ef08/attachment.htm>


More information about the Kea-users mailing list