Am 19.05.2010 03:03, Simon Horman wrote:

>> Now, I would like to connect from any of the to machines to either
>> realserver_1 or realserver_2 ("round robin"):
>>
>> realserver_1$ telnet address 25
>> 220 realserver_1 ESMTP ...
>>
>> realserver_1$ telnet address 25
>> 220 realserver_2 ESMTP ...
>>
>>
>> realserver_2$ telnet address 25
>> 220 realserver_1 ESMTP ...
>>
>> realserver_2$ telnet address 25
>> 220 realserver_2 ESMTP ...
>>
>>
>> Can I do it with LVS?
>
> Yes, typically this can be done using LVS-DR.
> Be careful about the way you manage the VIP - it will likely
> need to be on lo on the director and ethX on the other machine.
> And also be careful to handle the arp problem.
>
> http://www.ultramonkey.org/3/topologies/sl-ha-lb-eg.html

I tried to set this up with LVS-DR, but then:

$ telnet address 25

always connects to the localhost (i.e., lo:0, as the address is local). 
Which may not be that surprising?

Unless there's something I missed and it should just work?


-- 
Tomasz Chmielewski
http://wpkg.org

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - [email protected]
Send requests to [email protected]
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Reply via email to