Linux Netfilter discussions
 help / color / mirror / Atom feed
* CLUSTERIP does not work
@ 2006-06-28  7:58 Julian Hagenauer
  0 siblings, 0 replies; only message in thread
From: Julian Hagenauer @ 2006-06-28  7:58 UTC (permalink / raw)
  To: netfilter

Hi,
i don't get iptables with CLUSTERIP to work properly.
I run debian sarge with kernel 2.6.11 (dom0) and a vm with debian sarge 
and also kernel 2.6.11 (domU) with iptables 1.3.5.
The IP of the vmm ist 192.168.1.2, of the vm is 192.168.1.4.
For testing my cluster consists only of the one vm-host.
Now i run
iptables -A INPUT -d 192.168.1.3 -i eth0 -j CLUSTERIP --new --hashmode 
sourceip --clustermac 01:23:45:67:89:ab --total-nodes 1 --local-node 1
on the vm.
No errors.

iptables -L gives:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination        
CLUSTERIP  all  --  anywhere             192.168.1.3         CLUSTERIP 
hashmode=sourceip clustermac=E0:64:D7:C3:89:AB total_nodes=1 
local_node=1 hash_init=0
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination        
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination     

Why does the mac differs from the clustermac definied earlier? Is this 
an error/bug?
When i try to ping 192.168.1.3 from any host i got a destination not 
reachable error, i think the host is not able to resolve the ipadress. 
Maybe due to a false non-multicast arp-address?
cat /proc/net/ipt_CLUSTERIP/192.168.1.3 returns nothing, the file seems 
to be empty.
Any suggestion what is wrong/where i could start to investigate?

Sincerely,
Julian






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-28  7:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-28  7:58 CLUSTERIP does not work Julian Hagenauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox