Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Julian Hagenauer <chaosbringer@gmx.de>
To: netfilter@lists.netfilter.org
Subject: CLUSTERIP does not work
Date: Wed, 28 Jun 2006 09:58:15 +0200	[thread overview]
Message-ID: <44A23697.2070706@gmx.de> (raw)

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






                 reply	other threads:[~2006-06-28  7:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44A23697.2070706@gmx.de \
    --to=chaosbringer@gmx.de \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox