From owner-freebsd-net@FreeBSD.ORG Mon Jun 15 16:06:19 2015 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D705C72 for ; Mon, 15 Jun 2015 16:06:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 276B51D7 for ; Mon, 15 Jun 2015 16:06:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5FG6JI7078159 for ; Mon, 15 Jun 2015 16:06:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200379] SCTP stack is not FIB aware Date: Mon, 15 Jun 2015 16:06:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 16:06:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200379 --- Comment #7 from Michael Tuexen --- Here is what I do and what happens to the routing table. As you see, a route gets added to fib 0. Is this expected? Intended? > ifconfig em0 em0: flags=8843 metric 0 mtu 1500 options=9b ether 00:0c:29:8a:89:10 inet 192.168.115.171 netmask 0xffffff00 broadcast 192.168.115.255 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active > netstat -nrfinet Routing tables Internet: Destination Gateway Flags Netif Expire default 192.168.115.2 UGS em0 127.0.0.1 link#2 UH lo0 192.168.115.0/24 link#1 U em0 192.168.115.171 link#1 UHS lo0 > sudo ifconfig em0.3275 create name craig0 fib 2 Password: > netstat -nrfinet Routing tables Internet: Destination Gateway Flags Netif Expire default 192.168.115.2 UGS em0 127.0.0.1 link#2 UH lo0 192.168.115.0/24 link#1 U em0 192.168.115.171 link#1 UHS lo0 > sudo ifconfig craig0 inet6 ifdisabled fib 2 > netstat -nrfinet Routing tables Internet: Destination Gateway Flags Netif Expire default 192.168.115.2 UGS em0 127.0.0.1 link#2 UH lo0 192.168.115.0/24 link#1 U em0 192.168.115.171 link#1 UHS lo0 > sudo ifconfig craig0 inet 172.8.1.3/16 up fib 2 > sudo ifconfig craig0 craig0: flags=8843 metric 0 mtu 1500 options=3 ether 00:0c:29:8a:89:10 inet 172.8.1.3 netmask 0xffff0000 broadcast 172.8.255.255 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active fib: 2 vlan: 3275 parent interface: em0 groups: vlan > netstat -nrfinet Routing tables Internet: Destination Gateway Flags Netif Expire default 192.168.115.2 UGS em0 127.0.0.1 link#2 UH lo0 172.8.0.0/16 link#3 U craig0 192.168.115.0/24 link#1 U em0 192.168.115.171 link#1 UHS lo0 > setfib 2 netstat -nrfinet Routing tables (fib: 2) Internet: Destination Gateway Flags Netif Expire 127.0.0.1 link#2 UH lo0 172.8.0.0/16 link#3 U craig0 172.8.1.3 link#3 UHS lo0 192.168.115.0/24 link#1 U em0 > sudo route add 127.0.0.0/8 -interface lo0 -fib 2 add net 127.0.0.0: gateway lo0 fib 2 > setfib 2 netstat -nrfinet Routing tables (fib: 2) Internet: Destination Gateway Flags Netif Expire 127.0.0.0/8 lo0 US lo0 127.0.0.1 link#2 UH lo0 172.8.0.0/16 link#3 U craig0 172.8.1.3 link#3 UHS lo0 192.168.115.0/24 link#1 U em0 > netstat -nrfinet Routing tables Internet: Destination Gateway Flags Netif Expire default 192.168.115.2 UGS em0 127.0.0.1 link#2 UH lo0 172.8.0.0/16 link#3 U craig0 192.168.115.0/24 link#1 U em0 192.168.115.171 link#1 UHS lo0 -- You are receiving this mail because: You are on the CC list for the bug.