All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Problem with multiple ADSL lines
@ 2007-10-11 20:54 Kostas Flokos
  2007-10-12  3:33 ` Mohan Sundaram
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kostas Flokos @ 2007-10-11 20:54 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 1616 bytes --]

Hi all,
I have managed to setup a Fedora 7 box with 3 ethernet cards and two ADSL
modem/routers from different suppliers as LARTC recommends. I am able to
direct traffic for specific internal IPs either to one or the other ADSL
line. However, I am faced with two problems I am struggling for the
solution:

1. I have opened a few ports on the ADSL router/firewalls to talk to
internal hosts; say when someone hits http://myADSL1_IP I would redirect him
to 192.168.0.10; while if someone hits http://myADSL2_IP I would redirect
him to 192.168.0.20. If I have rules such as the following all works well:
   ip rule add from 192.168.0.10 table ADSL1_rules
   ip rule add from 192.168.0.20 table ADSL2_rules
Unfortunately, if I want to do the reverse it does not work. I can't have a
host prefer one ADSL line, but still receive traffic from the other ADSL
line. It may sound weird, but I only want to have one host reply to any of
the two IPs, either from ISP1 or ISP2. With the current configuration I
can't. It works ok the default ISP of the host, but can't make it to work
for the other.

2. I tried using
ip route add equalize default scope global nexthop via myADSL1_IP dev eth2
weight 1 nexthop via myADSL2_IP dev eth1 weight 1
It doesn't seem to perform round robin for every request, more like it
caches the route to use per host. Is it possible to force a real round robin
or (better) weighted routing without resorting to a new kernel - as
suggested in the article? I think I've seen recent threads saying that it is
no longer necessary to create a new kernel.

Thank you in advance for your help

Kostas
--

[-- Attachment #1.2: Type: text/html, Size: 2074 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2007-10-12  7:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-11 20:54 [LARTC] Problem with multiple ADSL lines Kostas Flokos
2007-10-12  3:33 ` Mohan Sundaram
2007-10-12  6:13 ` Kostas Flokos
2007-10-12  7:12 ` Mohan Sundaram

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.