Hmmmm, I am not 100% sure when a box goes down. I believe it would still route the traffic to the dead box however if you set the --every 1 you wouldn't notice too much. It would give us enough time I reckon to get the box back online or we could just remove it from the iptables until the box came back up. On 11/05/07, Mike McGrath <mmcgrath@xxxxxxxxxx> wrote:
Damian Myerscough wrote: > Hey Mike, > > I have seen: > > if you want to balance the load to the 3 addresses 10.0.0.5, 10.0.0.6 > and 10.0.0.7, then you can do as follows : > > # iptables -t nat -A POSTROUTING -o eth0 -m nth --counter 7 --every 3 > --packet 0 -j SNAT --to-source 10.0.0.5 > # iptables -t nat -A POSTROUTING -o eth0 -m nth --counter 7 --every 3 > --packet 1 -j SNAT --to-source 10.0.0.6 > # iptables -t nat -A POSTROUTING -o eth0 -m nth --counter 7 --every 3 > --packet 2 -j SNAT --to-source 10.0.0.7 > > Do you have a box that can act as a dedicated balance loader while FC > 7 is being released How well does this work when 10.0.0.6 goes down? -Mike _______________________________________________ Fedora-infrastructure-list mailing list Fedora-infrastructure-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
-- Regards, Damian