From nobody Thu Nov 14 19:04:55 2024 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 4Xq8jN238Wz5d2lq for ; Thu, 14 Nov 2024 19:04:56 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xq8jN0yXDz592j for ; Thu, 14 Nov 2024 19:04:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731611096; 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=NdcXbyj+wOHyO0Au1SfRF88ZPGWmnR/qfywdrW2tm3Y=; b=k2Z2gNxQRRCWohtPpnOB0pYbGAMpx9iAr7QkJp2MFjwYbbbruJeKvRQv4co2XHQVd/zGu+ IXJMrI1FAEiOcE6c4tCMrhznKrb+cNeC8/WHIrt8VAjMgdVaE2yP1J5uMlktUt3E7I3wos aZpWnniz4Fbc3P/rjt2VGVI17Byp4Rfe+nL+04k4q6L6ow6ZsoM0kGQ05LTeEOPYcbgwV8 wkilCyM07PbEYrtR+uIFf1suBJaWvsF5UBwf2HTjcx+ybfBTfPX5Mp4MEpQUtSHex9T83X ni9OQwAzK+ArEd56DMH0rUEM5oh1NIlsztsHwfTzk+c3VvB4LOQcs8xe7akZQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731611096; a=rsa-sha256; cv=none; b=R3bHwi43KB+kk6ot7eNSXBxEDefDtOaiWZOXxRD1ewEFiV5lWdvY6KiAAKQhh/FYr5kja3 92W6cUnRNOSksVQosB8FtsKp164k8gM2Lj9unywU1/Cpy6gxVPZ7hx0GL60R+KRof1MYgE SfQZoAsj8M4O2bRADnvOvjZtO1+CGE8Vih4xVuk/s3e2bDA2A2UQFHP39MQMFWv865xHOr 8OVChDE8l/Wdam7avmi7fPRJsn0NiiNVrPrAW9EGtzWlAV880v2mvuwSa9cFdvXP7b3gIP AUl7AcHT+oC7tvrmp/tKwpkxdLZ26YdlVCJV255QhJQN9FLAwNTJiwvfX06yrg== 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 4Xq8jN0YPZzrBZ for ; Thu, 14 Nov 2024 19:04:56 +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 4AEJ4tmw015080 for ; Thu, 14 Nov 2024 19:04:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AEJ4tAW015079 for net@FreeBSD.org; Thu, 14 Nov 2024 19:04:55 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 282744] setfib does not add the default gateway to the second routing table. Date: Thu, 14 Nov 2024 19:04:55 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@support.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282744 --- Comment #4 from Vladyslav V. Prodan --- (In reply to Marek Zarychta from comment #2) Thank you, it helped. root@vb-14-1:~ # ifconfig em2 inet 192.168.77.104/24 fib 1 up root@vb-14-1:~ # ifconfig em2 em2: flags=3D1008843 metri= c 0 mtu 15 00 =20=20=20=20=20=20=20 options=3D48505bb ether 08:00:27:33:a3:63 inet 192.168.77.104 netmask 0xffffff00 broadcast 192.168.77.255 inet6 fe80::a00:27ff:fe33:a363%em2 prefixlen 64 scopeid 0x3 fib: 1 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D23 root@vb-14-1:~ # route add default 192.168.77.2 -fib 1 add net default: gateway 192.168.77.2 fib 1 root@vb-14-1:~ # netstat -rnF 1 Routing tables (fib: 1) Internet: Destination Gateway Flags Netif Expire default 192.168.77.2 UGS em2 127.0.0.1 link#5 UHS lo0 192.168.77.0/24 link#3 U em2 192.168.77.104 link#5 UHS lo0 Internet6: Destination Gateway Flags N= etif Exp ire ::/96 link#5 URS = lo0 ::1 link#5 UHS = lo0 ::ffff:0.0.0.0/96 link#5 URS = lo0 fe80::%lo0/10 link#5 URS = lo0 ff02::/16 link#5 URS = lo0 But! for ipv6 addresses to appear in fib 1, you need to reboot the system... --=20 You are receiving this mail because: You are the assignee for the bug.=