All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Multipath Routing..
@ 2005-08-16  4:11 Daniel Frederiksen
  2005-08-16  8:39 ` Alexander Samad
  0 siblings, 1 reply; 14+ messages in thread
From: Daniel Frederiksen @ 2005-08-16  4:11 UTC (permalink / raw)
  To: lartc

Ok folks, here goes..

I have been boggling with a problem for the past week, and still haven't 
found a solution..

I'm trying to route traffic from two providers through a Linux machine.
But that is not the problem. The ISP's have provided me with a WAN IP 
class for both of the lines, to be routed into a DMZ where the machines 
a to respond to their respective designated WAN IP on both lines.
Every machine on the DMZ has two IP's one on each ISP WAN Class.

I think I'll better draw a map:


       WAN1(eth2), WAN2(eth3)
            ---------                             (eth0)
            |       |-----\                     ----------
            |  DMZ  |---\  \                /---|  ISP1  |-----
            ---------    \  \              /    ----------     \
                          \  \            /                     \
                          -----------------
                          |  Linux GW/FW  |                     WWW
                          -----------------
                          /               \       (eth1)        /
            ---------    /                 \    ----------     /
            |  LAN  |---/                   \---|  ISP2  |-----
            ---------                           ----------
               NAT(eth4)


The DMZ has two WAN IP classes routed from the ISP.

The thing I just can not figure out is how to make the respective WAN IP 
from the DMZ route out the right ISP link, and the right request from 
the ISP route into the DMZ.

.. and finally how can I make the LAN able to access it all..

Thanks for your time..

/Daniel Frederiksen

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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [LARTC] multipath routing
@ 2004-03-24  2:18 Lists @ Aptedtech
  2004-03-24  6:05 ` RonSenykoff
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Lists @ Aptedtech @ 2004-03-24  2:18 UTC (permalink / raw)
  To: lartc

I have a private lan that is connected to the world via 3 dsl lines.  I put
up a linux box that handles all the dsl lines, lan gateway and all is
working well...until...one of the dsl lines goes down.  My routing table is:

x.x.x.x dev ppp0  proto kernel  scope link  src x.x.x.x
x.x.x.x dev ppp1  proto kernel  scope link  src x.x.x.x
x.x.x.x dev ppp2  proto kernel  scope link  src x.x.x.x
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.1
255.255.255.0/24 dev eth0  scope link
169.254.0.0/16 dev eth0  scope link
127.0.0.0/8 dev lo  scope link
default equalize
        nexthop via x.x.x.x  dev ppp0 weight 1
        nexthop via x.x.x.x  dev ppp1 weight 1
        nexthop via x.x.x.x  dev ppp2 weight 1

When one of the dsl lines has trouble (temporarily looses sync, etc), the
kernel takes the entire default route out until the line comes back up.
When the line comes up, it puts a single default route back in instead of
the multipath route.  If I can make it so the multipath route is maintained
even when one of the dsl lines goes down, that would be great.  Is there a
way to have just one of the hops removed from the default multipath while
the line is down and then reinserted back in as a hop in the multipath
route?  Thanks for any input.

-Chris

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2007-06-07  9:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-16  4:11 [LARTC] Multipath Routing Daniel Frederiksen
2005-08-16  8:39 ` Alexander Samad
  -- strict thread matches above, loose matches on Subject: below --
2004-03-24  2:18 [LARTC] multipath routing Lists @ Aptedtech
2004-03-24  6:05 ` RonSenykoff
2004-03-25  1:22 ` Lists @ Aptedtech
2005-10-26 21:47 ` comp.techs
2005-10-27 14:20 ` Edmundo Carmona
2005-10-27 16:02 ` comp.techs
2005-10-27 18:05 ` comp.techs
2005-11-17 20:47 ` comp.techs
2007-06-05  9:13 ` [LARTC] Multipath routing Michał Margula
2007-06-05 19:46 ` Piotr Chytla
2007-06-06 10:05 ` Michał Margula
2007-06-07  9:07 ` Michał Margula

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.