[Kea-users] Host Reservation in Kea 1.5.0

Jeronimo jscmenezes at gmail.com
Fri May 31 20:11:32 UTC 2019


Hi,

I have installed Kea 1.5.0 and configured it to store leases on a local
PostgreSQL backend.
I have searchin how to create reservations but on Kea Guide
https://ftp.isc.org/isc/kea/1.5.0/doc/kea-guide.html only have mentions
about creating reservation on config file.

How can I create reservation on PostgreSQL database? What is the command to
do it?

/etc/kea/kea-dhcp4.conf
# The whole configuration starts here.
{
    # DHCPv4 specific configuration starts here.
    "Dhcp4": {
    "lease-database": {
    "type": "postgresql",
    "name": "keadhcp",
    "host": "127.0.0.1",
    "port": 5432,
    "user": "keadhcp",
    "password": "rapadura"
    },
    "hosts-database": {
    "type": "postgresql",
    "name": "keadhcp",
    "host": ""
    },
    "interfaces-config": {
            "interfaces": [ "ens4" ],
            "dhcp-socket-type": "raw"
        },
        "valid-lifetime": 400,
        "renew-timer": 100,
        "rebind-timer": 200,
        "subnet4": [{
           "pools": [ { "pool": "192.168.82.1-192.168.82.200" } ],
           "subnet": "192.168.82.0/24"
        }]
    },

    # Logger configuration starts here.
    "Logging": {
       "loggers": [{
            "name": "*",
            "severity": "DEBUG"
        }]
    }

# The whole configuration structure ends here.
}


Regards,

Jeronimo Menezes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20190531/5a904957/attachment.htm>


More information about the Kea-users mailing list