From nobody Thu Apr 14 19:45:28 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 3349F1B34589 for ; Thu, 14 Apr 2022 19:45:29 +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 4KfVLJ6WWwz4lNx for ; Thu, 14 Apr 2022 19:45:28 +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 BEFED26BE1 for ; Thu, 14 Apr 2022 19:45:28 +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 23EJjSEA033928 for ; Thu, 14 Apr 2022 19:45:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23EJjS3E033927 for net@FreeBSD.org; Thu, 14 Apr 2022 19:45:28 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 19:45:28 +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=1649965529; 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=4SowbySrH2QEETOz+TBYx0EcwoORwnvofxE5R9DNjPc=; b=KpgWUiNaFwtycnPi4jXZCqXrqQa4DKIOGOQ/ITwEJlz5hBu4V+k7B352cnyotQWvUT2exH TbSIDpJW+T3voLFlltF00frlWUsI7robSNo3sQlDx8yuMfJZmREDRPq5hbjHAto6ihB/F0 FB+hYupm1Uc+PrFwVHDUG102L+YPwQ4GS5C3/uvtfOwwCMxEH83m9pdVXBbiNOuP65W3YR 8D4Au0tHIgrP6Y0JO1o/VvGGqXhVTl7RPJLO+NbMPKXHlgAy7sUj8TZFL6d03jrFNFGyko myvoGyolb9JUwe/pWg106f99sB9IddnEtj+q7YiPwzI55ffWHKpGaNgZJUELWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649965529; a=rsa-sha256; cv=none; b=u12r5fhcwmVNYbAzMAOvXQn5NQcaK+XdH0Bg8d8ZIDDKRqDmo0O2PLRrbIIhF3nYWdRohb 915SHSeigc1RtEg2WSr4m1n6Mca5+bSXYr/15T2S/KINx65BWW8aqq8GzCzti5mu9Rg/v4 4YTnUTXLaFX+xd5y2SzCmkAv98g6vZjvKDGDWEsqf8D2LZa3dsnJN7SVDjVmTW4Qp8Su28 Mla8DkoezPQIk2ooKkjjxxVNCtxt7GXn7p5yBoNvUfi31FEnjLPAPj49jMc7wbpNRJIf66 yRv+zz6AdYDrDZ9UatFvA1WnRMnl2+9gG9GUjHmCHDx0X3tkaMH97GS5OZvg3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255264 --- Comment #11 from Mitja Horvat --- (In reply to Marek Zarychta from comment #10) Marek, that worked splendidly. I could even leave net.add_addr_allfibs=3D0. rc.conf: static_routes=3D"fib1_lan fib1_default" route_fib1_lan=3D"-fib 1 -net 192.168.1.0/24 -interface re0" route_fib1_default=3D"-fib 1 default -ifa 192.168.1.2 192.168.1.1" The console log show there was no issues when adding the route: Apr 14 21:39:56 marin kernel: /sbin/route add -fib 1 default -ifa 192.168.1= .2 192.168.1.1 Apr 14 21:39:56 marin kernel: add net default: gateway 192.168.1.1 fib 1 And the final result is this: root@marin:/usr/home/mitja # netstat -rn4 -F1 Routing tables (fib: 1) Internet: Destination Gateway Flags Netif Expire default 192.168.1.1 UGS re0 127.0.0.1 link#2 UHS lo0 192.168.1.0/24 link#1 US re0 Perfect, thank you! --=20 You are receiving this mail because: You are the assignee for the bug.=