[Kea-users] dhcp6 address assignment

2022-10-18 Thread Marek Greško via Kea-users
Hello, I am in a phase of migration ISC DHCPD into kea and I am suffering several problems in ipv6 address assignment. - 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 th

Re: [Kea-users] dhcp6 address assignment

2022-10-19 Thread Marek Greško via Kea-users
n/latest/arm/dhcp6-srv.html?highlight=unique#multiple-reservations-for-the-same-ip > > --Dan > > On Tue, Oct 18, 2022 at 1:15 PM Marek Greško via Kea-users > wrote: > >> Hello, >> >> I am in a phase of migration ISC DHCPD into kea and I am suffering several &

Re: [Kea-users] dhcp6 address assignment

2022-10-19 Thread Marek Greško via Kea-users
st/arm/dhcp6-srv.html?highlight=unique#multiple-reservations-for-the-same-ip > > --Dan > > On Tue, Oct 18, 2022 at 1:15 PM Marek Greško via Kea-users > wrote: > >> Hello, >> >> I am in a phase of migration ISC DHCPD into kea and I am suffering several >>

[Kea-users] isc group concept

2022-10-19 Thread Marek Greško via Kea-users
Hello, I was using ISC DHCP server and used the group concept to define common parameters for a group of clients. I found this concept very convenient. Is it possible to define something like group in the kea dhcp server reservations or should I define specific parameters to every host in reser

Re: [Kea-users] dhcp6 address assignment

2022-10-19 Thread Marek Greško via Kea-users
Hmm, I would expect reservations are not offered if not within the subnet. M. Sent with Proton Mail secure email. --- Original Message --- On Wednesday, October 19th, 2022 at 19:12, perl-list wrote: > > - Original Message - > > > From: "Marek Grešk

Re: [Kea-users] isc group concept

2022-10-19 Thread Marek Greško via Kea-users
rek Greško via Kea-users wrote: > > > I was using ISC DHCP server and used the group concept to define > > common parameters for a group of clients. I found this concept very > > convenient. Is it possible to define something like group in the kea > > dhcp server reservatio

Re: [Kea-users] dhcp6 address assignment

2022-10-19 Thread Marek Greško via Kea-users
. --- Original Message --- On Wednesday, October 19th, 2022 at 19:12, perl-list wrote: > > - Original Message - > > > From: "Marek Greško via Kea-users" [email protected] > > To: "Dan Oachs" [email protected] > > Cc: "kea-users&q

Re: [Kea-users] dhcp6 address assignment

2022-10-20 Thread Marek Greško via Kea-users
-the-same-ip > > --Dan > > On Tue, Oct 18, 2022 at 1:15 PM Marek Greško via Kea-users > wrote: > >> Hello, >> >> I am in a phase of migration ISC DHCPD into kea and I am suffering several >> problems in ipv6 address assignment. >> >> - I used to ass

Re: [Kea-users] isc group concept

2022-10-20 Thread Marek Greško via Kea-users
kt4.mac == xxxx or .... ) > > Cheers, > Veronique > > > On 19/10/2022 20:51 Marek Greško via Kea-users [email protected] > > wrote: > > > > Yes of course, I am aware of the include concept. So the group concept is > > definitely not here. I thought

[Kea-users] kea-dhpc6 start on fedora boot

2022-10-21 Thread Marek Greško via Kea-users
Hello, i get some strange results when starting kea-dhcp6 on boot of Fedora 36. I see logs: DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: Failed to open multicast socket on interface ..., reason: Failed to open link-local socket on interface ...: Failed to bind socket 19 to fe80::...:/po

Re: [Kea-users] kea-dhpc6 start on fedora boot

2022-10-21 Thread Marek Greško via Kea-users
51, Peter Davies wrote: > Hi Marek, > > What happens if you start Kea manually from the command line? > > /Peter > > On 21/10/2022 09.40, Marek Greško via Kea-users wrote: > >> Hello, >> >> i get some strange results when starting kea-dhcp6 on boot of Fe

[Kea-users] kea-dhcp6 failing randomly

2022-11-17 Thread Marek Greško via Kea-users
Hello, kea-dhcp6 complains abuout ip_vti0 interface down 2022-11-17 01:15:25.038 WARN [kea-dhcp6.dhcpsrv/2451.140297934552384] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface ip_vti0 is down 2022-11-17 01:15:30.713 WARN [kea-dhcp6.dhcpsrv/2451.140297934552384] DHCPSRV_OPEN_SOCKET_F

Re: [Kea-users] Monitoring a Kea cluster

2023-01-03 Thread Marek Greško via Kea-users
Hello, I was observing similar issues. I currently workarounded it by setting: "service-sockets-require-all": false, "service-sockets-max-retries": 1000, "service-sockets-retry-wait-time": 1 I am not sure the workaround is good enough, but I did not observ

Re: [Kea-users] DDNS update fail

2023-09-29 Thread Marek Greško via Kea-users
If you update slave DNS server by DDNS you would probably get rejected as it is not authoritative for the zone. So I would say it is neither DNS nor Kea issue but parameters returned by kea should be changed to honor DDNS updates towards the primary DNS server. Marek --- Original Message -

Re: [Kea-users] Where to put data for kea.

2024-01-11 Thread Marek Greško via Kea-users
Hello Albert, I am not a real expert on kea, but I can add my 2 cents. We have been using dhcpd, which config was generated by shell script. So we only modified it to generate kea config. The main advantage of kea compared to dhcpd is that kea enables you to include another config file using

Re: [Kea-users] Adding a lease via lease4-add API call

2024-01-12 Thread Marek Greško via Kea-users
Hello, - can I add a lease with an IP of a given subnet but outside of a particular pool? Yes for sure. If the lease exists it takes precedence even before an existing reservation which makes a headache for me. - does kea actually use the lease to assign the IP? I mean, can this feature be us

Re: [Kea-users] Adding a lease via lease4-add API call

2024-01-12 Thread Marek Greško via Kea-users
e? Or the offline > status of the target host will cause the lease to be deleted anyways? > > Best, > Nicolò. > > Il giorno ven 12 gen 2024 alle ore 10:31 Marek Greško via Kea-users > ha scritto: > >> Hello, >> >> - can I add a lease with an IP of a given sub

Re: [Kea-users] Where to put data for kea.

2024-01-15 Thread Marek Greško via Kea-users
, January 15th, 2024 at 15:23, Albert Shih wrote: > Le 12/01/2024 à 06:34:22+0000, Marek Greško via Kea-users a écrit > > Hi, > > > I am not a real expert on kea, but I can add my 2 cents. We have been > > using dhcpd, which config was generated by shell script. So we only >

Re: [Kea-users] DHCP6 host reservation

2024-03-30 Thread Marek Greško via Kea-users
Hello Cristina, dhcpv6 does not match on MAC address. You should match on DUID. You can find the correct DUID for the client in the leases file. So the reservation should look like this: {"hostname": “X”,”duid": “00:01:00:.:XX:YY:ZZ:AA:00:0o”,”ip-addresses": ["2001:760:422c:35::XYZ”] }

Re: [Kea-users] DHCPv6, shared network, and double-relay Solicit messages

2024-04-23 Thread Marek Greško via Kea-users
Hello Marek, kea listens on UDP socket only for port 546. You should not use -t flag with netstat which shows only TCP. Marek On Tuesday, April 23rd, 2024 at 17:42, [email protected] wrote: > I wonder whether it has anything to do with the fact that DHCPv6 process does > not seem to l

[Kea-users] reservation for the same host in several subnets

2024-08-22 Thread Marek Greško via Kea-users
Hello, I am running a kea-2.6.1 server. I want one of the hosts to be roaming, i. e. to be able to connect by the network cable to two different vlans by selecting the plug. I am able to setup it for ipv4, but for ipv6 I get error: failed to add new host using the D UID .. to the IPv6 subn

Re: [Kea-users] reservation for the same host in several subnets

2024-08-22 Thread Marek Greško via Kea-users
Thursday, August 22nd, 2024 at 14:17, Marek Greško via Kea-users wrote: > Hello, > > I am running a kea-2.6.1 server. I want one of the hosts to be roaming, i. e. > to be able to connect by the network cable to two different vlans by > selecting the plug. > > I am able to s

Re: [Kea-users] reservation for the same host in several subnets

2024-08-22 Thread Marek Greško via Kea-users
> Thank you, > Darren Ankney > > On Thu, Aug 22, 2024 at 8:22 AM Marek Greško via Kea-users > [email protected] wrote: > > > Hello, > > > > sorry, probably different problem here: > > > > I just realized, in the second vlan I have another definiti

Re: [Kea-users] reservation for the same host in several subnets

2024-08-24 Thread Marek Greško via Kea-users
of the option in the reservation? Thanks Marek Sent with Proton Mail secure email. On Friday, August 23rd, 2024 at 7:19, Marek Greško via Kea-users wrote: > Hello, > > is it a limitation of kea or of the dhcp6 protocol? What is IAID then for? > The IAIDs are different. > &g

Re: [Kea-users] reservation for the same host in several subnets

2024-08-25 Thread Marek Greško via Kea-users
t believe there is a way to assign a reservation to an IAID. I > also cannot think of a way to use multiple keys for a reservation. > > Thank you, > Darren Ankney > > On Sat, Aug 24, 2024 at 11:59 AM Marek Greško via Kea-users > [email protected] wrote: > > >

Re: [Kea-users] reservation for the same host in several subnets

2024-08-26 Thread Marek Greško via Kea-users
> Darren Ankney > > On Sun, Aug 25, 2024 at 6:38 AM Marek Greško via Kea-users > [email protected] wrote: > > > I am pretty convinced the ISC DHCPD was able to do it. So the only way to > > workaround the problem is to create separate vlan for cable connecti

Re: [Kea-users] reservation for the same host in several subnets

2024-09-06 Thread Marek Greško via Kea-users
nterfaces > simultaneously)? > > Thank you, > Darren Ankney > > On Sun, Aug 25, 2024 at 6:38 AM Marek Greško via Kea-users > [email protected] wrote: > > > I am pretty convinced the ISC DHCPD was able to do it. So the only way to > > workaround the problem i

Re: [Kea-users] reservation for the same host in several subnets

2024-09-08 Thread Marek Greško via Kea-users
on the same > subnet, Kea will allow the appropriate reservation to be used again because > the lease database won't contain an entry for that IP address. > > On Fri, Sep 6, 2024, at 23:04, Marek Greško via Kea-users wrote: > > > Hello, > > > > is there

Re: [Kea-users] reservation for the same host in several subnets

2024-09-08 Thread Marek Greško via Kea-users
uot;2001:db8:ff::77" > > }, > { > "hw-address": "01:02:03:04:05:06", > "ip-address": "2001:db8:ff::78" > > } > ] > > Thank you, > Darren Ankney > > On Sun, Sep 8, 2024 at 7:47 AM Marek Greško via Kea-users > kea-

Re: [Kea-users] reservation for the same host in several subnets

2024-09-09 Thread Marek Greško via Kea-users
> > > > "reservations": [ > > > { > > > "hw-address": "aa:bb:cc:dd:ee:ff", > > > "ip-address": "2001:db8:ff::77" > > > > > > }, > > > { > > > "hw-address": &

[Kea-users] DHCPv6 DUID-LL matching

2024-11-29 Thread Marek Greško via Kea-users
Hello, I have working kea dhcpv6 setup. I am struggling with one problem. All my devices get correct IPv6 addresses from reservations by matching DUID. But one of the devices in the network have changing DUID, only the DUID-LL part is constant, so I tried to match on DUID-LL. I am convinced it

Re: [Kea-users] DHCPv6 DUID-LL matching

2024-11-29 Thread Marek Greško via Kea-users
If nothing else you should also just be able to specify DUID-LL directly: > > { > "hostname": "host", > "duid": "03:01:01:02:03:04:05:06", > "ip-addresses": [ "fc00::7" ] > } > > I am not sure what exactly is changing in th

Re: [Kea-users] DHCPv6 DUID-LL matching

2024-11-29 Thread Marek Greško via Kea-users
this: > > > > > > "mac-sources": [ "duid" ] > > > > > > If nothing else you should also just be able to specify DUID-LL directly: > > > > > > { > > > "hostname": "host", > > > "dui

Re: [Kea-users] DHCPv6 DUID-LL matching

2024-11-29 Thread Marek Greško via Kea-users
It does not seem so. Marek On Friday, November 29th, 2024 at 10:53, Veronique Lefebure wrote: > Hi Marek, > The solution is to use flex-id. > Cheers, > Veronique > > --- > > From: Kea-users on behalf of Marek

Re: [Kea-users] DHCPv6 DUID-LL matching

2024-11-29 Thread Marek Greško via Kea-users
Nope, solution is to not place reservations into leases. The reservations in leases create more problems then it solves. There are many change requests for it from multiple people. This was just step sidewards. Marek Sent with Proton Mail secure email. On Friday, November 29th, 2024 at 11:

Re: [Kea-users] DHCPv6 DUID-LL matching

2024-11-29 Thread Marek Greško via Kea-users
local”] —> I’ve > configured relay agent on router so ipv6-link-local should not be used > > - "host-reservation-identifiers": ["hw-address”] > > - example of host reservations > > { > > "hostname": “", > > "hw-address": “00:00

Re: [Kea-users] problem after upgrade from kea 261

2024-12-14 Thread Marek Greško via Kea-users
Hello, just quessing: selinux? Can you try in selinux permissive mode? Marek Sent with Proton Mail secure email. On Saturday, December 14th, 2024 at 9:33, Ralf Figge via Kea-users wrote: > Hello, > i use Debian 12. KEA 2.61 has run very well. I wanted to test some new > featues from 2.7

Re: [Kea-users] ALLOC_ENGINE_V4_DISCOVER_ADDRESS_CONFLICT issue

2024-12-22 Thread Marek Greško via Kea-users
Hello, I suspect, you just hit major design flaw of the kea. It is storing the reservation into the lease file and the lease has precedence when responding to the client. So if your client asked for a ip address and received some from the pool and you added the reservation after that, you will

Re: [Kea-users] DHCPv6 flooding by Windows 11 24H2 clients

2025-01-25 Thread Marek Greško via Kea-users
Hello, I read this article: https://www.zdnet.com/article/windows-11-24h2-bug-list-updated-one-fixed-12-to-go/ In section 6 there are mentioned some major problems in networking and obtaining IP addresses. I suspect this could be related to your problem. After reading the article I was afraid

Re: [Kea-users] ALLOC_ENGINE_V4_DISCOVER_ADDRESS_CONFLICT issue

2024-12-23 Thread Marek Greško via Kea-users
it should eventually expire and be allocated to the client that > has a reservation. As a workaround, you should be able to delete this > lease. However, to make sure we know what is going on, existing lease > details would be helpful. > > Marcin Siodelski > ISC > > &g