[Kea-users] KEA 1.6.0 Only get one data from dhcp4_options tables

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] KEA 1.6.0 Only get one data from dhcp4_options tables

schutleis
This post was updated on .
Hi,

I'm having a problem with DHCP4 Option Data to set a gateway for my two vlan
dhcp from MYSQL Backend. Right now, i manage to get one gateway from one
vlan.

This is the result i got from running config-get via kea-shell
----------
/"subnet4": [ { "4o6-interface": "", "4o6-interface-id": "", "4o6-subnet":
"", "id": 10, "option-data": [ { "always-send": true, "code": 3,
"csv-format": true, "data": "192.168.0.1", "name": "routers", "space":
"dhcp4" } ], "pools": [ { "option-data": [  ], "pool":
"192.168.0.2-192.168.15.254" } ], "relay": { "ip-addresses": [  ] },
"reservations": [  ], "server-hostname": "test", "subnet": "192.168.0.0/20"
}, { "4o6-interface": "", "4o6-interface-id": "", "4o6-subnet": "", "id":
11, "option-data": [  ], "pools": [ { "option-data": [  ], "pool":
"10.47.48.2-10.47.63.254" } ], "relay": { "ip-addresses": [  ] },
"reservations": [  ], "server-hostname": "test", "subnet": "10.47.48.0/20"
} ], "t1-percent": 0.5, "t2-percent": 0.875, "valid-lifetime": 3600 } },
"result": 0 } ]/
---------

This is the value from dhcp4_options
---------
<http://kea-users.7364.n8.nabble.com/file/t294/dhcp4_options.png


Thank you, any help will be appreciated.

Regards,

Schutleis



--
Sent from: http://kea-users.7364.n8.nabble.com/
_______________________________________________
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users