From nobody Sun Jun 12 17:33:10 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 4EB3885FB5D for ; Sun, 12 Jun 2022 17:33:11 +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 4LLhcQ64mJz4l07 for ; Sun, 12 Jun 2022 17:33:10 +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 B0C2E257CA for ; Sun, 12 Jun 2022 17:33:10 +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 25CHXAaX091417 for ; Sun, 12 Jun 2022 17:33:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25CHXA9G091416 for bugs@FreeBSD.org; Sun, 12 Jun 2022 17:33:10 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 261129] IPv6 default route vanishes with rtadvd/rtsold Date: Sun, 12 Jun 2022 17:33:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: 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=1655055190; 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=TaS53Wlu4F5PxM2rZUM1K6GjrkdqFfelK7Bra18nN5I=; b=YIQuW6CPyZ2JfWiOr8u3rzzLh6D3LTUmiBChvSFjyB6JhSpydbtTAWbIS+ebtvpezyAI+T MFUvd4nk0Y9UNWIMNU+DVIHMyAskP/PBy5n/1w2zZk005MgOBzoSlHAJgE/lA6I4Tm3U+G tXYbzkkJLUG3DDle7THl0TTqXmB0BHuqz18qWKE6wfto02xNpEJ8sRLc+M6A8eeZwkVnE4 IezJM/vewxgpfD84/EBlYBrSEKx5v5b9ezYaj7NnvtJLYbXExvhd5wCNc3GxhtH38yORkr 3knxAGSmucA9jvj/jjIMg6GYFToazYRqKBZpVIph8QxeRvdWPqLJdr1Wz1XS6A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655055190; a=rsa-sha256; cv=none; b=JuUhKnPCiwKxNZ5d9xKCCoEG3tXxP7xzQYko9rQrMBmq+zG5P5O4CLkQqCTF1f2q6ZvgKr p7aCPoVGSF6Sbgf8pnO/RqA3BslZwpzee5WtZH1FFp+8fvSZ1fn+grRbHW02ymeELU+bbr 4W2hTn2I3BDD93KNk9b9WB8E58dCBUTPaGhR81yX1uR0im/C9zvF1dTkBEVafZ8jhd6UYu 1vOjAgLTXyDxdIQuY5tgiJhy+UQFIH0IguWEk4n0eldBhyE32rwjBxtWhOHV2g6ommsAdI lXoV2rByMfwdATPt5s8bp13XGjjrkx121vIbJ21U858u4xqsjntyh9XVWWtq/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261129 Marek Zarychta changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org, | |zarychtam@plan-b.pwste.edu. | |pl --- Comment #12 from Marek Zarychta --- I am also hitting this on two hosts with statically configured IPv6 address= es and routes, but the setup is more complex here.=20 I am using two different subnets: 1) 2a02:a:b:c::x:y/64 - the subnet with default route. 2) 2001:470:x:y::v:z/64 - fib 1 subnet assigned from still working IPv6 tun= nel to HE. First of the machines is an endpoint for HE tunnel and acts as a router for this 2001:470:x:y::v:z/64 tunneled subnet, but main NIC address is set from ISP assigned pool: awg0: flags=3D8843 metric 0 mtu 1500 options=3D8000b (...) inet6 2a02:a:b:c::x:y prefixlen 64 prefer_source #(basic assignment, prefer_source fixes connectivity via default gw) inet6 2001:470:x:y::1 prefixlen 64 #(alias 1) inet6 2001:470:x:y::x:z prefixlen 128 #(alias 2) inet6 2a02:a:b:c::x:z prefixlen 128 #(alias 2) media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D21 Default gateways: 1. fib 0: # netstat -rn6 | grep default default 2001:470:x:y::1 UGS awg0 2. fib 1: # netstat -rn6 -F 1 | grep default default 2001:470:1:c84::16 UGS gif0 The second machine is a host in LAN with IPv6 only jails and also has both subnets enabled plus some aliased IPv6 addresses set like above. Initially, everything works, but after some time it looks like RA message f= rom gif(4) tunnel to HE somehow changes the default route in fib 1 which breaks connectivity. The default route is set to 2001:470:1:x::y. "service routing restart fixes" this, but with notice: "[nhop_ctl] inet6.0 nhop_free: failed= to unlink nh#8/inet6/awg0/2001:470:1:x::y" The same happens on the second machine, but events are not in sync with the first machine. The RAs arrive from different sources, times of the route ch= ange differ, also different gateways are set. I wonder if could/should the traffic be filtered on gif(4)? Now I am trying the sysctl setting "net.inet6.ip6.no_radr=3D1", probably th= is could fix the issue. Any additional clues will be appreciated. --=20 You are receiving this mail because: You are the assignee for the bug.=