deon@xxxxxxxxxxxxxx wrote:
>
> ---------- Forwarded message ----------
> Date: Wed, 15 Sep 1999 08:58:11 +0200 (SAST)
> From: deon@xxxxxxxxxxxxxx
>
> Hi, I am trying to create a 2 system Virtual server. My configuration is
> as follows:
>
> Router to Internet
> |
> |
> -------------------
> | |
> | Hub |
> | |
> -------------------
> | |
> | |
> ---------- -------------
> | Director | | Real Server |
> | D1 | | D2 |
> ----------- ---------------
>
> Details:
> Kernel 2.2.10 (with vs patch)
> Configuration: D1
> eth0: 72.200.100.3
> eth0:0 72.200.100.2 (Virtual IP)
> ipvsadm -A -t 72.200.100.2:80 rr
> ipvsadm -a -t 72.200.100.2:80 -R 72.200.100.4 -g
> ipvsadm -a -t 72.200.100.2:80 -R 127.0.0.1
>
> Configuration: D2
> eth0: 72.200.100.4
> lo:0 72.200.100.2
>
> On both systems the default gateway is set to the router ip
> (72.200.100.20)
>
> Problem:
> When I request service from the virtual ip (72.200.100.2), I only get
> response for the first time (D1), the second time I get timeout (D2?)
>
> I can ping D1 from the router side, but not D2. When I look at the arp
> table I get D2 <incomplete>. I can ping out from D2 to the router and to
> D1.
> It seems that the MAC address gets corrupted when D2 replies.
>
> Any sugestions ??
>
Yeah, it is because the loopback alias device of kernel 2.2.xx
does ARP response.
Before a nice fix of arp policy for kernel 2.2.xx comes up,
apply the very simple patch of tunnel device first, then
ifconfig tunl0 <VIP> netmask 255.255.255.255 up
Wensong
> Deon Stoltz
>
>
|