From owner-freebsd-net@FreeBSD.ORG Fri Nov 16 06:37:37 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7200816A417 for ; Fri, 16 Nov 2007 06:37:37 +0000 (UTC) (envelope-from fox@verio.net) Received: from dfw-smtpout2.email.verio.net (dfw-smtpout2.email.verio.net [129.250.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4EB9D13C458 for ; Fri, 16 Nov 2007 06:37:34 +0000 (UTC) (envelope-from fox@verio.net) Received: from [129.250.36.64] (helo=dfw-mmp4.email.verio.net) by dfw-smtpout2.email.verio.net with esmtp id 1IsuPg-0001VB-U9 for freebsd-net@freebsd.org; Fri, 16 Nov 2007 06:10:48 +0000 Received: from [129.250.40.241] (helo=limbo.int.dllstx01.us.it.verio.net) by dfw-mmp4.email.verio.net with esmtp id 1IsuPg-0006SQ-Qp for freebsd-net@freebsd.org; Fri, 16 Nov 2007 06:10:48 +0000 Received: by limbo.int.dllstx01.us.it.verio.net (Postfix, from userid 1000) id 3387C8E296; Fri, 16 Nov 2007 00:10:48 -0600 (CST) Date: Fri, 16 Nov 2007 00:10:48 -0600 From: David DeSimone To: freebsd-net@freebsd.org Message-ID: <20071116061047.GA8361@verio.net> Mail-Followup-To: freebsd-net@freebsd.org References: <473C5593.4080407@tnetus.com> <20071116001429.GE1499@beaver.trit.net> <473D3258.9040203@tnetus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <473D3258.9040203@tnetus.com> Precedence: bulk User-Agent: Mutt/1.5.9i Subject: Re: Interface address sourced packets go thru default gateway on another interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 06:37:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian Hawk wrote: > > I believe binding an IP's source address to an interface address > (instead of INADDR_ANY) is to make packets go out from *that* > interface, not the default gw. I'm afraid that's not how it works. In the absence of policy-routing options, packets are always routed ONLY by destination address. Binding to a particular interface only set's the source IP that will be attached to the packet, and will influence routing on the *return* trip of any replies. - -- David DeSimone == Network Admin == fox@verio.net "This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, dis- tribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you." --Lawyer Bot 6000 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFHPTRnFSrKRjX5eCoRAj4FAJ96YpEamhN7Cpg1tlv6kMaZsq/dnQCghfDW ZZ2MER+p404Eu21G4x6OK00= =Ppe1 -----END PGP SIGNATURE-----