loadbalncer using iptables

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

 



Dear all,

I build a loadbalancer using DNAT.
iptables -t nat -A PREROUTING -s 10.10.10.254 -d 192.168.0.3 -p tcp --dport 80 -j DNAT --to-destnation 172.18.10.1
i need to use anonther real server 172.18.10.2 for the next request in a round robin fashion.


i wrote a script for the same using cron tab.but it is working.
but what i need is i want to use the roundrobin fashion ,when http request comes.how to do that.


-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux