All of lore.kernel.org
 help / color / mirror / Atom feed
* Two Internet Connections send port 80 on one interface and rest on another
@ 2005-01-20  5:44 Tommy W
  2005-01-20 12:09 ` Ulysses Almeida
  0 siblings, 1 reply; 2+ messages in thread
From: Tommy W @ 2005-01-20  5:44 UTC (permalink / raw)
  To: netfilter

Hi. 
I have 2 internetconnections (eth0 and eth2) and a local net (eth1)
as it is now I have eth1 masqueraded behind eth0 so all internet activity
is used on eth0 . But now I want port 80 to be "redirected" to eth2 in order 
to always get good speed on http.
How can I do this ?

as a matter of fact I can't get the machine to listen on both ips :(
I do 
$ route add default gw $ETH2_GW
$ route add default gw $ETH0_GW
but that really messes things up.

What decides which ip is to be used first (outbound locally)
say if I do ping www.helgon.net
what decides which ip I get?
is it the first default route in the $ route   list?
is it the first ethX device?
I'm lost.. :(
please send me some links, or even better. A working solution :)
Thanks


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-20 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-20  5:44 Two Internet Connections send port 80 on one interface and rest on another Tommy W
2005-01-20 12:09 ` Ulysses Almeida

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.