From nobody Sun Dec 29 04:24:13 2024 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 4YLR2Q4hW8z5jltW for ; Sun, 29 Dec 2024 04:24:14 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YLR2Q38Fmz4pll for ; Sun, 29 Dec 2024 04:24:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735446254; 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=/JXNUoatzMHbYZ/82MrRqUbMDPVllYzbdENX1DlwCw0=; b=GzpAWHAW1cwFsMU5cP5SyqdpweJDkw16GqDu+j7CBpPtde624u5zmksL+/oPlfJPnKd5Tq RomDN7fPu5BsNfyL/5xfkJdR1pSArFyPCGgobmwH7Eqbh1Lm0Y1eUc6Ok89q1FkMT6seDw q2j4Y7WZzYE3GYkDxdPYNfXH5U0Cp6faIsrndFfBKiVCAmZUnNfe6cEbnQJEQb9drV60SM VZ6Hm5X0dYFmdjot6KSi5tsX0VE7v1pyjW+iJpsIcRVOQMQPKx3hD5eKQiBQnT4zfy3jy0 IJcHH/ugfo8tdmLAlVV7o+cPT6jgIk37ltjRxia7CtuCbNIPZ2UrL1Y7JzRJtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735446254; a=rsa-sha256; cv=none; b=aGSev2iwDboSQX5LHiYBhIsNS2WeI2FydK5mR3gKIn//r2MZ2sDwSXovYkFNUmz/5UGYZn I+pp9jCqxr6izluZwbiVmhA6rt8naHzZk2DsPpHgnvMQDRJYrCwheO1nEBHcf6PCAGNXly PgphzjFMNNvBi0ecVO+FTbbzpP6vrpjtWq0mxpPrPlRX7DOM1oRsS66w5JbIGtQ8qJgwDB 7PcYFNCI5MrWy2Oq2iHK8L3OjyQoV/IFGIqU+y35PieOq+xIVS/Ii4V0B5lGDtKK0W66Su ++KVfjS415ny1sASPd8+1TZV6cExxPDlFndMRHGjnOBP26FICUEtPzIqPP28bg== 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 4YLR2Q2dV9zvK0 for ; Sun, 29 Dec 2024 04:24:14 +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 4BT4OE1q005353 for ; Sun, 29 Dec 2024 04:24:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BT4OE5b005352 for net@FreeBSD.org; Sun, 29 Dec 2024 04:24:14 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 263986] IPv6 address gets detached when using multiple IPv6 routers Date: Sun, 29 Dec 2024 04:24:13 +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 Only Me X-Bugzilla-Who: xistence@0x58.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D263986 Delta Regeer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xistence@0x58.com --- Comment #9 from Delta Regeer --- I have a similar issue, but slightly different. I have multiple interfaces: igc4/vlan1001. igc4 receives a default route/on-link prefix that is using a GUA and has a valid router lifetime of greater than 0. vlan1001 however is used only for storage traffic. It is a pure IPv6 only V= LAN and configuration is done with ULA addressing, that is advertised with a ro= uter lifetime of 0. Unfortunately that means that when vlan1001 accepted the router advertiseme= nt it never installs the on-link route for the prefix it received, even though= we expressly want to force that /64 onto vlan1001 (10 GbE) instead of out thro= ugh igc4 (1 GbE). Even adding a manual IP address in the same /64 will not install the on-link route: igc4: flags=3D1008843 metr= ic 0 mtu 1500 =20=20=20=20=20=20=20 options=3D4e427bb ether 20:7c:14:f4:83:f4 inet 172.16.109.131 netmask 0xffffff00 broadcast 172.16.109.255 inet6 fe80::227c:14ff:fef4:83f4%igc4 prefixlen 64 scopeid 0x5 inet6 2601:283:4c01:29a0:227c:14ff:fef4:83f4 prefixlen 64 autoconf pltime 604800 vltime 2592000 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D23 vlan1001: flags=3D1008843 = metric 0 mtu 9000 =20=20=20=20=20=20=20 options=3D4600703 ether 20:7c:14:f4:83:f5 inet6 fe80::227c:14ff:fef4:83f5%vlan1001 prefixlen 64 scopeid 0xb inet6 fd9b:d0c4:d2c8:736e::4 prefixlen 64 inet6 fd9b:d0c4:d2c8:736e:227c:14ff:fef4:83f5 prefixlen 64 detached autoconf pltime 604800 vltime 2592000 groups: vlan vlan: 1001 vlanproto: 802.1q vlanpcp: 0 parent interface: ix0 media: Ethernet autoselect (10Gbase-Twinax ) status: active nd6 options=3D23 # ndp -p 2601:283:4c01:29a0::/64 if=3Digc4 flags=3DLAO vltime=3D2592000, pltime=3D604800, expire=3D29d23h59m32s, ref= =3D1 advertised by fe80::4262:31ff:fe08:9276%igc4 (reachable) # netstat -rn Routing tables Internet: Destination Gateway Flags Netif Expire default 172.16.109.1 UGS igc4 127.0.0.1 link#10 UH lo0 172.16.109.0/24 link#5 U igc4 172.16.109.131 link#10 UHS lo0 Internet6: Destination Gateway Flags=20=20= =20=20=20=20=20=20 Netif Expire ::/96 link#10 URS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 default fe80::4262:31ff:fe08:9276%igc4 UG=20=20= =20=20=20=20=20=20=20=20=20 igc4 ::1 link#10 UHS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 ::ffff:0.0.0.0/96 link#10 URS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 2601:283:4c01:29a0::/64 link#5 U=20=20=20= =20=20=20=20=20=20=20=20=20=20 igc4 2601:283:4c01:29a0:227c:14ff:fef4:83f4 link#10 UHS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 fd9b:d0c4:d2c8:736e::4 link#10 UHS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 fd9b:d0c4:d2c8:736e:227c:14ff:fef4:83f5 link#10 UHS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 fe80::%lo0/10 link#10 URS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 fe80::%igc4/64 link#5 U=20=20=20= =20=20=20=20=20=20=20=20=20=20 igc4 fe80::227c:14ff:fef4:83f4%lo0 link#10 UHS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 fe80::%ix0/64 link#6 U=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 ix0 fe80::227c:14ff:fef4:83f5%lo0 link#10 UHS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 fe80::%lo0/64 link#10 U=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 lo0 fe80::1%lo0 link#10 UHS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 fe80::%vlan1001/64 link#11 U=20=20=20= =20=20=20=20=20=20 vlan1001 fe80::227c:14ff:fef4:83f5%lo0 link#10 UHS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 ff02::/16 link#10 URS=20=20= =20=20=20=20=20=20=20=20=20=20 lo0 # rdisc6 igc4 Soliciting ff02::2 (ff02::2) on igc4... Hop limit : 64 ( 0x40) Stateful address conf. : No Stateful other conf. : No Mobile home agent : No Router preference : medium Neighbor discovery proxy : No Router lifetime : 1800 (0x00000708) seconds Reachable time : unspecified (0x00000000) Retransmit time : unspecified (0x00000000) Source link-layer address: 40:62:31:08:92:76 Prefix : 2601:283:4c01:29a0::/64 On-link : Yes Autonomous address conf.: Yes Valid time : 2592000 (0x00278d00) seconds Pref. time : 604800 (0x00093a80) seconds Recursive DNS server : fd9b:d0c4:d2c8:6c6f::1 DNS server lifetime : 900 (0x00000384) seconds DNS search list : home.arpa DNS search list lifetime: 900 (0x00000384) seconds from fe80::4262:31ff:fe08:9276 # rdisc6 vlan1001 Soliciting ff02::2 (ff02::2) on vlan1001... Hop limit : 64 ( 0x40) Stateful address conf. : No Stateful other conf. : No Mobile home agent : No Router preference : medium Neighbor discovery proxy : No Router lifetime : 0 (0x00000000) seconds Reachable time : unspecified (0x00000000) Retransmit time : unspecified (0x00000000) Source link-layer address: 40:62:31:08:92:76 Prefix : fd9b:d0c4:d2c8:736e::/64 On-link : Yes Autonomous address conf.: Yes Valid time : 2592000 (0x00278d00) seconds Pref. time : 604800 (0x00093a80) seconds from fe80::4262:31ff:fe08:9276 Both FreeBSD and Linux will create an ip address, but Linux will happily install the on-link prefix, whereas FreeBSD will not. Note that I would expect that no matter what as long as a prefix does not c= lash with an existing prefix on the system, I would expect it to be installed on-link correctly, even if the router lifetime is 0 and there is no ::/0 ro= ute provided on that network segment. Whether that address is ULA (as is the ca= se from Filipe or myself) or GUA, since the same issue exists when I use a GUA prefix on the same network. While searching for bugs I did find this other bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D104851 that seems to be somewhat related, and probably in the same part of the codebase. --=20 You are receiving this mail because: You are the assignee for the bug.=