From nobody Sun May 15 12:08:01 2022 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 49D7A1AEB57A for ; Sun, 15 May 2022 12:08:01 +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 4L1Lk872dxz4TF5 for ; Sun, 15 May 2022 12:08:00 +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 D28E83503 for ; Sun, 15 May 2022 12:08:00 +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 24FC80ie089659 for ; Sun, 15 May 2022 12:08:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24FC80AS089658 for bugs@FreeBSD.org; Sun, 15 May 2022 12:08:00 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 263986] IPv6 address gets detached when using multiple IPv6 routers Date: Sun, 15 May 2022 12:08:01 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: filipe@zarco.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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652616481; 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; bh=lodm6usQelvPTRvw+B0qnKEFhUjoRSMm9cCe4UOxd8c=; b=ScUBqEe2SEWQNSFou/3LLrpHFcM0+qHS+DzIs8MG0Mir1weMpWOlTkdDLGGal3DWh5c2ET +2zjowlFZW77r9T8S6tP8RWZXA7QRQehELVswHXxrjoSvTVkv9qm1sojxyYhECZF6WFcw5 aDTBM2vWVOuu6bT/P7qy8NcO5V2jc2qlIjeqZHGLDlpYaAWDbLwNoDwg28MvYQrzFfH5PZ vcEztBhB2S6J4791TkUlHsenTD23Qs5M/K6xGsitId1qUaN+lZqfGeMp4UA7sEHaVS6rOh D549u79FaCF1sb6EWoe9LMs68Yymo1eiQB/aAmA82T01AP8dbeq9nGb2XH1ymg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652616481; a=rsa-sha256; cv=none; b=huiKa1lrvTQAFyM7K4zJj+6VRt829mcT0F6SwFMSTaY+7DcTqcBDxyE3/fS1cEiUVRCIwb dFvMUiN4axUtyi7jXubTNiTujctY80lVEgoh++885FvnhwBPe3OqlXv12vL1XActpDN4vh usxqhCX8fJ8hASF0dVd2pcPu5i34+QnuqZ+7hnGipLeHd/HvNQcuCr8rIElohg8Uge1zg9 oEeaQ1yGRybJ9c7VaydnBCluwOxZnyA4P2KgrXyjVucxayHdL8SjJTdmJCsfIIBjjf9lxj LatpX1SBKjmfzKaThAD+rq7cehCx/4jdVoRlpHegoSc+s5OHrPccUTkyEz04vg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263986 Bug ID: 263986 Summary: IPv6 address gets detached when using multiple IPv6 routers Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: filipe@zarco.org On my LAN, I have 2 routers sending ICMPv6 RA. One is the default gateway advertising the IPv6 global prefix. The other one advertises the IPv6 ULA prefix. On a FreeBSD host, using the following interface configuration on /etc/rc.c= onf, the ULA address is marked as detached and its on-link route deleted from the routing table. ifconfig_em0=3D"DHCP" ifconfig_em0_ipv6=3D"inet6 accept_rtadv" # ifconfig em0 em0: flags=3D8863 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D481009b ether 08:00:27:6b:a5:36 inet6 fe80::a00:27ff:fe6b:a536%em0 prefixlen 64 scopeid 0x1 inet6 fd09:xxxx:xxxx:xxxx:a00:27ff:fe6b:a536 prefixlen 64 detached autoconf inet6 2001:xxxx:xxxx:xxxx:a00:27ff:fe6b:a536 prefixlen 64 autoconf inet 192.168.1.20 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D23 This network setup works fine with other OS. The RA message details are the following: # rdisc6 em0 Soliciting ff02::2 (ff02::2) on em0... 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) Prefix : fd09:xxxx:xxxx:xxxx::/64 On-link : Yes Autonomous address conf.: Yes Valid time : 180000 (0x0002bf20) seconds Pref. time : 90000 (0x00015f90) seconds Route : fd09:xxxx:xxxx::/60 Route preference : medium Route lifetime : 1800 (0x00000708) seconds Source link-layer address: XX:XX:XX:B0:FA:F4 from fe80::x:x:feb0:faf4 Hop limit : 64 ( 0x40) Stateful address conf. : No Stateful other conf. : Yes Mobile home agent : No Router preference : low Neighbor discovery proxy : No Router lifetime : 1800 (0x00000708) seconds Reachable time : unspecified (0x00000000) Retransmit time : unspecified (0x00000000) Prefix : 2001:xxxx:xxxx:xxxx::/64 On-link : Yes Autonomous address conf.: Yes Valid time : 90000 (0x00015f90) seconds Pref. time : 90000 (0x00015f90) seconds Route : 2001:xxxx:xxxx:xxxx::/64 Route preference : high Route lifetime : 90000 (0x00015f90) seconds Source link-layer address: 00:XX:XX:9E:1D:2F from fe80::x:x:fe9e:1d2f --=20 You are receiving this mail because: You are the assignee for the bug.=