From nobody Wed Apr 13 10:06:12 2022 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 6F96C1B08E33 for ; Wed, 13 Apr 2022 10:06:13 +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 4KddXN3DT8z4vh7 for ; Wed, 13 Apr 2022 10:06:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 CD7EB1E93 for ; Wed, 13 Apr 2022 10:06: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 23DA6B6j065717 for ; Wed, 13 Apr 2022 10:06:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23DA6Bj0065716 for net@FreeBSD.org; Wed, 13 Apr 2022 10:06: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: net@FreeBSD.org Subject: [Bug 263202] "route already in table" - even though it's not, and can't be deleted Date: Wed, 13 Apr 2022 10:06:12 +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: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zlei.huang@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649844373; 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=NgLZRgvFrDODAobDWAy0sC8Rpn//zG+1VePLLLDgG/E=; b=Do23OlcE/vzbUDpdxHCMCdhioA0bzgElJqBSPnWPsirOjZMzMtTCcVl16/6nuUlgBdtztC 6XNrBaMDsOS9BaanAdwhKzJJ6Nf+lyknS45uH+5bJeyVJ+EvSL79p9Wfn4OU/8bYtHBGnd uV17QuCfBSjG36KtgK7j3bGkDQ5fCBfA5Tr+kML26feM93d1BfhPo+C1zAd4aID8nY78U0 Iy8zMxKzLX3REyc5gkRbSfmuDsbfbtMWQrljjJq4dTZxOcLvLmGxmyp72oMILQ9jaFyZMa dyxhbedbTEad6BEMbdbheZqDqlrXpXyoNdPiILCy0C6Yl5Zi1hJuy6he3WilQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649844373; a=rsa-sha256; cv=none; b=KNJ9sNj9ZV7pO8+Y43Jp67skT6FFtn9GcwWvUgK1rurrPTd/GYUm82X0xo69aj5gsyqSZi Beiq9UPodCr9Zo72DL61ZroX/ooYL41KqoZO8/PUQG74mV9XWwnzRADRlUdZt9yD96c+Wk Q5mRQSlDWOM5lQFjNqzFj3KX4yNvm0AptoGs/Bvl97mNha78LvPlx0bIaMP/Ci4FqmYmU4 7T5v5EzzBkFbrHz1HgAfEWyhvyQiZfP1bVzat7pFgFeL+An9MLja6obMGnXWMO2jEnp73j 1Fdzgh2r+Pe4WYWKk/R7rnIgxv0OHDaP734JYOD8OffSsZ+L0RxNoL1eddW9/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263202 --- Comment #9 from Zhenlei Huang --- (In reply to Pat Maddox from comment #8) Thanks for your report. It is weird that I managed to reproduce on 13.0 and also 13.1-RC2. This is what I had tried: # ifconfig tap0 create inet 100.120.128.187/24 # netstat -4rn Routing tables Internet: Destination Gateway Flags Netif Expire ... 100.120.128.0/24 link#3 U tap0 100.120.128.187 link#3 UHS lo0 127.0.0.1 link#2 UH lo0 ... # route add 100.120.128.187 -interface lo0 add host 100.120.128.187: gateway lo0 fib 0: route already in table # route delete 100.120.128.187 -interface lo0 route: route has not been found delete host 100.120.128.187: gateway lo0 fib 0: not in table # route delete 100.120.128.187 delete host 100.120.128.187 # route add 100.120.128.187 -interface lo0 add host 100.120.128.187: gateway lo0 # netstat -4rn Routing tables Internet: Destination Gateway Flags Netif Expire ... 100.120.128.0/24 link#3 U tap0 100.120.128.187 link#2 UHS lo0 127.0.0.1 link#2 UH lo0 ... --=20 You are receiving this mail because: You are the assignee for the bug.=