Re: [Kea-users] deny booting or ignore booting

2019-03-22 Thread Francis Dupont
rogue client no subnet is selected. For pools it makes only resources (i.e addresses) not available for the rogue client (of course I suppose it has no reservations). Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.i

Re: [Kea-users] deny booting or ignore booting

2019-03-22 Thread Francis Dupont
"Ambauen Daniel (ID NET)" writes: > From my point of view the network access control is definitely not a > task of the DHCP service. => I agree: it is clearly too late and DHCP is more than poor about security. Regards Francis Dupont __

Re: [Kea-users] deny booting or ignore booting

2019-03-22 Thread Francis Dupont
e available to it. You can also write a hook to filter out messages but it requires to write some code (vs a config update). Regards Francis Dupont PS: I cited the hook because it is the standard way to plug an authentication/authorization service to Kea. ___

Re: [Kea-users] deny booting or ignore booting

2019-03-21 Thread Francis Dupont
yes if you have no address (nor prefix in IPv6) you need a hostname. Note here a host reservation is perhaps not the best feature: what you want is some kind of access list and for a negative access list a client class is better. Host reservations and KNO

Re: [Kea-users] how can I block clients based on hostname

2019-02-28 Thread Francis Dupont
nt) relay - old Sun boxes interpreted the loose IEEE spec as the mac address can be a box (vs a NIC) property so with some Sun servers you have multiple NICs sharing the same mac address... pretty find to find some bugs in interop testing, less in production. Regards Francis Dupont PS: in Kea

Re: [Kea-users] how can I block clients based on hostname

2019-02-28 Thread Francis Dupont
e and black lists are large it will be better to use a hook to do the same thing but with all the resources from a full programming language, e.g. C++ sets. List updates will be far easier too. Regards Francis Dupont ___ Kea-users mailing list Kea-user

Re: [Kea-users] 1.4 - limit subnet to static reservations/leases

2019-02-14 Thread Francis Dupont
My immediate idea is to simply not define a pool for such subnets? Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Set boot-file-name option based on DHCP client mac-address

2019-01-23 Thread Francis Dupont
> How can I achieve something similar using KEA? => not yet (this feature is on the TODO list) or only with a hook. Regards Francis Dupont PS: the missing feature is to compute an option value from an expression. ___ Kea-users mailing list Kea

Re: [Kea-users] Subnet/pool selection

2019-01-21 Thread Francis Dupont
starting from the subnet which pools are not // exhausted. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Multiple classes match

2019-01-21 Thread Francis Dupont
ion: it does the same without possible ambiguity. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] reservations and classes

2019-01-09 Thread Francis Dupont
Francis Dupont > First I tried to add the class to the host: > > "client-classes": [ > { > "name": "cl-test", > "test": "member('cl-test')" => note this does not make sense. If

Re: [Kea-users] reservations and classes

2019-01-08 Thread Francis Dupont
subnet": "172.21.151.0/24", > "require-client-classes": [ "cl-test" ] => require-client-classes makes listed classes to be added when the subnet was selected. Obviously it is not what you want. IMHO you need a guard ("client-class" clause) but as the localization (aka subnet / shared-network selection) is done first you need to apply the guard to the pool. > }, Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] ddns questions

2019-01-07 Thread Francis Dupont
> 1. How can I specify a ddns-domainname per subnet => you can't (I am sure because it is in the top list of features we want to add to Kea). Thanks Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.

Re: [Kea-users] Address reservation with IP address given by DNS

2019-01-04 Thread Francis Dupont
oyama writes: > I would like to assign IP address given by other domain name system (bind9) > in the address reservation mechanism, instead of writing IP address itself. => this feature is not supported by Kea and IMHO it will never be as there are too many ways to get it wrong. Regards

Re: [Kea-users] Client Class from MySQL

2019-01-01 Thread Francis Dupont
Note it uses a host cache to not do the host reservation lookup twice at some cost: shared subnets are not supported. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client Class from MySQL

2019-01-01 Thread Francis Dupont
ier so just before the host reservation lookup. Regards. Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client Class from MySQL

2019-01-01 Thread Francis Dupont
A priori it is not possible because the host reservation lookup is done after the subnet selection. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] DHCP Classes Kea Configuration

2018-12-07 Thread Francis Dupont
lanned for a fea days) so the number of not translated items should go closer to 0. The references are for gitlab Kea issues so you can look at them (they are locked so if you have comments please send them to us, e.g. using this list). Regards Francis Dupont PS: if you'd like I can add

Re: [Kea-users] DHCP Classes Kea Configuration

2018-12-06 Thread Francis Dupont
> pool { > allow members of "APPLE"; > allow members of "BELKIN"; > } => create a class with for instance name "APPLE-or-BELKIN" and with "test": "member('APPLE') or member('BELKIN'

Re: [Kea-users] DHCP Classes Kea Configuration

2018-12-06 Thread Francis Dupont
constraint is in the order of classes: you can check class membership only in a class which is known i.e. in the general case is defined before. Regards Francis Dupont PS: note this can't be backported to ISC DHCP because it has a hard limit to 5 classes for a packet and of course if th

Re: [Kea-users] DHCP Classes Kea Configuration

2018-12-06 Thread Francis Dupont
t;, "test": "substring(pkt4.mac,0,3) == 0xb019c6) or (substring(pkt4.mac,0,3) == 0xd8a25e)) or (substring(pkt4.mac,0,3) == 0xb8c75d)) or (substring(pkt4.mac,0,3) == 0x6c709f)) or (substring(pkt4.mac,0

Re: [Kea-users] KEA 1.4.0 with Anterius CA Error: unable to forward command to dhcp4

2018-11-23 Thread Francis Dupont
START i've get the following error: > > /Anterius Server> Bootup complete > CA Error: unable to forward command to the dhcp4 service: No such file or > directory. The server is likely to be offline => did you put a control-socket entry i

Re: [Kea-users] Configuring two separate subnets with PD pool and address pool

2018-11-15 Thread Francis Dupont
t;pool": "2001:db8:1:05::/80" } > ], > ... > } > ] > } => pools must be in the subnet. Here I believe there is a typo: the second pool is not in the subnet, perhaps it should be: "pool": "2001:db8:1:0:5::/80" Regards Fran

Re: [Kea-users] Configuring two separate subnets with PD pool and address pool

2018-11-15 Thread Francis Dupont
subnet in Kea). Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Kea 1.4 crash from time to time

2018-11-13 Thread Francis Dupont
you use a tool to launch Kea you should configure the tool to remove local domain socket files. About #262 it is a trivial typo in the example which will be fixed as soon as the Kea master branch code will be unfrozen. Regards Francis Dupont ___ Kea

Re: [Kea-users] host-name option12

2018-11-12 Thread Francis Dupont
To set an option-data using an expression is not supported (I should say not yet even I don't know when it will be implemented: only it won't be in 1.5). To do this you need to write a hook code... Regards Francis Dupont ___ Kea-users mailin

Re: [Kea-users] Kea 1.4 crash from time to time

2018-11-12 Thread Francis Dupont
mend in the case the port is supposed to be free to find which process is bound to it with for instance lsof. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Multiple dns-server in kea-dhcp-ddns server

2018-11-04 Thread Francis Dupont
Tim Weippert writes: > Hi list, > > i configured two dns-servers within a forward-ddns domain in kea-dhcp-ddns: > > "forward-ddns" : { > "ddns-domains": [ > { > "name": ".", > "key-name": "DHCP-Update-Key", >

Re: [Kea-users] Updated plan for Kea 1.5 | EOL for Kea 1.3 in December 2018

2018-11-03 Thread Francis Dupont
ed to Kea. The last kind is for references in the ISC DHCP to Kea Migration Assistant (not publicly available as it is based on ISC DHCP). Regards Francis Dupont > On 10/25/18 12:10 PM, Victoria Risk wrote: > > Kea-users, > > > > We decided last week to reorganize the co

Re: [Kea-users] kea SubClass equivalent

2018-10-26 Thread Francis Dupont
t; host-reservation for the corresponding CableModem. > > Since this is an essential feature for us it would be very very nice if > you could assist finding a working code for this. => I am afraid you need to write a hook as each time the expression feature is not enough to classify a

Re: [Kea-users] Problem with KEA crash

2018-10-25 Thread Francis Dupont
You defer a null shared pointer. The only way to understand what happens is to use a debugger (if you run from build directory add "libtool --mode=execute " before so Kea libraries can be found). Regards Francis Dupont ___ Kea-users mailin

Re: [Kea-users] kea SubClass equivalent

2018-10-25 Thread Francis Dupont
look at this later... Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Kea does not send option 161, 162, 184 and 185 information

2018-10-09 Thread Francis Dupont
Does the client request them? If it does not and you want Kea to send them anyway please set the always-send flag to true in option data. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo

Re: [Kea-users] Set independend DDNS TTL

2018-09-26 Thread Francis Dupont
(the bug described in it was fixed) > As these reports are quite a bit old, is there anything new to know? If > not, is there any other way to set a TTL? Maybe through a hook? => the DHCP DDNS server does not support hooks and I am afraid it is more than hairy to do at the D

Re: [Kea-users] Migration script

2018-09-17 Thread Francis Dupont
Not a script but a program. Unfortunately it is not finished (ISC DHCP and kea are both moving targets) and we found nobody to write a Web interface to it so there is only one (human) interface: me (in fact you should get more (and more usable) answers too in this list). Regards Francis Dupont

Re: [Kea-users] Cant "make" the master version with radius hook

2018-09-16 Thread Francis Dupont
Please contact support to get a version of the premium distrib which includes last changes (database code has been moved since 1.5 release and premium code updated but privately). Regards Francis Dupont ___ Kea-users mailing list Kea-users

Re: [Kea-users] subnet full - reselect

2018-09-10 Thread Francis Dupont
Radius hooks do not support shared networks. But it supports subnet re-select even it is a bit late when the allocation returns a pool full error. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman

Re: [Kea-users] subnet full - reselect

2018-09-10 Thread Francis Dupont
Are your two subnets in a shared network? (if there are not pools are not shared) Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Kea don't answer to BNG request

2018-08-22 Thread Francis Dupont
Your config does not provide any information to localize the client (or with other words to select the subnet). Please add a relay in the subnet config and retry. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https

Re: [Kea-users] cant change lease timers during lease4_select

2018-08-19 Thread Francis Dupont
d lifetime is a lease property, T1 and T2 belong to the address info/IA. Second I looked at the code and the subnet values are used, i.e. it seems the values in the lease are for info only... Of course you can change them at a later hook point. Regards Francis Dupont ___

Re: [Kea-users] Host reservation with pool dhcpv4

2018-08-17 Thread Francis Dupont
d some programming. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Host reservation with pool dhcpv4

2018-08-17 Thread Francis Dupont
address in host reservation is optional. Note that without a fixed address a resource (usually a hostname but it can be option or next server or ...) is required, i.e., empty host reservations are not allowed. Regards Francis Dupont ___ Kea-users mailing

Re: [Kea-users] Suggestions requested

2018-08-15 Thread Francis Dupont
To add a host reservation is not a silly idea: it is the way the RADIUS hook works: it adds a host cache entry at the select subnet hook point so when the host reservation is looked for the required information can be returned. Of course this requires to code a bit... Regards Francis Dupont PS

Re: [Kea-users] shared subnet advice

2018-08-14 Thread Francis Dupont
e known and should get a dynamic IP > from the public pool. > > I need to prevent known MACs from getting RFC 1918 IPs. => I think by "known" you mean have a host reservation. BTW it is required for a host reservation to provide at least an address or a hostname

Re: [Kea-users] user context

2018-07-30 Thread Francis Dupont
For any class which inherits from UserContext simply use the getContext() method, cf src/lib/cc/user_context.h Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] IP Reservation for Client-Class

2018-07-24 Thread Francis Dupont
Flex-id should be a better (easier to use and scales) than one member classes and associated pools. Regards Francis Dupont Phoebe Lee writes: > --65328a0571c58502 > Content-Type: text/plain; charset="UTF-8" > > Sorry for bad wording! > I'd like to have

Re: [Kea-users] IP Reservation for Client-Class

2018-07-24 Thread Francis Dupont
dress from the pool. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Reservation database equivalent of `always-send: true' ?

2018-07-18 Thread Francis Dupont
I can just confirm the persistent flag is the internal name for always-send. Francis Dupont Owen Dunn writes: > Hi, I have a postgres reservation database with kea 1.3. My > dhcp.dhcp4_options table works but I don't seem able to force kea always > to send an option even if no

Re: [Kea-users] custom DUID

2018-07-03 Thread Francis Dupont
k the number of your preferred enterprise (if it is no longer exist and was not in networking business it could help). - you get an official number for your enterprise (take time but is 100% safe forever)... Regards Francis Dupont PS: ISC uses its enterprise-number but as far as I know

Re: [Kea-users] custom DUID

2018-07-03 Thread Francis Dupont
bug... > Can I extend KEA ISC DHCPv6 (open source) ? => no need to extend something. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] client-classes for a particular MAC Address of a CPE

2018-07-02 Thread Francis Dupont
Remove the '' in: "test": "/substring(pkt4.mac, 0, 6) = '0x00d0550b6076'", so you should use: "test": "/substring(pkt4.mac, 0, 6) = 0x00d0550b6076", Regards Francis Dupont ___ Kea-user

Re: [Kea-users] kea 1.3.0 dying with mysql error

2018-06-18 Thread Francis Dupont
't solve the problem but just try in the case I am wrong) - Kea 1.4 reconnects databases so the error should be transient (vs fatal) in the new 1.4 release. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://list

Re: [Kea-users] Newbie questions

2018-06-15 Thread Francis Dupont
You need either a PRL option (code 55) to list requested options in the discover or request, or to set always-send to true in option data entries of a recent enough Kea config. Regards Francis Dupont PS: always-send adds the option code to the PRL option which is BTW the way to do the same

Re: [Kea-users] Best practice recommendation for reserving/blocking out VIPs?

2018-06-15 Thread Francis Dupont
flict text in the doc). Note you do not need to use an existing MAC in a host reservation, the only constraint is to use a different MAC (or identifier in general) between host reservations. Regards Francis Dupont ___ Kea-users mailing list Kea-

Re: [Kea-users] user-context

2018-06-14 Thread Francis Dupont
itay cohen writes: > i'm trying to get user-context from a selected subnet on lease4_select api > with a hook, => what are you trying to do? lease4_select is a REST API, hooks are linked DSO using a programming language (typically C++ but it is not required). Regards

Re: [Kea-users] kea http uefi boot

2018-06-05 Thread Francis Dupont
I looked at for possible candidates fro client-architecture options. One is the option 93 (client-system in Kea which BTW does not allow to redefine options). The value 16 is not in RFC 4578 table but it is 11 year old... Regards Francis Dupont

Re: [Kea-users] kea http uefi boot

2018-06-05 Thread Francis Dupont
uot;encode-int ( 16, 16 )" is a literal (0x0010). option vendor-class-identifier "HTTPClient" is an option-data. filename is boot-file-name in Kea. BTW I'd like to keep this example for the Kea migration assistant (when I'll add the code to translate this kind of if expre

Re: [Kea-users] map class with pool

2018-06-03 Thread Francis Dupont
n you double check you are running Kea 1.4-beta? This feature was added after 1.3 release. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client Classification question

2018-06-03 Thread Francis Dupont
it is option[].hex ... Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Releasing or deleting a lease

2018-06-01 Thread Francis Dupont
lease_cmds hook (in Kea core code)? Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Option82 with different versions of KEA

2018-05-30 Thread Francis Dupont
so it is not for the long term... Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] kea DHCPv6

2018-05-30 Thread Francis Dupont
ht place to ask for some examples. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Issue building Kea 1.4.0-beta - configure: error: Needs log4cplus library

2018-05-30 Thread Francis Dupont
e to "g++ --std=c++11" in the shell before calling autoreconf and ./configure. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] next-server-address in hooks for UEFI config servers

2018-05-30 Thread Francis Dupont
Gokulakrishnan Gopalakrishnan writes: > Currently, I'm hardcoding 'next-server' in kea.conf. Is it possible to do > it via hook code? => yes of course. BTW the way to set the next server address field (aka siaddr) in BOOTP/DHCP packet is the Pkt4 setSiaddr() method.

Re: [Kea-users] next-server-address in hooks for UEFI config servers

2018-05-25 Thread Francis Dupont
Add next server option to packet. > opt = response->getOption(DHO_HOME_AGENT_ADDRS); => This option gives a list (vs one) of addresses of the Mobile IP home agent. So it is something different (but if it makes the client happy...). Regards Francis Dupont

Re: [Kea-users] User classification and DHCP-Option assignment

2018-05-23 Thread Francis Dupont
means that you want a class which matches only clients which belong to a particular subnet this is in 1.4-beta. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Host reservation with remote-id

2018-05-16 Thread Francis Dupont
Mathias Aichinger writes: > How can I realize this with KEA? => you'll get more detailed answer but at the first look you need flex-id. > Does it work with the Premium API? => yes. Regards Francis Dupont ___ Kea-users maili

Re: [Kea-users] Hook

2018-04-28 Thread Francis Dupont
. Of course if all reserved addresses are outside pools (common but not mandatory) it is enough to check if the address is in a pool. Thanks Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] pd-pool and pool timers for DHCPv6

2018-04-28 Thread Francis Dupont
s in a hook but IMHO this does not enter in the "easy one". Regards Francis Dupont PS: different subnets is in fact IA_NA and IA_PD in different messages: when both are in the same message this message is localized (i.e. a subnet selected) atomically

Re: [Kea-users] Provide /32 network with DHCP

2018-04-19 Thread Francis Dupont
I can't see any problem other than a /32 *network* is useless because it has no available address: the broadcast address is reserved. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinf

Re: [Kea-users] Circuit-ID

2018-04-18 Thread Francis Dupont
Oops, I messed the PS. Here is the corrected version. > PS: if you get a cryptic error message please signal it so we can > improve it. BTW the last ticket (5600) is a perfect example of that... ___ Kea-users mailing list Kea-users@lists.isc.org https://

Re: [Kea-users] Circuit-ID

2018-04-18 Thread Francis Dupont
l fail with a message explaining there is only one spelling: true. Note the parser is typed so when you put a string at the place of a boolean it fails. More, keywords (e.g., "subnet4") are known and recognized according to the context so most typing errors are caught during parsing... Tha

Re: [Kea-users] DHCP4 Relay Information source

2018-04-17 Thread Francis Dupont
I don't fully understand your question but DHCPv4 messages have a field to carry the relay address (aka giaddr). Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Option 60 vendor class

2018-04-13 Thread Francis Dupont
Francis Dupont PS: look at src/lib/dhcp/std_option_defs.h for definitions of standard options. getData works only on unknown options or options which are not defined to a specific content type (i.e, binary). ___ Kea-users mailing list Kea-users

Re: [Kea-users] DUID host reservations

2018-04-03 Thread Francis Dupont
hanks Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Dynamic IP address assigned to client with MAC reservation

2018-03-27 Thread Francis Dupont
Using Client Identifier and Hardware Address BTW there is an explicit reference about PXE in this. Thanks Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Dynamic IP address assigned to client with MAC reservation

2018-03-27 Thread Francis Dupont
). If you find what did not work as you expected and how to solve it please post your conclusion here so we can aliment FAQs and knowledge bases... Of course this applies to anyone who got the same problem (it is the whole principle of this list :-). Thanks Francis Dupont

Re: [Kea-users] MySQL DB does not work when "lease-database" is set

2018-03-19 Thread Francis Dupont
m afraid MySQL does not work at all in your setup and its very long default timeout hides that. There were recent works to improve this (better timeouts, reconnect, etc) so I leave my colleagues who worked on it to give better answers. Regards Francis Dupont ___

Re: [Kea-users] [Kea Users] the renew-timer and rebind-timer problem

2018-03-06 Thread Francis Dupont
by subnets where they are not specified... Unfortunately I am afraid the only solution is to attach a piece of code on the pkt4_send hook point which simply removes these options (bool delOption(uint16_t type); which is a Pkt method is your friend) from the response4 parameter... Should take be

Re: [Kea-users] subnet and DHCP options for MySQL backend

2018-02-26 Thread Francis Dupont
A lease database backend is for the whole server. If you have specific subnet / options setting they go into the configuration inside subnet entries independently of backends. Regards Francis Dupont PS: BTW there must be at least one subnet because incoming packets are localized (aka subnet

Re: [Kea-users] Problems adding the premium package hooks libraries

2018-02-21 Thread Francis Dupont
(I know because I copied this code). Now it is not a system test... I'll check when I'll get some free time (tomorrow? surely before Monday if it is not solved before). Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Problems adding the premium package hooks libraries

2018-02-20 Thread Francis Dupont
libdhcp_legal_log.la libdhcp_flex_id.so libdhcp_host_cache.so libdhcp_legal_log.so libdhcp_ha.alibdhcp_host_cmds.a libdhcp_subnet_cmds.a libdhcp_ha.la libdhcp_host_cmds.lalibdhcp_subnet_cmds.la libdhcp_ha.so libdhcp_host_cmds.solibdhcp_subnet_cmds.

Re: [Kea-users] Build warnings under Debian Stretch

2018-02-05 Thread Francis Dupont
d it will be reconsidered and if still useless removed... BTW it has no impact as anything using the hook really requires the library so it is just an extra entry in a table. Thanks Francis Dupont ___ Kea-users mailing list Kea-users@lists.i

Re: [Kea-users] Build warnings under Debian Stretch

2018-02-05 Thread Francis Dupont
> fully Debian specific (and internal). IMHO this should be ignored. Thanks Francis Dupont PS: I noted we should look at the Debian tool which detects useless dependencies. ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] kea-dhcp4 and interface binding

2018-02-05 Thread Francis Dupont
when set to 1 it simply disables conflict detection. - I saw the word NAT in your message: if dnsmasq is run behind a NAT the best solution is to translate the DHCP server port and to use for dnsmasq this alternate port. Regards Francis Dupont __

Re: [Kea-users] DHCP6 subnet select fails. Basic config

2018-01-23 Thread Francis Dupont
good reasons, and reading the DHCPv4 code I don't think it works. So I created a ticket to get DHCPv4 fixed and DHCPv6 code added. Unfortunately I have no idea about when the ticket will be addressed... Regards Francis Dupont ___ Kea-users maili

Re: [Kea-users] DHCP6 subnet select fails. Basic config

2018-01-22 Thread Francis Dupont
e table (use-routing). Thanks Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client classification based on MAC vendor prefix + multi-subnet DDNS

2018-01-21 Thread Francis Dupont
nks Francis Dupont PS: of course when clients know their name and provide it things are simpler (:-)! ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client classification based on MAC vendor prefix + multi-subnet DDNS

2018-01-20 Thread Francis Dupont
on hostname. If you use only host reservations you simply have to make the qualifying-suffix empty and put fqdns in hostnames. Of course it won't work for a client which has no host reservations... Thanks Francis Dupont ___ Kea-users mailing

Re: [Kea-users] Client classification based on MAC vendor prefix + multi-subnet DDNS

2018-01-20 Thread Francis Dupont
a 1.3 perhaps you should try a shared network as pools and host reservations in a shared network are for the whole shared network as soon as they are not under a subnet with a class guard. Pools with class could help too but they are not yet available. Thanks Francis Dupont

Re: [Kea-users] Client classification based on MAC vendor prefix + multi-subnet DDNS

2018-01-19 Thread Francis Dupont
I've been unable to find anything that works so= > I'm still stuck only having DDNS for the first subnet. => Unfortunately it is not yet supported (it was recognized as an useful feature to add but no milestone was selected for this

Re: [Kea-users] Lease time per scope / subnet

2018-01-16 Thread Francis Dupont
alues are applied per subnet. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Kea implementation planning

2018-01-15 Thread Francis Dupont
ances (Raspberry Pi 3) that are running > DNS (Bind), how many servers, or whether I should split them to dedicated > servers (likely also Raspberry Pi 3). => you have another choice: use a file or a database for leases and in the second case where to put the database server (same

Re: [Kea-users] (no subject)

2018-01-12 Thread Francis Dupont
omma hostname: i.e. the string as it next_server: or NULL (same than the ip-address) dhcp4_server_hostname and dhcp4_boot_file_name: strings You have some constraints in length so I recommend to read the schema (SQL is supposed to be user friendly and you have "shells" to play with).

Re: [Kea-users] DHCP6 subnet select fails. Basic config

2018-01-11 Thread Francis Dupont
s far easier to use in particular when migrating from ISC DHCP... Of course you can write a hook to set the link address in received packets... Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailm

Re: [Kea-users] DHCP6 subnet select fails. Basic config

2018-01-11 Thread Francis Dupont
lse than ASCII even it is just an opaque vector of bytes... > I am running Kea 1.2.0 still, is this by any chance a known bug > I can fix by upgrading? (been waiting for FreeBSD port to get > refreshed). => I am afraid that upgrading Kea won't help. Regards Francis Dupont

Re: [Kea-users] (no subject)

2018-01-11 Thread Francis Dupont
quirement to define classes but it does not make sense to not define them... Thanks Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] DHCP6 subnet select fails. Basic config

2018-01-11 Thread Francis Dupont
relay. > Now I'm back to needing different subnets for each subscriber > again whereas they can share the same vlan with v4. => no, a vlan should map to a subnet (link in IPv6 terms). Thanks Francis Dupont PS: the interfaces-config global clause specifies interfaces Kea i

Re: [Kea-users] classless in-addr.arpa

2018-01-11 Thread Francis Dupont
ddns-rev-domainname is marked as not translatable in the migration assistant... In the Kea code (d2_cfg_mgr.*) the constant has a @todo saying it should be configurable so you should ask for this. Now we have a lot of things to do for the current release and limited man-power... Regards Francis

Re: [Kea-users] DHCP6 subnet select fails. Basic config

2018-01-11 Thread Francis Dupont
se in your subnet6 (I assume clients are directly connected as you didn't mention relays). Without it no subnet is selected or with other words the server has no idea about where is the client... Regards Francis Dupont PS: a /80 pool is not a problem. __

<    1   2   3   4   >