Actually I'm using iptables method of the famous Piranha + Direct
Routing HOWTO V0.2 which was sent in April 2005.
But now I have to change to the arptables because I will have to set up
My question is about the second rule of the how to :
arptables -A OUT -d <virtual_ip> -j mangle --mangle-ip-s <real_ip>
It is said that we have to change outbound response which might contain
the virtual ip and put the real ip server instead. But an arp response
with a virtual_ip adress should have the source adress and not the
destination adress with the vip. In fact I am not sure of how interpret
the OUT chain with arp protocol. I think this rule should be :
arptables -A OUT -s <virtual_ip> -j mangle --mangle-ip-s <real_ip>
I've tried both rules : my new rule and the howto rule. When I listed
packets which passed through my arptables, I noticed that there wasn't
any packets which match the howto rule. But sometimes I got packets
which match my new rule.
I think there is a mistake with the how to and I just want you to
confirm my idea.
Thanks for your answers.
Taroon-list mailing list