When I run this:
iptables -I PREROUTING -i eth0 -p tcp --dport 80 -m state --state NEW -m random --average 50 -j DNAT --to-destination 202.177.26.84
The server return this:
iptables v1.2.11: Couldn't load match `random':/lib/iptables/libipt_random.so: cannot open shared object file: No such file or directory
What can I do to run load balancing?
My server has these two LAN cards:
eth0 202.177.26.83
eth1 202.177.26.84
iptables -I PREROUTING -i eth0 -p tcp --dport 80 -m state --state NEW -m random --average 50 -j DNAT --to-destination 202.177.26.84
The server return this:
iptables v1.2.11: Couldn't load match `random':/lib/iptables/libipt_random.so: cannot open shared object file: No such file or directory
What can I do to run load balancing?
My server has these two LAN cards:
eth0 202.177.26.83
eth1 202.177.26.84