LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: IP's

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: IP's
From: Matthew Marlowe <mmarlowe@xxxxxxxxx>
Date: Wed, 24 Jul 2002 07:33:10 -0700
Well, the answer depends on what you are trying to do :)

The standard config we've used is to assign
one real IP for each box, and one virtual IP for
routing a virtual subnet of ips.

e.g., your upstream subnet is 10.1.1.0/29
10.1.1.1 upstream router vip
10.1.1.2 upstream router1
10.1.1.3 upstream router2
10.1.1.4 loadbalancer vip
10.1.1.5 loadbalancer1
10.1.1.6 loadbalancer2

Your actual websites, which would be on different
ip's due to different loadbalancing policies,
could be assigned 10.1.1.16/28

so you would have
        route add 10.1.1.16/28 gw 10.1.1.4
statically configured on each loadbalancer, and
        route 10.1.1.16 255.255.255.240 10.1.1.4
on your upstream router.

and, you would assign the ips however you wish,

10.1.1.17 first set of websites with same lb policy
10.1.1.18 second set of websites with same lb policy
.
.
10.1.1.30 fourteenth set of websites with same lb policy


Malcolm Turnbull wrote:
You need a Real IP for each box
And One Virtual IP for the failover (both lvs boxes share this using
heartbeat.)




mixo wrote:
|
|
| For fail over service, how many IP's do I need?
| And which machine should they belong to?
|
|
| _______________________________________________
| LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
| Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
| or go to http://www.in-addr.de/mailman/listinfo/lvs-users




--
Matthew Marlowe
Jalan Network Services, INC
818-730-3223 Tel
818-991-0326 Fax




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