Re: Trying to achieve fail over to multiple DNATed destinations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 2011-08-09 00:36, Mark Ruth wrote:
>[DNAT]
>
>The problem is that the target webserver (i.e. www.example.com ) is
>loadbalanced between like 10 servers having 10 public IPs (which are
>NOT in series), [...]
>my users can not connect to www.example.com any
>more untill i debug this and change the destination ip address in my
>iptables rules.
>[...]
>I read that multiple --to-destinations were supported in previous
>versions of iptables but not anymore. Hence to summarize, I want to
>achieve some sort of failover with loadbalancing in above mention
>scenario. Failover is more important.

NAT is not a substitute for a proper layer-7 proxy and/or loadbalancer.


>Now i want to handle this situation with some sort of failover rule
>that can forward users to next ip in list if 1st DOES NOT RESPOND for
>some reason.

Even without NAT, a user can't do anything if his browser resolved
a hostname to an address out of a round-robing pool and that
one server happens to be down.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux