From nobody Thu Mar 28 12:06:33 2024 X-Original-To: rc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V52MG1JPkz5Fk8w for ; Thu, 28 Mar 2024 12:06:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V52MF45Dhz4TZY for ; Thu, 28 Mar 2024 12:06:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711627593; a=rsa-sha256; cv=none; b=esdWVRh9c8+gcshKious28w0DA8dxGEFid8JsKJ8b26SsUsBBz2MVBCJ5RoOh9eiy44VFb uucpaDM5dMM5epWNL89NfzznwuLnDh1RLrVPmKFq0lrBzV1nYN6zk+C1+kYukjqZbyB8BU kDybsrfRe6oEy9C+hjor7iBz5ZrVPFPzUMVSl18t+weZb1L9B82ZYDNOfDROxKX3x15ABl 2YcYTrf0YSWat9oCRqoVB0BKp7RIxEgS5TH28MPR8IKKhRBjYy0utBexUlS3vvLyc2wHRY xhSr5yG4WT8xbGgLHu6yqqSVeEUAmYj3idRNtw59KTs6r+gEKyZpzYVj/gIGFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711627593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3vBLAZ710o+W0Bfbwn45fKwfpXQH2C7+097bkt+7ka4=; b=XU59hggRXqvvJsLFNHAtBicpqwGdwQQ33NEKIxrZFT5aFfwOtiWnsFcK+39DbU88ItSikZ RIoujbtH4LnraUUJOIXR1V74WIPiRYNUZ2YFfybabQqbglg9Mw8HlPA67FUhzigJ9UH0AH 0qS/6CIrr7FGmU/h+ZwkwJEcERvn66r/qzVAEGTHhDaT/BwoWpEhDA5S9anidoHjdlyq+v qTzgJ9vl1fz0Cxxi3w0iDV8XABgvFhBgJyBcNiVqvq/udV3wsP0eUiKm19zosgH9SW5Gj2 FhzeHWuGX6/NX1AOoeX++J7kUIUfRh8+mwyoxgOzVlBDBPGmv+vJkyXrTeoJKw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V52MF3c5tzRCK for ; Thu, 28 Mar 2024 12:06:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42SC6X1D092100 for ; Thu, 28 Mar 2024 12:06:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42SC6XUD092088 for rc@FreeBSD.org; Thu, 28 Mar 2024 12:06:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: rc@FreeBSD.org Subject: [Bug 277904] DHCP and static ip not correctly configured Date: Thu, 28 Mar 2024 12:06:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: shuriku@shurik.kiev.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion related to /etc/rc.d design and implementation List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277904 --- Comment #6 from Oleksandr Kryvulia --- When dhclient configures interface it removes all IP adresses from it. With SYNCDHCP rc susbsystem waits while dhclient receives IP and configure = it on interface. Then it assigns an alias IP. If you do later "service dhclient restart bge0" you can see that an alias IP is no longer present on interfac= e. IMHO, the proper way to configure static IP with DHCP is to use alias secti= on in /etc/dhclient.conf, please see dhclient.conf(5) for details: alias { interface "bge0"; fixed-address 99.104.201.113; option subnet-mask 255.255.255.248; } So I think it works as intended. --=20 You are receiving this mail because: You are the assignee for the bug.=