Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-26 Thread Geert Stappers
On Sun, Jul 26, 2020 at 04:05:07PM +0200, Pali Rohár wrote: > On Thursday 23 July 2020 13:11:36 Move On wrote: > > On Thu, Jul 23, 2020 at 10:35:45AM +0200, Pali Rohár wrote: > > > ... retransmit ... > > > > Provide PATCH v3 and see what happens > > So, this is the only thing which needs to be

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-26 Thread Pali Rohár
On Thursday 23 July 2020 13:11:36 Move On wrote: > On Thu, Jul 23, 2020 at 10:35:45AM +0200, Pali Rohár wrote: > > So finally something relevant to this patch... > > Cheer \o/ > > > On Wednesday 22 July 2020 23:48:19 Petr Menšík wrote: > > > On 7/22/20 3:44 PM, Pali Rohár wrote: > > > > I do n

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-26 Thread Pali Rohár
On Thursday 23 July 2020 19:03:41 Kevin 'ldir' Darbyshire-Bryant wrote: > > On 23 Jul 2020, at 14:11, Pali Rohár wrote: > > > > > > > Hello Kevin! So you basically have similar/same feature request. > > > > Could you test this dnsmasq patch if it helps with your setup? > > > > -- > > Pali Roh

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-23 Thread Kevin 'ldir' Darbyshire-Bryant
> On 23 Jul 2020, at 14:11, Pali Rohár wrote: > > > Hello Kevin! So you basically have similar/same feature request. > > Could you test this dnsmasq patch if it helps with your setup? > > -- > Pali Rohár > pali.ro...@gmail.com I have successfully used prior incarnations of your patch. Rec

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-23 Thread Geert Stappers
On Thu, Jul 23, 2020 at 03:11:59PM +0200, Pali Rohár wrote: > On Thursday 23 July 2020 12:43:03 Kevin 'ldir' Darbyshire-Bryant wrote: > > On 23 Jul 2020, at 09:35, Pali Rohár wrote: > > > On Wednesday 22 July 2020 23:48:19 Petr Menšík wrote: > > >> On 7/22/20 3:44 PM, Pali Rohár wrote: > > >>> I d

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-23 Thread Olaf Hering
Am Thu, 23 Jul 2020 10:35:45 +0200 schrieb Pali Rohár : > If user set in configure file that for MAC address AB:CD:EF:AB:CD:EF > must be assigned IPv6 address FD::1 then user would expect that host > with address AB:CD:EF:AB:CD:EF would get IPv6 address FD::1. In a world where a DHCP client has m

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-23 Thread Pali Rohár
On Thursday 23 July 2020 12:43:03 Kevin 'ldir' Darbyshire-Bryant wrote: > > On 23 Jul 2020, at 09:35, Pali Rohár wrote: > > > > So finally something relevant to this patch... > > > > On Wednesday 22 July 2020 23:48:19 Petr Menšík wrote: > >> On 7/22/20 3:44 PM, Pali Rohár wrote: > >>> I do not s

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-23 Thread Kevin 'ldir' Darbyshire-Bryant
> On 23 Jul 2020, at 09:35, Pali Rohár wrote: > > So finally something relevant to this patch... > > On Wednesday 22 July 2020 23:48:19 Petr Menšík wrote: >> On 7/22/20 3:44 PM, Pali Rohár wrote: >>> I do not see any benefit why to complicate things just because "IPv6 >>> addresses are many".

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-23 Thread Roy Marples
On 22/07/2020 13:42, Petr Menšík wrote: You can use SLAAC for MAC generated addresses and they would be the same regardless running OS. This hasn't been true for a number of years because a few OS (and of course dhcpcd) have grown support for RFC 7217. Now if they all used the same algorithm

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-23 Thread Move On
On Thu, Jul 23, 2020 at 10:35:45AM +0200, Pali Rohár wrote: > So finally something relevant to this patch... Cheer \o/ > On Wednesday 22 July 2020 23:48:19 Petr Menšík wrote: > > On 7/22/20 3:44 PM, Pali Rohár wrote: > > > I do not see any benefit why to complicate things just because "IPv6 >

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-23 Thread Pali Rohár
So finally something relevant to this patch... On Wednesday 22 July 2020 23:48:19 Petr Menšík wrote: > On 7/22/20 3:44 PM, Pali Rohár wrote: > > I do not see any benefit why to complicate things just because "IPv6 > > addresses are many". I do not see nothing wrong on simple setup where > > device

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-22 Thread Petr Menšík
On 7/22/20 3:44 PM, Pali Rohár wrote: > Hello Petr! > > On Wednesday 22 July 2020 14:42:16 Petr Menšík wrote: >> More below... >> >> On 7/22/20 9:40 AM, Pali Rohár wrote: >>> Hello Petr! >>> >>> On Tuesday 21 July 2020 14:23:51 Petr Menšík wrote: I think more correct would be using the same

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-22 Thread Pali Rohár
Hello Petr! On Wednesday 22 July 2020 14:42:16 Petr Menšík wrote: > More below... > > On 7/22/20 9:40 AM, Pali Rohár wrote: > > Hello Petr! > > > > On Tuesday 21 July 2020 14:23:51 Petr Menšík wrote: > >> I think more correct would be using the same DUID on both systems. > > > > Problem is that

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-22 Thread Petr Menšík
Btw, found windows allows releasing of leases to be configured from DHCP server. I doubt similar option is accepted on ISC DHCP client. NetworkManager probably does not implement such thing. This should help you avoiding conflicts between multiple instances in a different way. Never used it, not s

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-22 Thread Petr Menšík
More below... On 7/22/20 9:40 AM, Pali Rohár wrote: > Hello Petr! > > On Tuesday 21 July 2020 14:23:51 Petr Menšík wrote: >> I think more correct would be using the same DUID on both systems. > > Problem is that DUID generation is under control of operating system and > during installation of op

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-22 Thread Pali Rohár
Hello Petr! On Tuesday 21 July 2020 14:23:51 Petr Menšík wrote: > I think more correct would be using the same DUID on both systems. Problem is that DUID generation is under control of operating system and during installation of operating system, every one generates its own. It is not under user

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-21 Thread Petr Menšík
I think more correct would be using the same DUID on both systems. There is already another option to make this working. It is possible assigning IPv6 prefix or multiple addresses. dhcp-host can provide multiple addresses to single mac, which works with different DUID quite well. It still has diff

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-06-22 Thread Pali Rohár
On Tuesday 26 May 2020 10:52:05 Pali Rohár wrote: > On Thursday 21 May 2020 16:22:03 Geert Stappers wrote: > > On Sun, May 03, 2020 at 01:23:15PM +0200, Pali Rohár wrote: > > > Currently IPv6 addresses are assigned to tuple (IAID, DUID). When system > > > changes IAID/DUID then old assigned IPv6 ad

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-05-26 Thread Pali Rohár
On Thursday 21 May 2020 16:22:03 Geert Stappers wrote: > On Sun, May 03, 2020 at 01:23:15PM +0200, Pali Rohár wrote: > > Currently IPv6 addresses are assigned to tuple (IAID, DUID). When system > > changes IAID/DUID then old assigned IPv6 address cannot be reused, even > > when in config file was D

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-05-21 Thread Geert Stappers
On Sun, May 03, 2020 at 01:23:15PM +0200, Pali Rohár wrote: > Currently IPv6 addresses are assigned to tuple (IAID, DUID). When system > changes IAID/DUID then old assigned IPv6 address cannot be reused, even > when in config file was DHCPv6 assignment based on MAC address (and not on > DUID). > >

[Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-05-03 Thread Pali Rohár
Currently IPv6 addresses are assigned to tuple (IAID, DUID). When system changes IAID/DUID then old assigned IPv6 address cannot be reused, even when in config file was DHCPv6 assignment based on MAC address (and not on DUID). IAID/DUID is changed when rebooting from one operating system to anothe