[lvs-users] director and real servers on different subnets

Marcin Niskiew nichuspam at gmail.com
Wed Sep 19 14:08:55 BST 2012


Hi everyone!

I want to test solution that LVS director and real servers are on different
subnet.
Due to Centos docs:
http://www.centos.org/docs/5/html/Virtual_Server_Administration/s1-lvs-routing-VSA.html
there is written that I can use Direct routing or NAT ...
on direct routing everything has to be connect on same physical network
so there's NAT
I also read about IP Tunneling - but it's not mentioned on Centos docs
(it's not supported?)

So the picture:

            ========
            Director      physical IP; 192.168.0.1
            ======== VIP: 192.168.0.100
                  |
             =======
              router1     IP: 192.168.0.250
             =======
                  |
             =======
              router2       IP 192.168.100.250
             =======
                  |
=======================
   |                                         |
=====                           =======
real server1                    real server1
=====                           =======
physical IP
192.168.100.2                 192.168.100.3



So is it possible to do that?
If more details needed let me know...

Thanks for any response

Regards,
nichu



More information about the lvs-users mailing list