- 论坛徽章:
- 0
|
您好,我安装lvs之后,恩,按照作者:FunBSD 的LVS集群技术一文安装的,但始终打开网页失败,想求教于大家,我始终找不出原因,具体设置如下:
Virtual IP: 192.168.3.137
Load Balancer: 192.168.3.138
Real Server 1: 192.168.3.133
Real Server 2: 192.168.3.124
使用ipvsadm结果如下:
-> RemoteAddress ort Forward Weight ActiveConn InActConn
TCP 192.168.3.137:http rr
-> localhost.localdomain:http Local 1 0 0
-> 192.168.4.213:http Tunnel 0 0 0
-> 192.168.3.133:http Tunnel 0 0 0
-> loadbalancer:http Local 0 0 0
我在192。168。3。131上的ie中打开http://192.168.3.137时无法打开,此时使用ipvsadm -lvn结果为:
pro expire state source virtual destination
TCP 00:57 SYN_RECV 192.168.3.131:1546 192.168.3.137:80 127.0.0.1:80
在192。168。3。133上使用 tcpdump port 80得到以下信息:
tcpdump: listening on eth0
14:38:15.195602 192.168.3.138.37379 > 192.168.3.133.http: S 3449117184:3449117184(0) win 5840 <mss 1460,sackOK,timestamp 816325 0,nop,wscale 0> (DF)
14:38:15.195661 192.168.3.133.http > 192.168.3.138.37379: S 2875333886:2875333886(0) ack 3449117185 win 5792 <mss 1460,sackOK,timestamp 325208 816325,nop,wscale 0> (DF)
14:38:15.196498 192.168.3.138.37379 > 192.168.3.133.http: . ack 1 win 5840 <nop,nop,timestamp 816325 325208> (DF)
14:38:15.211960 192.168.3.138.37379 > 192.168.3.133.http: P 1:103(102) ack 1 win 5840 <nop,nop,timestamp 816325 325208> (DF)
14:38:15.212042 192.168.3.133.http > 192.168.3.138.37379: . ack 103 win 5792 <nop,nop,timestamp 325210 816325> (DF)
14:38:15.212871 192.168.3.133.http > 192.168.3.138.37379: P 1:275(274) ack 103 win 5792 <nop,nop,timestamp 325210 816325> (DF)
14:38:15.213148 192.168.3.133.http > 192.168.3.138.37379: F 275:275(0) ack 103 win 5792 <nop,nop,timestamp 325210 816325> (DF)
14:38:15.214453 192.168.3.138.37379 > 192.168.3.133.http: . ack 275 win 6432 <nop,nop,timestamp 816327 325210> (DF)
期待大家的指点。
使用的是tunnle模式。
[ 本帖最后由 mov123 于 2006-4-17 14:37 编辑 ] |
|