From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <s.lendl@proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 4A0BC99AAE
 for <pve-devel@lists.proxmox.com>; Thu, 16 Nov 2023 15:09:48 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 2B98A14D4B
 for <pve-devel@lists.proxmox.com>; Thu, 16 Nov 2023 15:09:18 +0100 (CET)
Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com
 [94.136.29.106])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS
 for <pve-devel@lists.proxmox.com>; Thu, 16 Nov 2023 15:09:17 +0100 (CET)
Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1])
 by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 6C61E4389B;
 Thu, 16 Nov 2023 15:09:17 +0100 (CET)
From: Stefan Lendl <s.lendl@proxmox.com>
To: "DERUMIER, Alexandre" <alexandre.derumier@groupe-cyllene.com>
Cc: "pve-devel@lists.proxmox.com" <pve-devel@lists.proxmox.com>
In-Reply-To: <d2454a7611011e1436e7c159e92a4234210ae982.camel@groupe-cyllene.com>
References: <20231115151350.596552-1-aderumier@odiso.com>
 <509c039d71f3c4c5edf8ebd24529b0d12af74434.camel@groupe-cyllene.com>
 <87il632clh.fsf@gmail.com>
 <224f6b39b0d45e386dd32b1881169c17a89b2917.camel@groupe-cyllene.com>
 <87bkbt3lly.fsf@gmail.com>
 <d2454a7611011e1436e7c159e92a4234210ae982.camel@groupe-cyllene.com>
Date: Thu, 16 Nov 2023 15:09:16 +0100
Message-ID: <878r6x3i43.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.071 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DMARC_MISSING             0.1 Missing DMARC policy
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 T_SCC_BODY_TEXT_LINE    -0.01 -
Subject: Re: [pve-devel] [PATCH pve-network] dnsmasq: configure static range
 for each subnet
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Thu, 16 Nov 2023 14:09:48 -0000

"DERUMIER, Alexandre" <alexandre.derumier@groupe-cyllene.com> writes:

>>>So far, *this all works!*
>
> mmm, and you reassign the same ip address to the new mac ?
>

If that is the first free IP in the range, the vNic gets the same IP.
Otherwise it will get a new IP.