In the DHCPv6 server, is it possible to reserve an IP address by
interface-id(18)? I tried what I thought might work:
{
"Dhcp6": {
"reservations": [
{
"interface-id": "Gi0/0/1.240",
"ip-addresses": [
"2001:0:2:8::abcd"
]
}
]
}
}
It produce
In Kea DHCPv6, I noticed that option 18 "interface-id" is not stored in the
lease6 table in mysql. There isn't a column for it. Is it possible to include
option 18 in the "logging" options if it isn't to be stored with the leases?
With debug on I can see it is received:
relay[0]: msg-type=12
"client-class": "iid1"
},
{
"pool":
"2001:0:2:e::667-2001:0:2:e:7fff:::fffe"
}
],
SNIP
- Original Messag
What I don't understand is why you didn't just use a straight UTC timestamp in
an int or bigint field. You can add said timestamp right in your sql query as
unix_timestamp(now()) which will produce an EPOCH time in the column. If you
need to see it as an actual date/time for some reason, you w
Perhaps you could set the desired options within the class instead of in the
subnet specification? You could have a class for PXEClient and a class for
everyone else? I'm not sure the below is correct but maybe on the right track?
"Dhcp4": {
"client-classes": [
{
"name
I assume what OP is talking about is the same behavior from ISC DHCP where
"fixed-address" did not store a lease so any device that matched the conditions
could get the IP.
- Original Message -
> From: "Anders Rosendal"
> To: dp-w...@dpotter.com
> Cc: "kea-users"
> Sent: Wednesday, Jul
Is it not possible to, instead, check the conf file on host2 where it will live?
- Original Message -
> From: "Veronique Lefebure"
> To: "kea-users"
> Sent: Friday, August 27, 2021 5:39:15 AM
> Subject: [Kea-users] kea-dhcp4 -t file: check the configuration file syntax
> and exit but fa
f the
configuration file (such as the interface section).
- Original Message -
> From: "Veronique Lefebure"
> To: "perl-list" , "kea-users"
>
> Sent: Friday, August 27, 2021 9:29:40 AM
> Subject: Re: [Kea-users] kea-dhcp4 -t file: check the configur
Yes. You can do it just like this in the subnet section (this is for DHCPv6
but i imagine v4 is similar):
"subnet6": [
{
"valid-lifetime": 600,
"preferred-lifetime": 540,
"subnet": "2001:0
I believe:
select hex(hwaddr) from lease4;
will get you an ASCII mac address. Someone correct me if I'm wrong.
- Original Message -
> From: "egor grijuc"
> To: "Klaus Steden" , ad...@mailsrv.globnet.md
> Cc: "kea-users"
> Sent: Wednesday, September 15, 2021 3:02:00 AM
> Subject: Re: [
I don't know for sure as I have so far managed to largely avoid "systemd" but
do have some small experience with it.
radiusd.service on one of my servers has this:
After=syslog.target network-online.target ipa.service dirsrv.target
krb5kdc.service mysql.service mariadb.service postgresql.servic
e mysql.service and mariadb.service service entries only.
> Regards,
> PeterP
>> On 22 Sep 2021, at 14:26, perl-list wrote:
>> I don't know for sure as I have so far managed to largely avoid "systemd"
>> but do
>> have some small experience with
cp4 -c /etc/kea/kea-dhcp4.conf
> ExecReload=/bin/kill -HUP $MAINPID
> [Install]
> WantedBy=multi-user.target
> Thank you,
> PeterP.
>> On 22 Sep 2021, at 14:35, perl-list wrote:
>> find /etc/ | grep isc-kea-dhcp4-server.service
>> its in there somewhere I as
I don't know if that is possible, but it sounds like a hack to me if it is. I
would suggest looking into your relay agent. Some of them allow the "hiding"
of the real server such that the end client never sees what IP the actual
server has (ie: relay agent swaps out dhcp-server-identifier valu
> "test": "substring(option[60].hex,0,6) == 'ArubaAP'",
Assuming your configuration is correct, it could be that the substring is wrong
being the only problem. ArubaAP is 7 characters and your substring is 0,6 as
in start at position 0 and include the next 6 characters would only get ArubaA
You mentioned it is being added to these classes from the log file: ALL,
VENDOR_CL_ArubaInstantAP, UNKNOWN
ALL can be ignored. UNKNOWN is a special class that can also be ignored. It
is also being added to some autogenerated class of VENDOR_CL_ArubaInstantAP it
seems. Perhaps you can make u
Veronique,
Preferred lifetime needs to be somewhat lower than valid lifetime:
"valid-lifetime": 86400,
"preferred-lifetime": 79200,
I would not set (at least while you are trying to resolve this):
>> "min-valid-lifetime": 86400,
>> "max-valid-lifetime": 86400,
>> "renew-timer": 32400,
>> "rebin
You can use substring to do that. Here is an example of it in use:
match if substring (option dhcp-client-identifier, 1, 3) = "RAS";
see also `man dhcp-eval`
substring (data-expr, offset, length)
The substring operator evaluates the data expression and returns the
substring of the re
disregard my previous message - wrong email list - was answering Kea list with
the original DHCP configurations :)
- Original Message -
> From: "perl-list"
> To: "kea-users"
> Sent: Wednesday, January 26, 2022 8:22:25 AM
> Subject: Re: [Kea-users] Globa
I think he was asking what happens if the servers can't see each other and both
start answering clients, possibly creating IP conflicts that must be resolved
at some point. Imagine a split fiber ring where the servers can't see each
other and the clients on each half of the ring can't see each
You may want to look into the high availability hook
https://kea.readthedocs.io/en/latest/arm/hooks.html?highlight=high%20availability#ha-high-availability
as it can be configured to send lease state changes to some arbitrary listener
such that you could make a software program that listens to t
Could it also be that his header files for sysrepo are located in
/usr/local/include/ and the configure script needs to be told to look there?
- Original Message -
> From: "Andrei Pavel"
> To: "kea-users"
> Sent: Friday, May 6, 2022 9:36:31 AM
> Subject: Re: [Kea-users] Kea with sysrepo
as far as I understand, that isn't possible. It probably should be given the
way prefix delegation works, but that wasn't how they chose to design it (at
least the way I understand it). Each prefix must be part of a particular
subnet which can all be grouped together under a single shared netw
" DHCP4_PACKET_PROCESS_STD_EXCEPTION exception occurred during packet
processing:
Empty DUIDs are not allowed "
DHCPv4? Why would there be a DUID in DHCPv4? I would do a packet capture of
the client traffic and see if there is indeed a DUID field in it somewhere and
if it is indeed empty... t
memfile is supported
"lease-database": {
"type": "memfile",
"persist": true,
"name": "/var/state/kea/dhcp6.leases"
},
Kea should periodically launch kea-lfc to cleanup the lease file in the case of
memfile. I'm not sure about other lease storage metho
You can also send lease data somewhere using the high availability hook in the
passive-backup configuration:
https://kea.readthedocs.io/en/latest/arm/hooks.html#passive-backup-configuration
You could create a listener that captures the data and does something with it
(assumedly, whatever /usr/l
>1. I used to assign same ipv6 address for the same machine which was dial
> boot
>linux/windows. It was possible by assigning same ipv6 address to both DUIDs
>before. But in kea this is not allowed. I found out there is a possibility
> to
>assign ipv6 address by MAC address whi
- Original Message -
> From: "Marek Greško via Kea-users"
> To: "Dan Oachs"
> Cc: "kea-users"
> Sent: Wednesday, October 19, 2022 12:59:56 PM
> Subject: Re: [Kea-users] dhcp6 address assignment
> Hello,
> I run into another problems with this. To simplify the migration I use global
>
This may be beyond the scope of what you were asking, but you can store some or
all of the config in MySQL/MariaDB:
https://kb.isc.org/docs/using-the-kea-configuration-backend which may make
this particular aspect easier to manage.
- Original Message -
> From: "Andrew Peterson via Kea
Are you running the control agent? Mine shown below is for dhcp6, but i'm sure
the config is similar.
$ /usr/sbin/kea-ctrl-agent -c /etc/kea-ctrl-agent.conf
$ cat /etc/kea-ctrl-agent.conf
{
"Control-agent": {
"http-host": "10.0.0.1",
"http-port": 8000,
"control-socke
t;>> Does the "control-socket" definition in your kea-dhcp4 configuration
>>> match
>>> the "control-socket" definition in the /etc/kea-ctrl-agent.conf file?
>>> /Peter
>>> On 09/11/2022 11.22, perl-list wrote:
>>>> Are
> On Wed, Nov 9, 2022 at 12:38 PM perl-list < [ mailto:perl-l...@network1.net |
> perl-l...@network1.net ] > wrote:
>> The other one is still receiving the packets, it just isn't doing anything
>> with
>> them unless it becomes the active device (assuming y
> i don't speak english very well, but doesn't it say here that it's possible?
>
> RFC 8415 DHCP for IPv6 November 2018
> 6.6. Multiple Addresses and Prefixes
> DHCP allows a client to receive multiple addresses. During typical
> operation, a client sends one instance of an IA_NA
> but i want several addresses AT THE SAME TIME. this is stated in rfc8415. and
> here is what is said about rfc8415 in the kea documentation:
>
> The server will allocate, renew, or rebind a maximum of one lease for a
> particular IA option (IA_NA or IA_PD) sent by a client. RFC 8415 al
The hot-standby will only start after some criteria are met. Some of the
parameters are tunable. See:
https://kea.readthedocs.io/en/kea-1.8.1/arm/hooks.html#load-balancing-configuration
Not sure if you can tune it to start responding within a 30 to 35 second
window.
We just modify the confi
> where do you see even a word about this in the documentation? in any
> documentation, not only for kea, the "shared network" is referred to as a
> pooled pool of addresses from which the dhcp server will take an address to
> assign to the client. could you quote exactly the place where it says
36 matches
Mail list logo