Re: Real Server answers with RIP instead of VIP
Horms <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
In article <[email protected]> you wrote: > Hi all, > > I have set up a LVS with ldirectord and Direct Routing and I have one > last problem, which is that the Real Servers answer with the wrong IP. I > did a tcpdump at the client and it came out that the Director works > fine, but the Real Server not. > > I configured the Real Servers to have the virtual IP on the loopback not > responding to ARP Requests: > > # ifconfig eth0 <RIP> > # ifconfig lo:0 <VIP> netmask 255.255.255.255 > # sysctl net.ipv4.conf.lo.arp_ignore=1 > # sysctl net.ipv4.conf.lo.arp_announce=2 lo should be eth0 > # sysctl net.ipv4.conf.all.arp_ignore=1 > # sysctl net.ipv4.conf.all.arp_announce=2 > > When the Real Server gets the Request from the Director, it answers with > the RIP, instead the VIP. What's wrong? I'm a lottle confused, when exactly does the Real Server use the RIP. Are we talking about ARP replies, or connections made to the VIP. The latter would seem to be inposible, thus my confusion. -- Horms -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.