Skip to contentSkip to conversation

CLUSTERIP and ProxyARP?

DISCUSSION Tobias DiPasquale 2 participants 5 messages Jun 23, 2005 – Jun 27, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

Hi all,

Does anyone know if ipt_CLUSTERIP and ProxyARP will work correctly together on a current Linux kernel? Anything special to watch out for? TIA :)

Signature · 2 lines
[ Tobias DiPasquale ]
0x636f6465736c696e67657240676d61696c2e636f6d
#1 lore raw
Quoted 5 lines · Tobias DiPasquale

Hi all,

Does anyone know if ipt_CLUSTERIP and ProxyARP will work correctly together on a current Linux kernel? Anything special to watch out for? TIA :)

1. all current linux kernel up to (and including 2.6.12) has a CLUSTERIP bug anyway
2. I didn't think about interoperability with proxyarp when implementing CLUSTERIP. In fact, CLUSTERIP is meant to run on end-hosts (Such as webservers), not on gateways.

CLUSTERIP mangles ARP requests (and replies) from/to the CLUSTER IP address. So if you are proxy-ARP'ing for different IP addresses, it _should_ work.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#2 lore raw
Quoted 9 lines · Harald Welte
Quoted 5 lines · Tobias DiPasquale

Hi all,

Does anyone know if ipt_CLUSTERIP and ProxyARP will work correctly together on a current Linux kernel? Anything special to watch out for? TIA :)

1. all current linux kernel up to (and including 2.6.12) has a CLUSTERIP bug anyway

What bug? Was it mentioned on this list earlier? I don't remember seeing it...

Quoted 7 lines

2. I didn't think about interoperability with proxyarp when implementing CLUSTERIP. In fact, CLUSTERIP is meant to run on end-hosts (Such as webservers), not on gateways.

CLUSTERIP mangles ARP requests (and replies) from/to the CLUSTER IP address. So if you are proxy-ARP'ing for different IP addresses, it _should_ work.

I'm going to test it out today. I will let the list know the results. Thanks.

Signature · 2 lines
[ Tobias DiPasquale ]
0x636f6465736c696e67657240676d61696c2e636f6d
#3 lore raw
Quoted 5 lines · Tobias DiPasquale
Quoted 2 lines · Harald Welte

1. all current linux kernel up to (and including 2.6.12) has a CLUSTERIP bug anyway

What bug? Was it mentioned on this list earlier? I don't remember seeing it...

Were you referring to the fact that, without a patch from earlier on this list (from Alex somebody?), CLUSTERIP won't mangle ARP requests? I can see that this patch didn't make it into 2.6.12.

Signature · 2 lines
[ Tobias DiPasquale ]
0x636f6465736c696e67657240676d61696c2e636f6d
#4 lore raw
Quoted 10 lines · Tobias DiPasquale
Quoted 5 lines · Tobias DiPasquale
Quoted 2 lines · Harald Welte

1. all current linux kernel up to (and including 2.6.12) has a CLUSTERIP bug anyway

What bug? Was it mentioned on this list earlier? I don't remember seeing it...

Were you referring to the fact that, without a patch from earlier on this list (from Alex somebody?), CLUSTERIP won't mangle ARP requests? I can see that this patch didn't make it into 2.6.12.

yes, that's the bug i'm referring to.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie