On Thu, 2 Mar 2000 wanger@xxxxxxxxxx wrote:
> On Fri, 3 Mar 2000 11:31:36 +0800 (CST), Wensong Zhang wrote:
>
> >I just tried two LVS boxes with piranha 0.3.15. When the primary LVS stops
> >or fails, the backup will take over and send out two Gratuitous Arp
> >packets for the VIP and the NAT router IP respectively, which should clean
> >the ARP caching in both the web servers and the external router.
>
> Are you sure it was just 2? It should be sending out 5 ARPs on all
> failed over IPs.
>
Sorry, it is my mistake. It should be 5 ARP packets for each IP address,
and 10 for both the VIP and the NAT router IP. I saw the log file as
follows:
Mar 3 11:12:14 PDL-Linux2 pulse[4910]: running command "/sbin/ifconfig"
"eth0:5" "192.168.10.1" "up"
Mar 3 11:12:14 PDL-Linux2 pulse[4908]: running command
"/usr/sbin/send_arp" "-i" "eth0" "192.168.10.1" "00105A839CBE" "172.26.20.255"
"ffffffffffff"
Mar 3 11:12:14 PDL-Linux2 pulse[4913]: running command "/sbin/ifconfig"
"eth0:1" "172.26.20.118" "up"
Mar 3 11:12:14 PDL-Linux2 kernel: send_arp uses obsolete
(PF_INET,SOCK_PACKET)
Mar 3 11:12:14 PDL-Linux2 pulse[4909]: running command
"/usr/sbin/send_arp" "-i" "eth0" "172.26.20.118" "00105A839CBE" "172.26.20.255"
"ffffffffffff"
Mar 3 11:12:17 PDL-Linux2 nanny[4911]: making 192.168.10.2:80 available
I don't know if the target addresses of the 2 send_arp commands are set
correctly. I am not sure if it is different when broadcast or source IP is
used as target address, or any target address is OK.
Thanks,
Wensong
|