Someone pointed out to me that the policy routing in Linux does not
affect locally generated packets.  So is there ANY way to affect the
routing of locally generated packets?  Other than hacking at the source
of programs to use SO_BINDTODEVICE and the like?  That doesn't really
help me in all cases.

For example, I'd like to have a multihomed mail server - it would have 2
ethernet interfaces, each one to a separate link to the Internet.
However, currently, that does not work, since there is no way (that I
know of anyway) to say for TCP connections that come in on a particular
interface, send all outgoing packets for that connection out the same
interface.  Unless you can tell which interface (or just IP address) a
particular socket is associated with and _then_ do a SO_BINDTODEVICE on
it.

But again, that means modifying every network program that you want to
work in this manner, which is not the way to do it IM(NS)HO.
-- 
Chris Adams <[EMAIL PROTECTED]> - System Administrator
Renaissance Internet Services - IBS Interactive, Inc.
Home: http://ro.com/~cadams - Public key: http://ro.com/~cadams/pubkey.txt
I don't speak for anybody but myself - that's enough trouble.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to