Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E39ECC433EF for ; Mon, 21 Feb 2022 09:06:10 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4K2Gcc75mFz3cFg for ; Mon, 21 Feb 2022 20:06:08 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.alibaba.com (client-ip=115.124.30.130; helo=out30-130.freemail.mail.aliyun.com; envelope-from=guoheyi@linux.alibaba.com; receiver=) Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4K2Gc55N7Wz2ymg for ; Mon, 21 Feb 2022 20:05:40 +1100 (AEDT) X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R631e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=e01e04407; MF=guoheyi@linux.alibaba.com; NM=1; PH=DS; RN=5; SR=0; TI=SMTPD_---0V52vBQG_1645434332; Received: from 30.225.139.246(mailfrom:guoheyi@linux.alibaba.com fp:SMTPD_---0V52vBQG_1645434332) by smtp.aliyun-inc.com(127.0.0.1); Mon, 21 Feb 2022 17:05:33 +0800 Message-ID: <13769f21-e6c3-5550-909a-fa0893c1c32a@linux.alibaba.com> Date: Mon, 21 Feb 2022 17:05:32 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Content-Language: en-US To: openbmc From: Heyi Guo Subject: phosphor-network: does it make sense to disable systemd-networkd sending DHCP release? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ratan Gupta , Nagaraju Goruganti , Adriana Kobylak , William Kennington Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" Hi all, Now systemd-networkd will send DHCP release packet when BMC reboots. This may cause BMC to lose its original aquired IP after next boot up. I see this feature can be disabled by adding below lines to the configuration file of systemd-networkd: [DHCPv4] SendRelease=false Does it make sense to disable DHCP release? Or is there any reason for the current default configuration in phosphor-network? Thanks, Heyi