----- Original Message -----
???: Wensong Zhang <wensong@xxxxxxxxxxxx>
???: He Weitao <hewt@xxxxxxxxxx>
??: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
????: 2000?3?26? 20:56
??: Re: a probelm about VS-TUN
On Fri, 24 Mar 2000, He Weitao wrote:
> thanks, I have made a test successfully in A subnet using VS-TUN,
> while when I try to make the test in TWO subnets, some strange thing
> happened,
> DIP=192.168.2.3
> VIP=172.16.2.41
> CIP=172.16.2.63
> RIP=192.168.2.1
>
> the director act as router at the same time,
> I can ping from RIP to CIP or from CIP to RIP, and
> I also can telnet from CIP to RIP,while when I telnet
> from CIP to VIP, it failed, in RIP machine, the command
> 'netstat -n' shows something as follow:
>
> tcp 0 0 172.16.2.41:23 172.16.2.63:3821
SYN_RECV
>
> and in DIP machine, the command 'ipvsadm -ln' shows:
>
> [root@faint /root]# ipvsadm -ln
> IP Virtual Server version 0.9.8 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
> -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> TCP 172.16.2.41:23 wlc
> -> 192.168.2.1:23 Tunnel 1 0
> 1
>
Well, have you configured 172.16.2.x address on your real server? The real
server should be directly connected to the client. If so, then you may
meet the arp problem. please read www.linuxvirtualserver.org/arp.html,
which might help.
Thanks,
Wensong
Ok, thank you very much, the cause of my problem is the real server should
have it's own router to client. that means Director+Router+Realservers. I
have understanded it. thanks.
another question:
If one of the real servers down, it cannot provide service any more,
does the Director can know one of it's realserver had down automaticly and
donnot send more requests to it any more?
thanks.
ttao.
|