(E-Mail Removed) wrote:
> Folks,
> I have two DSL providers, can I configure two default routes that are
> able to send and receive network packets on both interfaces (eth0 and
> eth1) at the same time? It would seem to me that it would be possible,
> since if eth0 receives traffic, then response would be sent back
> through eth0. The same with eth1. I noted a lot of discussion about
> this topic from past posts, where folks have achieved this using
> external equipment routers, or that it was possible using Solaris OS. I
> am guessing that some Linux folks have devised or written their
> customized solution since they went to the extra effort to modify the
> TCP/IP stack or tweak the networking kernel modules (but I haven't seen
> or heard anything on this point for sure at this time). Is it possible,
> and how can I achieve it? I tried to use a higher metric for default
> route eth0 verses eth1, but packets were not sent on both interfaces.
> Thanks, BEA
There can only be one default route. There is no mechanism by which an app
can determine which port a packet came in on. Transmitted packets are
simply routed according to the routing tables in your computer.