On Fri, Jan 26, 2001 at 10:39:20PM +0100, Andrius Adomaitis wrote: > Hello all, > I have two NIC's on my box - eth0 (1.1.1.1) and eth1 (2.2.2.2). My > question is - is it possible to have all traffic going to and "from" > 2.2.2.2 routed through eth1, and the rest traffic - through eth0? How > to deal with default routes then? What I want to do is to completely > separate traffic streams comming from world for these 2 IP's. You want to look at policy routing and iproute2. I basically do that now. I have a big fat Broadband pipe with a single IP address and a slower, more reliable, ISDN line with a large routable address space. Outgoing connections from that address space for things like web (http) are flagged and masquaraded and policy routed out the big fat pipe, while DNS and smtp (inbound and outbound) go by way of the ISDN line. > Box has kernel 2.2.18, 2.4.0 router support in front of it can be > used... > Thanks. > -- > Andrius > charta@gaumina.lt > - > : send the line "unsubscribe linux-net" in > the body of a message to majordomo@vger.kernel.org Mike -- Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com (The Mad Wizard) | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it! - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org