Date: Fri, 16 Nov 2007 00:10:48 -0600 From: David DeSimone <fox@verio.net> To: freebsd-net@freebsd.org Subject: Re: Interface address sourced packets go thru default gateway on another interface Message-ID: <20071116061047.GA8361@verio.net> In-Reply-To: <473D3258.9040203@tnetus.com> References: <473C5593.4080407@tnetus.com> <20071116001429.GE1499@beaver.trit.net> <473D3258.9040203@tnetus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian Hawk <brian@tnetus.com> 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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071116061047.GA8361>