Date: Thu, 21 Jan 2021 13:06:19 +0000 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 Message-ID: <bug-252883-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252883-227>