With the 2.0.x kernel, I used SO_BINDTODEVICE to handle a special setup
I have, but that is gone with the 2.2 kernels.  How can I accomplish the
same thing?

Here is my special setup: since USENET news is such a bandwidth hog, I
have a separate T1 basically just for news feeds.  My news server has
two ethernet interfaces: one, eth0, connects to my regular server
ethernet segment and the other, eth1, connects to a segment with just
the special T1 router.  To make normal traffic (such as readers, served
by a connectd server) go out eth0, it is the default route out of the
machine.  I then modified INN and innfeed to use SO_BINDTODEVICE to bind
to eth1, and I setup a second default route with a high metric pointing
to eth1.

Ideally, there would be a way to make return traffic on a TCP connection
go out the same interface the original traffic came in.  That would
cover INN accepting news feeds.  But I still need some way to make all
outgoing traffic from innfeed go out eth1 instead of eth0.  And I don't
want to make the default route out of the box eth1 because that affects
other stuff.
-- 
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