From nobody Mon Sep 25 10:32:09 2023 X-Original-To: net@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 4RvK1j65Qmz4vLv8 for ; Mon, 25 Sep 2023 10:32:09 +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 4RvK1j4rYqz3Hy9 for ; Mon, 25 Sep 2023 10:32:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695637929; a=rsa-sha256; cv=none; b=mp1sYW8JLlrC4aulhvhjF8hJ8RZXfQGQAfs2IrdxhwBFtGWhslvWqqUx8sjSE42cHSu55Y cynvDfWqz+4J6iuv3CTcHTn6t0spnLSVKAtUeAHfd0NgXJ8LiFBLmkdvRbJPMY2C0ZER8c Oa5E5c/VllDxUYty4SqeAUTyJ2jnPtyaXqD+wNEyPiehh3uP2Bo9RazGVkLNTiZ/kADIqT eIAcNIwTQ3LgGVfzAstG5LX18oY9U1g2bB88+S3q8ut/6PWdozd5ON/Giv/ZN2h2ByCPFs MQc9t5gwB/i//FtWlXoM/W+uAtglCxRa5QpCkfD4AP8m5PbjtbLBH23lY1S6Bw== 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=1695637929; 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=31UaM2j/bSdLRHCsymsLV3YALAx+MM8ln/cNaiEhQyM=; b=fDIJ+OJ1UyIoj/roqKoqDzenCVLMA9iBO2JNb3O1+1YbXLYiotMqxgFAUVQ+g+lN+37VcN vMK73fZwfkaOSWMDq4ppMQ7lIVVxlBjg9WdwKYZP9O0Y7ea2jWQkDkT443dn8hL7RAjGKf 5CWmmQA4nIpKdSzkgyRcKsV8DPdzqaq6D1srVwWX5qYFh0o9Sx5kKQ8OndgaoLFP/66tZ4 3Ky7nHnX0pYPrmIJnOuCsdQ3L+102gQsnWsw93MiSswtoMUGUQBu75/HNZ1EKTyIQcftzl c2Sd1AteU2pCHsxx1w9k9sTHwvBvwmRk68W5shTIMLROqvZlLsiCQ5XF4MXD6A== 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 4RvK1j3xmMz1PXk for ; Mon, 25 Sep 2023 10:32:09 +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 38PAW9gj036734 for ; Mon, 25 Sep 2023 10:32:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38PAW9x0036679 for net@FreeBSD.org; Mon, 25 Sep 2023 10:32:09 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: net@FreeBSD.org Subject: [Bug 271308] [FIB] File exists while adding IPv4 Date: Mon, 25 Sep 2023 10:32:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: konrad.kreciwilk@korbank.pl X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271308 --- Comment #5 from Konrad --- simpler reproduction: FreeBSD 13.1-STABLE #24 stable/13-56caa9e82b-dirty: Wed Sep 7 20:17:15 CEST 2022: without options NETLINK, works corretly: root@:~ # ifconfig bge1 10.20.20.254/24 root@:~ # route add 192.168.100.0/24 10.20.20.254 add net 192.168.100.0: gateway 10.20.20.254 root@:~ # ifconfig bge3 192.168.100.254/24 root@:~ # netstat -rn Routing tables Internet: Destination Gateway Flags Netif Expire 10.20.20.0/24 link#4 U bge1 10.20.20.254 link#4 UHS lo0 127.0.0.1 link#9 UH lo0 192.168.100.0/24 link#6 U bge3 192.168.100.254 link#6 UHS lo0 FreeBSD 13.2-STABLE #6 stable/13-651e037e2-dirty: Mon May 8 00:55:17 CEST 2023: with options NETLINK root@:~ # ifconfig bge1 10.20.20.254/24 root@:~ # route add 192.168.100.0/24 10.20.20.254 add net 192.168.100.0: gateway 10.20.20.254 root@:~ # ifconfig bge3 192.168.100.254/24 ifconfig: ioctl (SIOCAIFADDR): File exists Freebsd 14.0-STABLE #0 stable/14-n265212-84266fb897e6: Sat Sep 23 21:40:58 = CEST 2023: with options NETLINK root@:~ # ifconfig bge1 10.20.20.254/24 root@:~ # route add 192.168.100.0/24 10.20.20.254 add net 192.168.100.0: gateway 10.20.20.254 root@:~ # ifconfig bge3 192.168.100.254/24 ifconfig: ioctl (SIOCAIFADDR): File exists root@b:~ # netstat -rn Routing tables Internet: Destination Gateway Flags Netif Expire 10.20.20.0/24 link#2 U bge1 10.20.20.254 link#5 UHS lo0 127.0.0.1 link#5 UH lo0 192.168.100.0/24 10.20.20.254 UGS bge1 --=20 You are receiving this mail because: You are on the CC list for the bug.=