LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] IPVS NAT source IP selection

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] IPVS NAT source IP selection
From: Leandro R <leandro.rhcp99@xxxxxxxxx>
Date: Thu, 27 Sep 2018 07:03:12 -0300
Hi there,

I have a simple L4 Director setup with multiple real network interface
(eth0, eht1, and eth2) my real servers only have access to the director
through its eth1 <IP> interface.

When I create a simple rule (L4 NAT (masquerading) pointing to all my
reals) it does the NAT using the eth0 as the source ip to the real. Now my
questions:

How does the ipvs choose which ip / network interface to be its SNAT to the
reals? (the first one eth0)
Can I induce/setup it to pick a specific one? (like eth1)

Thank you very much

*Att,*
*Leandro Ribeiro Moreira*

*  Blog <http://leandromoreira.com.br/>*
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>
  • [lvs-users] IPVS NAT source IP selection, Leandro R <=