Skip to contentSkip to conversation

Can't add an CLUSTERIP rule

DISCUSSION Michael Schneider 1 participant 1 message Jul 21, 2006

lore
Share & tools
lore
#0 lore raw

Hi all,

I'd like to run cluster ip on two nodes with Debian 3.1 R2. I tried the rule below with itables version 1.2.11, 1.3.3 and 1.3.5 along with the stable Linux kernel 2.6.17.6.

iptables rule:
iptables -A INPUT -d 192.168.10.1 -i eth0 -p tcp --dport 80 -j CLUSTERIP --new --hashmode sourceip --clustermac 01:00:5e:08:08:08 --total-nodes 2 --local-node 1

error:
iptables v1.2.11: chain name not allowed to start with `-'

Try `iptables -h' or 'iptables --help' for more information.

Any help would be greatly appreciated.

cheers,
Michael