Hi Frank,

What is your purpose if having 2 interfaces with the same subnet? The best
way is still have different subnets for different interface. By the way, I
wonder to know why you out secondary IP on eth0 for HA (eth0:ha). It seem
it is not useful too.

Best regards,

On Aug 24, 2016 6:53 PM, "Frank Liebelt" <frank.lieb...@bca.com> wrote:

> Hi
>
>
>
> You are right.
>
> The default route is eth0. The problems seem to be that the farm interface
> eth4 is in the same subnet as eth0.
>
> I have added a route manually: route add -net 172.28.10.0 netmask
> 255.255.254.0 dev eth4 but this won’t work. With this route I cant reach
> any host within the 172.x net.
>
> It seems the IP of eth4 should not be in the same subnet like eth0.
>
>
>
> I think I will create a more subnets to get this done.
>
>
>
> Frank
>
>
>
>
>
>
>
> *Von:* Lazuardi Nasution [mailto:mrxlazuar...@gmail.com]
> *Gesendet:* Freitag, 19. August 2016 22:57
> *An:* zenloadbalancer-support@lists.sourceforge.net
> *Cc:* Frank Liebelt <frank.lieb...@bca.com>
> *Betreff:* Re: [Zenloadbalancer-support] Connect to Farm with wrong IP.
> Here MySQL
>
>
>
> Hi Frank,
>
>
>
> Please check your routing table on each appliance. It seem that your
> routed interface to 172.28.10.1 is eth0, not eth4. You can share the
> routing table too.
>
>
>
> Best regards,
>
>
>
> On Fri, Aug 19, 2016 at 6:21 PM, Frank Liebelt <frank.lieb...@bca.com>
> wrote:
>
> Hi all,
>
>
>
> i set up a cluster and configured one farm.
>
> The farm profile is set to lx4nat.
>
> Protocol TCP, NAT is SNAT.
>
>
>
> When I use the Farm IP for connect to an MySQL Cluster, it will not pass
> the IP of the farm to the MySQL server. It is always the eth0 IP of the
> currently active load balancer.
>
> For my understanding, i should connect to the MySQL Server with the IP
> address of eth4. Like described in the manual.
>
>
>
> MySQL Client -> FarmIP 192.168.100.230 -> RealServer -> 172.28.10.1
>
> MySQL shows connection from 192.168.100.101 not 192.168.100.230
>
>
>
> Any suggestions what goes wrong?
>
>
>
> Here is my setup:
>
>
>
> LB Community Edition 3.10.1
>
>
>
> Appliance 1 (active):
>
> eth0: 192.168.100.101
>
> eth0:ha 192.168.100.100
>
> eth4: 192.168.100.230 (Farm)
>
>
>
> Appliance 2:
>
> eth0: 192.168.100.102
>
> eth0:ha 192.168.100.100
>
> eth4: 192.168.100.230 (Farm)
>
>
>
> The Replication between the two appliance is working well.
>
>
>
> regards
>
> Frank Liebelt
>
>
>
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> Zenloadbalancer-support mailing list
> Zenloadbalancer-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_zenloadbalancer-2Dsupport&d=DQMFaQ&c=z5qkHFDM6RsJxyBa-Q4_Eg&r=HuugatOAykURdOOcuNKGDKfoTl8zzw9zDZCjpZlx44A&m=gRlG73z7-7Uf6qluSghoAE01XKbyRT0HYQ208lPkDEE&s=v5_2UGVbtzuyST3CBBhN9HQeO5YXJt1y_8ftzFbGxMo&e=>
>
>
>
------------------------------------------------------------------------------
_______________________________________________
Zenloadbalancer-support mailing list
Zenloadbalancer-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to