LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Multi-homed routeing issue

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Multi-homed routeing issue
From: "Joseph T. Duncan" <duncan@xxxxxxxxxxxxx>
Date: Wed, 2 Aug 2006 13:48:57 -0700 (PDT)

for the first packet:
data -> eth1 -(ipvs ballancer)- eth1 -> real server

subseqent packets would then do the following:
data -> eth0 -(ipvs ballancer)- eth0 -> real server

do you have /32 on the VIP on the director and realservers?
(you probably do or it wouldn't work).

Cant specifiy a /32 on the windows boxes.. it works just fine with /24, windows creates two sets of routes (eth0 and lo) for the subnet.. but the lo routes have no exit gateway device and windows automagicly sets a fiarly high metric (weight) on that route, so everything goes over the real interface anyway.

on the director I have it set up as a /24 on the vip. I went ahead and tried setting the vip with /32 (and gave the machine a full reboot) and it still had the same behavour as with /24 (so have reverted to /24 for the time being)

It would be simpler to have just one NIC with the VIP and
unplug the other one (or put it on and administrative network)

I cant have one nic with the vip, or the traffic for doing the weight tables gets blackholed on the realservers.

I started off with eth0 being the vip, and eth1 being a diffrent rip. however all snmp and icmp then use vip as the return address, sence the realservers also have the vip assigned to them, they dont reply ;p

If one were to setup RIP on eth0 and VIP on eth0:1, outbound traffic (snmp -> realserver, icmp -> realserver) would the outbound traffic then get the RIP set to the return address still?

it's not breaking anything? If not you can leave it alone.

it isnt breaking anything, and I can leave it as it is. It would nice to isolate traffic to a specific interface. (it throughs off stats gathering stuff done on the switch)

-Joseph
_________________________________________________________________________
Info:                           Email:
Joseph T. Duncan                Joseph.Duncan@xxxxxxxx
1607 SW 49th St. APT 14
Corvallis, Or 97333

Webpage:
http://www.2930online.com/~krishna

if sending a encrypted message please send email to krishna@xxxxxxxxxxxxxx
my public pgp key is avalible at:
http://2930online.com/~krishna/pgp_pub.key

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