LVS-NAT: realserver as client (Graeme Fowler Solution)

Rob Wilson rewilson at
Tue Aug 9 22:18:57 BST 2005


We have an LVS server for testing which is handling 2 VIPs through LVS-NAT 
(using keepalived). Each of the VIPs currently points to 1 real server. Both 
real-servers are on the same internal network.

VIP1 -> Realserver1 
VIP2 -> Realserver2 

We'd now like Realserver2 to be able to connect to Realserver1 via VIP1.

I was able to accomplish this following the solution provided by Graeme 

However, external connections to VIP1 no longer work while that solution is 
in place. Dropping the lo:0 interface assigned to VIP1 on Realserver1 fixes 
this, but then breaks Realserver2 from connecting. 

I feel like I'm missing something but I'm at a loss. I can provide more 
detailed information if needed.


More information about the lvs-users mailing list