[Kea-users] option 3 routers in mysql backend

Vlastimil Wagner vlastimil.wagner at ulk.izscr.cz
Wed Jun 22 11:54:38 UTC 2022


Problem solved, upgraded to version 1.6.3

Dne 16. 06. 22 v 9:59 Vlastimil Wagner napsal(a):
> Hi
>
> i use kea 1.6 in centos , i have  config, host and leases in mysql
> in table dhcp4_option iare global options (like 15, 42 with scope_id 0 
> work w/o problems)
> and there is option 3 gateway :
>
> option_id    code    value    formatted_value    space persistent    
> dhcp_client_class    dhcp4_subnet_id    host_id scope_id    
> user_context    shared_network_name    pool_id modification_ts
> 2    6        "192.168.16.3,192.168.16.10"    dhcp4    "0"         
> "0"                2022-05-20 11:21:59
> 5    42        192.168.16.3    dhcp4    "0"                "0"         
>     2022-05-20 12:54:39
> 6    3        192.168.8.1    dhcp4    "0"        8        1         
> 2022-05-23 13:57:13
> 8    3        192.168.48.1    dhcp4    "0"        48        1         
>     2022-05-24 08:21:26
> 16    3        192.168.9.1    dhcp4    "0"        9        1         
>     2022-05-31 10:32:50
> 17    3        192.168.12.1    dhcp4    "0"        12        1         
>     2022-05-31 10:35:23
> 18    3        192.168.57.1    dhcp4    "0"        57        1         
>     2022-06-15 10:16:57
> 19    3        192.168.58.1    dhcp4    "0"        58        1         
>     2022-06-15 10:20:27
>
> but after start and restart service there is no gateway
>
> "subnet4": [
>                {
>                    "4o6-interface": "",
>                    "4o6-interface-id": "",
>                    "4o6-subnet": "",
>                    "id": 33,
>                    "option-data": [],
>                    "pools": [],
>                    "relay": {
>                        "ip-addresses": []
>                    },
>                    "reservations": [],
>                    "subnet": "192.168.33.0/24"
>                }
>            ],
>
> i update modification_ts in table dhcp4_option and gateway work
>
> "subnet4": [
>                {
>                    "4o6-interface": "",
>                    "4o6-interface-id": "",
>                    "4o6-subnet": "",
>                    "id": 33,
>                    "option-data": [
>                        {
>                            "always-send": false,
>                            "code": 3,
>                            "csv-format": true,
>                            "data": "192.168.33.1",
>                            "name": "routers",
>                            "space": "dhcp4"
>                        }
>                    ],
>                    "pools": [],
>                    "relay": {
>                        "ip-addresses": []
>                    },
>                    "reservations": [],
>                    "subnet": "192.168.33.0/24"
>                }
>
> what i do bad?
>
> VW
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20220622/509d2c88/attachment-0001.htm>


More information about the Kea-users mailing list