VDSManager multiple public IPs
Hi,
As I did not like the fact that our users could interfere with vdsmgr public IP, I installed VDSManager that way :
I have 2 NICs with 2 public IP addresses :
eth0 : 210.XX.XX.1 (licensed VDSManager)
eth1 : 220.XX.XX.1-254 (for the CTs public IPs).
I managed to do some source routing using :
ip rule add from 220.XX.XX.0/24 table 6
ip route add default dev eth1 via 220.XX.XX.254 src 220.XX.XX.2 table 6
It works ok, but I have a few problems. After a while, the routing crashes.
Also, CTs are not pingable from the 220.XX.XX.0/24 network.
Is there a way to enhance that, or am I doing something wrong ? Is it safe to leave the node IP on the same range as the VMs ?
Thanks for your answers,
|