From nobody Sun Nov 26 00:51:11 2023 X-Original-To: bugs@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 4Sd9Bl6pJ9z527q2 for ; Sun, 26 Nov 2023 00:51:11 +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 4Sd9Bl5m3Hz3MlZ for ; Sun, 26 Nov 2023 00:51:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700959871; 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=6ZaLHgv2vlcuAKVBAFUtgLIXdtI88jzh8Qw+rsm23Oc=; b=wK7pdJueTI5yv7ZGpZLPTpvdUCzMJurf2gG7XlQJK71X5MmrerkFJeAdrU0AP+Sptys+g1 +SuR4QVsMdnyB8e+fjAwTXu4LH8Mi//znx/S8W28aNCnAXNu6o4p5bFGV80sVxSLShbOFH 0XLhvQKf5Z3sJ9DkPQjf8bNLd+QVCKf5pOEgHCjdP9Q+OXAFcmZxmKFYpRu4I0Lx1vhZfb xqfYlctJlJFoBSHdSoB8vmXkMHNfdK0pEcNO9NiSbM6MD3RuNa9ZlAgp8y8p1Ca7Rv65x4 GaecatLUk4HMtXCfdAWyLJ/YEMJG4yhxMNpodJyaU+0MT7KEIQtUnR92r2PuGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700959871; a=rsa-sha256; cv=none; b=iFxPjkNmtJToNQvvdPrnDs6RAhIVGAtF/XsL+LQA1MckSJYwR1PXWcrDoZAt14LmiADEw6 5b+sONMRGfAdjDF0Kd3/Ki6FF49PDRB/i7bpt9Nb24FatEpkCjLW/eXOs9+Mljkd1o8iPr I97yDd95VUDVrLeyR+0sQT2MX9IUzz8tEh+sdJz15Zkuj894BL5m+0UZx+if6jZUgtWWkx M7Wc1G5fSS2TwoFQpGjJNx/IjkAY0nzGzQ3/XSATKIgFs+5grbzScVXMda8c75yMaxg/kW sXxas1MeVILliwF3HNalZSNrwpgZNWupWix2E12Ga7oVXduafWE0LGW9JxZ56g== 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 4Sd9Bl4kmhzb18 for ; Sun, 26 Nov 2023 00:51:11 +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 3AQ0pBdC099758 for ; Sun, 26 Nov 2023 00:51:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AQ0pBWw099757 for bugs@FreeBSD.org; Sun, 26 Nov 2023 00:51:11 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: bugs@FreeBSD.org Subject: [Bug 275341] Cannot add a route to a wireguard interface without the device having an address. Date: Sun, 26 Nov 2023 00:51:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jlduran@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275341 --- Comment #2 from Jose Luis Duran --- I can verify that review D41330 fixes the problem. Assuming 14.0-RELEASE sources in /usr/src: # git clone -b releng/14.0 https://git.freebsd.org/src.git /usr/src Apply the patch: # cd /usr/src # patch < fetch https://reviews.freebsd.org/D41330.diff Build and install the kernel: # make buildkernel # make installkernel Reboot: # shutdown -r now The old kernel is under /boot/kernel.old. It should work as expected. Try again: # ifconfig wg1 create # ifconfig wg1 up # route -n add 10.2.0.0/24 -interface wg1 add net 10.2.0.0: gateway wg1 Verify: # netstat -4nr --=20 You are receiving this mail because: You are the assignee for the bug.=