From owner-freebsd-net@FreeBSD.ORG Wed Oct 8 16:14:11 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5711F30 for ; Wed, 8 Oct 2014 16:14:11 +0000 (UTC) Received: from fallback4.mail.ru (fallback4.mail.ru [94.100.181.169]) by mx1.freebsd.org (Postfix) with ESMTP id 91B2169D for ; Wed, 8 Oct 2014 16:14:11 +0000 (UTC) Received: from smtp33.i.mail.ru (smtp33.i.mail.ru [94.100.177.93]) by fallback4.mail.ru (mPOP.Fallback_MX) with ESMTP id 622F72C4CFC for ; Wed, 8 Oct 2014 20:10:49 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:Message-ID:From:Date; bh=KNA32MC4vQHBiNRRGbsVqFko2KH8FZ1NmqY4xpi0J0M=; b=cj2siGU1QoBVrbEl+Qbf8inlVtnTReEJBJ2Dy+zJZIHfo9o2m/HuiyrhRa1Do3j0VuLiZ+/A4iLC3uKAuWaDSwv8LHyS5zKC194E8NlrWuYghnD54FZk4jVJFMYcg85dTVoCDKcnlrmIl/vNVNY19mY7WW42uGmM+lTWp8kntvE=; Received: from [217.66.152.16] (port=4243 helo=[192.168.193.36]) by smtp33.i.mail.ru with esmtpa (envelope-from ) id 1Xbtp2-0004sR-FU for freebsd-net@freebsd.org; Wed, 08 Oct 2014 20:10:40 +0400 Date: Wed, 8 Oct 2014 20:10:37 +0400 From: Anthony Pankov X-Priority: 3 (Normal) Message-ID: <1051213945.20141008201037@mail.ru> To: freebsd-net@freebsd.org Subject: interface fib not inherited by bind()? MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-Spam: Not detected X-Mras: Ok X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2014 16:14:12 -0000 Greetings. I have a machine with interface IP1 connected to Provider1. Some time ago i've connected Provider2 to another interface IP2. I set new fib =B91 with provider2 setting and configure interface2 for fib 1 ('ifconfig if2 inet IP1 netmask mask2 fib 1'). Now i can do 'setfib 1 ping google.com' successfully. But when i run 'ping -S IP2 google.com' (using interface 2 as source) no outgoing packet found in Interface2. Does this mean that binding to interface IP do not inherit interface FIB for connection? Is this a bug or design? --=20 Best regards, Anthony mailto:ap00@mail.ru