[Kea-users] option 122.1 , option 122.3

2018-10-23 Thread itay cohen
hi guys did some one managed to configure custom option 122.1 , 122.3 and mined share the configuration ? thank you itay, ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

[Kea-users] ipv6 dhcp hook search for vendor specific info

2019-12-30 Thread itay cohen
hi guys i'm writing a hook to get the field info from relay[0], vendor[4491], option[1026] on this request: type=1, len=00010: 00:03:00:01:f4:0e:83:ad:6a:c7 type=2, len=00014: 00:01:00:01:24:fa:7c:7a:00:0c:29:9c:5b:b7 type=6, len=8: 39(uint16) 23(uint16) 17(uint16) 64(uint16) type

[Kea-users] reading user-context from lease4_select hook

2020-12-18 Thread itay cohen
Hi Im trying to read user-context with a hook lease4_select(CalloutHandle& handle) { Subnet4Ptr subnet4_ptr; handle.getArgument("subnet4", subnet4_ptr); // <-- getting selected subnet ConstElementPtr subnet_ctx; subnet_ctx = subnet4_ptr->getContext(); // <-- this is working !

[Kea-users] Hook

2017-06-16 Thread itay cohen
hello all can any one share a hook that makes a http request while receiving a dhcp request ? thank you! ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

[Kea-users] Hook - python

2017-06-20 Thread itay cohen
Hello all Is there a hook that allows writing hooks in python instead ted of C ? Itay, ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

[Kea-users] Client-class - hook

2017-06-22 Thread itay cohen
Greetings Did some one managed to attach a “client-classes” to a request during the pkt4_receive callout ? Thank you ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client-class - hook

2017-06-22 Thread itay cohen
Works like a charm Thank Itay, > On 22 Jun 2017, at 17:06, Francis Dupont wrote: > > pkt->addClass("my-client-class"); should work well. BTW the client class > include in dhcp/classify.h > > Regards > > Francis Dupont ___ Kea-users mailing list Ke

[Kea-users] No answer from kea

2017-07-20 Thread itay cohen
> Can someone tell me why kea is not answering to this request ? > > > > 2017-07-20 12:50:51.344 DEBUG [kea-dhcp4.packets/13276] DHCP4_PACKET_RECEIVED > [hwtype=1 00:a0:12:da:26:d0], cid=[01:00:a0:12:da:26:d0:00], tid=0xbdb: > DHCPDISCOVER (type 1) received from 172.20.220.81 to 172.20.221.1

[Kea-users] free text parameter under each subnet

2017-08-17 Thread itay cohen
hello all does some one know how to add a free text parameter like the example (not a remark) ? { "subnet": "10.101.0.0/16", "id": 102, *"freetext":"internal server pool",* "pools": [ { "pool": "10.101.0.2 - 10.

Re: [Kea-users] free text parameter under each subnet

2017-08-18 Thread itay cohen
actually user-context is perfect for me, i tried the example in the admin guide, but when i use it i get an error: ERROR [kea-dhcp4.dhcp4/20619] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea.conf': /usr/local/etc/kea/kea.conf:126.4-17: got

[Kea-users] kea source ip

2017-09-10 Thread itay cohen
does some now know how to change the source ip of dhcp messages with a hook ? ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] kea source ip

2017-09-11 Thread itay cohen
thank you for your quick response its kinda working, after changing the address i'm getting this error and kea stops sending responses. DHCP4_PACKET_SEND_FAIL [hwtype=1 00:0c:29:45:76:07], cid=[01:00:0c:29:45:76:07], tid=0xdbed5a23: failed to send DHCPv4 packet: pkt4 send failed: sendmsg() returne

Re: [Kea-users] Configuring kea for relayed subnets *not* on its own interface's address

2017-09-13 Thread itay cohen
are you using "ip helper" to relay the dhcp requests ? On Wed, Sep 13, 2017 at 4:33 AM, Jeff Kletsky wrote: > I've been able to get kea to run nicely as a DHCP server in "conventional" > mode with an interface listening on every one of the VLANs that I need to > serve. > > I'm trying to configu

Re: [Kea-users] subnet_id - what values can you use?

2017-09-13 Thread itay cohen
try - "id":4250 itay, On Wed, Sep 13, 2017 at 6:59 PM, Neil Briscoe wrote: > Trying to use kea (1.0.0) and want to use *subnet_id* in order to figure > out which site the scope belongs to (as I cannot find a variable to use as > a label/description). > > > > I am using the following in the kea

[Kea-users] timers defined on gloval scope are not exported with the get-config command

2017-10-03 Thread itay cohen
hello all i have this configuration on the global scope "renew-timer": 900, "rebind-timer": 1800, "valid-lifetime": 3600, it is used as the "default" timers, unless a timer is configured on the subnet level. when i use the get-config command i cant see the timers configure

Re: [Kea-users] timers defined on gloval scope are not exported with the get-config command

2017-10-03 Thread itay cohen
hi my concern is that some parameters are configured in the config file, and when i'm pulling the configuration via api the parameters are not there, thank you for your replay itay On Tue, Oct 3, 2017 at 8:26 PM, Francis Dupont wrote: > itay cohen writes: > > i have this co

Re: [Kea-users] timers defined on gloval scope are not exported with the get-config command

2017-10-04 Thread itay cohen
7 at 4:07 PM, Tomek Mrugalski wrote: > W dniu 04.10.2017 o 06:25, itay cohen pisze: > > my concern is that some parameters are configured in the config file, > > and when i'm pulling the configuration via api the parameters are not > there, > The short answer to this is:

[Kea-users] lease4_select - hook

2017-10-18 Thread itay cohen
hello all on hook lease4_select can i know if a lease came from dynamic pool or reservation ? thank you itay, ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

[Kea-users] issue with same prefixes with different pools

2017-10-30 Thread itay cohen
Hey guys I have an issue that Same configuration on one server gives a "prefix already exist" error, and on the other one works perfect both of them running kea version 1.2.0 the one that work was installed half a year ago. { "subnet": "10.0.0.0/24",

[Kea-users] lease time

2017-11-15 Thread itay cohen
hello list can i define a different lease time to a reserved host or a dynamic host of the same pool ? thank you itay, ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

[Kea-users] Kea snmp

2017-12-18 Thread itay cohen
hello all did some one do something with snmp for statistics ? or even a cacti template ? thank you itay, ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

[Kea-users] Option 60 vendor class

2018-04-13 Thread itay cohen
Hello all I’m trying to catch option 60 with a hook and send it as text to log file But every time I set getData to it kea crash Can you advise ? Thank you Itay ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/

[Kea-users] option 67

2018-04-24 Thread itay cohen
greetings all can i send option 67 back to the client even if its not requesting it (with option 55) ? 8.2.8. Standard DHCPv4 Options One of the major features of the DHCPv4 server is to provide configuration options to clients. *Most of the options are sent by the server only if the client expli

[Kea-users] Hook

2018-04-28 Thread itay cohen
hello all can i know with a hook if kea is selecting an address from a pool or from static reservation ? or maybe in-pool vs out-of-pool ? thank you itay, ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-user

[Kea-users] option 54

2018-05-10 Thread itay cohen
hi all i'm using kea-1.2.0 i'm trying to set "option-data": [ { "name": "routers", "data": " 10.0.0.1" }, { "name": "dhcp-server-identifier", "data": "10.0.0.1" } ], now, when kea i

[Kea-users] Error while compiling Kea 1.4.0

2018-05-23 Thread itay cohen
did some one came across this error ? make[6]: Entering directory `/root/install/kea/kea/src/lib/log/compiler' CXX message.o CXXLDkea-msg-compiler ../../../../src/lib/log/.libs/libkea-log.so: undefined reference to `log4cplus::Appender::setErrorHandler(std::unique_ptr >)' ../../../../

[Kea-users] feature request - status check

2018-06-08 Thread itay cohen
hi all i want to check the availability of the kea-dhcp process with an external program (via control agent). there is no "status-check" command. so i tried "config-check" but its writing a log each time i use it ( every 2 seconds. ). can you offer an idea ? thank you itay. ___

[Kea-users] user-context

2018-06-13 Thread itay cohen
hi all i'm trying to get user-context from a selected subnet on lease4_select api with a hook, and i cant get it to work. can some one help ? { "id": 1002, "subnet": "1.2.2.0/28", "pools": [ { "pool": "1.2.2.3 - 1

[Kea-users] user context

2018-07-30 Thread itay cohen
did someone managed to get user context from a selected subnet/pool with a hook ? maybe share a small example of code ? thank you itay ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

[Kea-users] user context on a lease

2018-08-01 Thread itay cohen
hi guyes this new feature adding a user context to a lease is so power full and needed !!! i'v added a user context to a lease of a user and from that point that user didnt get an address this is the erorr message: ERROR [kea-dhcp4.alloc-engine/32327] ALLOC_ENGINE_V4_ALLOC_ERROR [hwtype=1 00:0c:

[Kea-users] Kea 1.4.0 P1

2018-08-07 Thread itay cohen
hi all how can i check wich version of kea is running ? (1.4.0 or 1.4.0 P1 ) thank you ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

[Kea-users] cant change lease timers during lease4_select

2018-08-18 Thread itay cohen
hi guys i'm trying to change the lease timer during the lease4_select hook, i get an unexpected behavior: lease4_ptr->valid_lft_ = 8677; <- for some reason only this works, i see it on the lease DB and the client lease4_ptr->t1_ = 555; <- this one doesn't give an error but does

[Kea-users] subnet full - reselect

2018-09-06 Thread itay cohen
hi guys i have this 2 subnets with the same relay address, when the first pool is full i would expect that kea will select address from the other pool (with the new subnet reselect feature), instead it gives an error: "[kea-dhcp4.alloc-engine/16960] ALLOC_ENGINE_V4_ALLOC_FAIL [hwtype=1 00:0c:29:45