LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Round Robin Default GW

To: "Julian Anastasov" <ja@xxxxxx>
Subject: Re: Round Robin Default GW
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: "Michael McConnell" <michaelm@xxxxxxxxxxx>
Date: Thu, 8 Nov 2001 13:40:23 -0800
Julian this is some good stuff. Really good stuff!
Thanks a million! Many, many systems will benifit from these patches!

Michael

>
> Hello,
>
> On Wed, 7 Nov 2001, Michael McConnell wrote:
>
> > What I want to do is create a PAT / NAT based router with multiple
external address.
> > When a Client Machine creates a connection, the PAT / NAT router would
round robin rotate outbound connections via multiple external ip Address.
> >
> > ------------                         ---------------------
> > =client        =   -----------> -    server       -
> > = 10.10.1.5 =                 - 10.10.1.254  -
> > ------------                        - external 55.22.32.12 - connection
1 -----------> real world
> >                                     - external 55.22.32.13 - connection
2 -----------> real world
> >                                     - external 55.22.32.14 - connection
3 -----------> real world
> >                                     ----------------------------------
> >
> > Anyone have any thoughts on how to do this?
>
> There is a patch for Linux 2.2 that can allow NAT-ed hosts to
> use multiple gateways (and not only this). The same work is not
> completed for 2.4:
>
> http://www.linuxvirtualserver.org/~julian/
> look for routes-2.2.19-4.diff
>
> Then look for "May be the most used example (masquerade through many
ISPs):"
> in dgd-usage.txt
>
> For your case, I'm not sure in what relation are the external addresses
> you showed. Are they from same subnet, are the IP ranges (provided
> from each link) distinct. Based on such information you can build
> your routes properly. Let me know if you need more information
> because I'm sure the docs are not perfect. But a little knowledge
> about iproute2 and multipath routes is required. If in doubt, send
> me your topology, hosts, NAT routers, border gateways and may be I
> can show you the needed settings for the routes in each end host
> or router.
>
> The only missing part is may be the fix to IPVS to support
> these features. It was done before but I should update it soon.
>
> > Thanks, Michael
>
>
> Regards
>
> --
> Julian Anastasov <ja@xxxxxx>
>



<Prev in Thread] Current Thread [Next in Thread>