From nobody Fri Jun 18 02:52:58 2021 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 AF46E11D38F4 for ; Fri, 18 Jun 2021 02:52:58 +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 4G5k4V4XGqz4dPw for ; Fri, 18 Jun 2021 02:52:58 +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 8433E1AC78 for ; Fri, 18 Jun 2021 02:52:58 +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 15I2qwuV074043 for ; Fri, 18 Jun 2021 02:52:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15I2qwhY074042 for bugs@FreeBSD.org; Fri, 18 Jun 2021 02:52:58 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 256681] Incorrect loopback route for aliases IP addresses Date: Fri, 18 Jun 2021 02:52:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE 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: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256681 Bug ID: 256681 Summary: Incorrect loopback route for aliases IP addresses Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: zlei.huang@gmail.com Observed this regression on stable/13 and current/14. Steps to repeat: # ifconfig tap0 create inet 192.0.2.1/24 # ifconfig tap0 inet 192.0.2.2/32 alias To verify the route table: # netstat -4rnW --------------------------------------- Destination Gateway Flags Nhop# Mtu Netif Expire ... 192.0.2.0/24 link#4 U 5 1500 tap0 192.0.2.1 link#4 UHS 6 16384 lo0 192.0.2.2 link#4 UH 7 1500 tap0 ... --------------------------------------- See the loopback route for alias IP address 192.0.2.2 is incorrect. To verify the impact: # ping 192.0.2.2 PING 192.0.2.2 (192.0.2.2): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host Expected route table: 192.0.2.2 link#4 UHS 7 16384 lo0 The Mtu should be 16384 and Netif should be lo0. The Flags should contains = `S`, ie. should be same with 192.0.2.1 Expected behavior: ping alias IP address with success --=20 You are receiving this mail because: You are the assignee for the bug.=