Interface address sourced packets go thru default gateway on
another interface
David DeSimone
fox at verio.net
Thu Nov 15 22:37:37 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brian Hawk <brian at 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 at 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-----
More information about the freebsd-net
mailing list