From owner-freebsd-bugs@freebsd.org Thu Jan 21 13:06:19 2021 Return-Path: <owner-freebsd-bugs@freebsd.org> Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 64F4F4F4C79 for <freebsd-bugs@mailman.nyi.freebsd.org>; Thu, 21 Jan 2021 13:06:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DM2hW2F10z3ssR for <freebsd-bugs@freebsd.org>; Thu, 21 Jan 2021 13:06:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4CCFF4F4C78; Thu, 21 Jan 2021 13:06:19 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4C96F4F4AAF for <bugs@mailman.nyi.freebsd.org>; Thu, 21 Jan 2021 13:06:19 +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 4DM2hW1M1Dz3t3R for <bugs@FreeBSD.org>; Thu, 21 Jan 2021 13:06:19 +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 216B948A2 for <bugs@FreeBSD.org>; Thu, 21 Jan 2021 13:06:19 +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 10LD6JuU090553 for <bugs@FreeBSD.org>; Thu, 21 Jan 2021 13:06:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 10LD6Jjv090552 for bugs@FreeBSD.org; Thu, 21 Jan 2021 13:06:19 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 252883] [net][route][loopback] lo1 IP is not added tp routing table of cloned interface via rc.d at startup Date: Thu, 21 Jan 2021 13:06:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dch@freebsd.org 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: <bug-252883-227@https.bugs.freebsd.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports <freebsd-bugs.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-bugs>, <mailto:freebsd-bugs-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-bugs/> List-Post: <mailto:freebsd-bugs@freebsd.org> List-Help: <mailto:freebsd-bugs-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-bugs>, <mailto:freebsd-bugs-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 21 Jan 2021 13:06:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252883 Bug ID: 252883 Summary: [net][route][loopback] lo1 IP is not added tp routing table of cloned interface via rc.d at startup Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: dch@freebsd.org IP routes for loopback cloned interfaces shouldn't need to have a static route manually added. Regression is probably present for several weeks, I think. # ping 100.64.0.1 PING 100.64.0.1 (100.64.0.1): 56 data bytes ^C # netstat -4rn Routing tables Internet: Destination Gateway Flags Netif Expire default 172.16.1.1 UGS igb0 127.0.0.1 link#3 UHS lo0 172.16.1.0/24 link#1 U igb0 172.16.1.4 link#1 UHS lo0 ### the following is missing, then the above now works # route add 100.64.0.1/28 100.64.0.1 uname 13.0-ALPHA1 main-c256063-g098c902b5202 (~ 2021-01-18) To reproduce: default install, add these to /etc/rc.conf, reboot or /etc/netstart.=20 Issue is also present with a more typical RFC1918 range, I tested with 192.168.0.1 as well. # /etc/rc.conf cloned_interfaces=3D"${cloned_interfaces} lo1" ifconfig_lo1=3D"inet 100.64.0.1/28" ifconfig_lo1_aliases=3D"inet 100.64.0.2-15/32" # ifconfig lo1 lo1: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 fe80::1%lo1 prefixlen 64 scopeid 0x4 inet 100.64.0.1 netmask 0xfffffff0 inet 100.64.0.2 netmask 0xffffffff ... inet 100.64.0.15 netmask 0xffffffff groups: lo nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL> # route -nv get 100.64.0.1 RTA_DST: inet 100.64.0.1; RTA_IFP: link ; RTM_GET: Report Metrics: len 224, pid: 0, seq 1, errno 0, flags:<UP,GATEWAY,HOST,STATIC> locks: inits:=20 sockaddrs: <DST,IFP> 100.64.0.1 link#0 route to: 100.64.0.1 destination: 0.0.0.0 mask: 0.0.0.0 gateway: 172.16.1.1 fib: 0 interface: igb0 flags: <UP,GATEWAY,DONE,STATIC> recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0=20 locks: inits:=20 sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA> 0.0.0.0 172.16.1.1 0.0.0.0 igb0:ac.1f.6b.67.e1.38 172.16.1.4 --=20 You are receiving this mail because: You are the assignee for the bug.=