From nobody Thu Apr 14 18:04:38 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 813B11B45E29 for ; Thu, 14 Apr 2022 18:04:39 +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 4KfS5z2Xc6z4S4f for ; Thu, 14 Apr 2022 18:04:39 +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 37411254C3 for ; Thu, 14 Apr 2022 18:04:39 +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 23EI4dKK079081 for ; Thu, 14 Apr 2022 18:04:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23EI4dYe079080 for net@FreeBSD.org; Thu, 14 Apr 2022 18:04:39 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 255264] Unable to add default route for fib Date: Thu, 14 Apr 2022 18:04:38 +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 Only Me X-Bugzilla-Who: pinkfluid@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: 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=1649959479; 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=hjBOajquER3lYG4mE1TX6LXRxAyR7dvf/XfrrJyL/TY=; b=ocWzU+raCYcDBe2OUOiZwWEvhY10PgXNJ0ABHbHfaemFw1zB9LPly2Zi5xfgnnY4QA9n3x N8ed3tbAHWu8HcrbBXVPobgRYzWKkNfD0cVeBguh45hHCesZp7NGQIv7mnAurncWcZcKIl MMRN2PVH/5ey/5gtG3t0JOby/QDlaXRDwPE7Ii3Sy0cY4vKX/YCgqkpTxzAuEV/q/E4eal CMAzwuSQufox/sSsd0LocQBJhxZDBNKtMQf3EzFK9iZ2Ym0jhr6fhBCLbJGN9aGHAvtuep nfS8XF35sdoNIKhOHlnFrOnE/9AcrLRRLSXM/HjrlE1PhRxSH5l/5pwJMfPf/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649959479; a=rsa-sha256; cv=none; b=ae/+NBn2IqXHs4NTcytXV17iLfY9jZVDkjv+Erga9mPwVKsI1yYkB1sPBOItdkKJ+LohmE NROJNiT3CGLXmnQNQ8aRkBr8KIdhSU5sBJx2jZGb7Gu+MjWLErhrtOmNqkKBxofdneE1PJ VeNQdm9K0CT3KACqhlUgyldnZRzeeJ2ggHBIfkHDavBqFHquoO2NeFrdRul+DZY1zxU7ju wU5wM3ZVQmq3fZ/ZLimjW1ika5+N9My+MiKLfImKKy/hNK4q/7UkgacnTiqrItgx8twh61 jAC9hCGSfVpdOEXar6lVQw+MYWr2IZSgVn8zOV4mbq70aCozmWMYWu5E+KJHOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255264 --- Comment #8 from Mitja Horvat --- (In reply to Marek Zarychta from comment #7) Thank you very much for the prompt response. Indeed, setting the fib of the= re0 interface 1 makes the route work. However this causes all the traffic routed through re0 to use fib 1 as default, which is not really what I want. The use case I'm trying to solve is to have a mix of processes/jail running= on fib 1 using setfib, everything else should go through the interface normally using fib 0. Even if it's a feature, I find it very strange that a valid static route wo= uld fail if there's no carrier. I even tried unplugging the ethernet cable and = the script above basically loops until I connect the cable and carrier is detec= ted. I think I'll play with pf to get what I need (or just reset re0's fib to 0 = in rc.local), but I still find this to be a very peculiar behavior. --=20 You are receiving this mail because: You are the assignee for the bug.=