From nobody Sun Jun 12 17:33:10 2022 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 24E7885FB7F for ; Sun, 12 Jun 2022 17:33: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LLhcT4Bwwz4lLT for ; Sun, 12 Jun 2022 17:33:13 +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 419F1257CB for ; Sun, 12 Jun 2022 17:33:13 +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 25CHXD9g091451 for ; Sun, 12 Jun 2022 17:33:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25CHXDBi091450 for net@FreeBSD.org; Sun, 12 Jun 2022 17:33:13 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 261129] IPv6 default route vanishes with rtadvd/rtsold Date: Sun, 12 Jun 2022 17:33:10 +0000 X-Bugzilla-Reason: CC 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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655055193; 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=ANzIUYPxieMVd9BZEndP16fbNpVoOF7+pEGrfTXMW6s=; b=w/u0vpKKrBNAfs1NP6oPU86Yh5Z51GZ24x4tY7tRYjjsEYACeSx2G0W3eWvNO0EgyAWSjq HPi15eU+H1+auPdfBmjlJoaMpbLOVPUSeVyvpLVTMDYSaFozco3Fb07DS7yVO7XVWhf3LW oSbgG056wZQysemIPsF4aIu+8oxium6Uxi74hIfzZ2NjfOEOfTPHWM2+i5QifUKJ+GnNWP zCWCnjRu9OOSf2bzqsM7NCxlu0l75ieDiYemTkcg4wZRXapoAIceaRJyZwE4z3kedGbYGw zBjWqDOkYcfxiZUkauEpSto5Q7TRN+/O/wu+E0sv9Gy1gzhLD4LAZwJGzqE6Vg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655055193; a=rsa-sha256; cv=none; b=aHK4HM7vYIqY70+VtJS+8bxqRAP2gqSX3Zhg2KeYdKu1/2+/6XJKEe3HjM27HA9dIJxvLt dGuaDv1v1pzvK/rG9lZaRM3oVtCVG9NEp2WRYx9atVZnDdM+0JUIfw63IK8ne2jTjQqnnN LDSq8TfMPveNWqIYkrjIyU2/YuX0188hKqWYGmPWKxEUzWZN/K5X6LuadDtbU6vSaXZ7/T gv5eLFaRtbEylmEvgMLNgZNWxV0XWORZqNSJQBlUuBEcdM8zlTbFLoINMwt+Shj3nDe1OZ Fw7GVA2yJc/6nqef30F2Huj6Vb/z4TKRjI+AAAOk3c2ERGce0slJ110/PjNwzw== 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 on the CC list for the bug.=