请教lvs 路由模式下后端的realserver是windows该如何处理arp问题

在英文站点看了些,但是没看到说的很具体的,那位有经验请告知一下,非常感谢!

in LVS/DR clusters, you can configure VIP on Microsoft Loopback Adapter in the Windows operating system.

The only trick is how to set netmask for VIP, because Windows do not allow to configure netmask 255.255.255.255 for VIP unless Windows registry is modified. When non-255.255.255.255 netmask is used, there is a network configured on Microsoft Loopback Adapter, this network should not route packet because it is not connected to any physical media. Usually, a much bigger netmask such as 10.0.0.0 is used, so that this loopback driver most likely will not be used while sending packets to VIP network.

http://kb.linuxvirtualserver.org/wiki/Windows_Servers_in_LVS/DR_and_LVS/TUN_Clusters

感觉说的不深入。

Forums:

关注!!!

lvs搭建中
windows xp可能不支持ip隧道,我用他没有成功,你在摸索一下把。
我也有一个问题,我现在使用lvs/tun方式搭建集群,每个机器都有公网ip:
director:58.xxx.xxx.xxx
realserver1:202.194.xxx.xxx
realserver2:202.194.xxx.yyy
我现在是在学校里面,我们学院的网关上面为每一个ip绑定mac地址。我申请了一个ip,比如202.xxx.xxx.zzz作为我的vip,网关把这个vip绑定一个mac地址,我就让他绑定了director的mac地址。结果是,我的集群只有局域网内的ip能够访问到它,外网访问不到它了。我想知道,如何设定vip,才能让外网访问到它?????你们的vip是不是没有绑定mac地址,只是使用一个大家没有用的ip就可以??
谢谢你们。

That's a shrewd answer to a tricky quositen

I'm impressed! You've managed the almost impssoible.

Didn't know the forum rules allowed such brniilalt posts.

安装loopback driver
配置ip:VIP
netmask:255.255.255.0
其他不用配置
到注册表里搜索VIP,找到"255.255.255.0",改成"255.255.255.255" (要修改好几处,多搜索一下)

的确修改注册表就可以了。

这个问题我曾经问过了,很久没有人回答,后来自己摸索了好几天.呵呵

because Windows do not allow to configure netmask 255.255.255.255 for VIP unless Windows registry is modified.这句话就说了,可惜没有深入去做哦,还是中文的搜索替换注册表的值来的明白。

LVS-mini-HOWTO里也有
3.23. Loopback interface on Windows/Microsoft/NT/W2K
(http://www.austintek.com/LVS/LVS-HOWTO/mini-HOWTO/LVS-mini-HOWTO.html#windows)

Your's is the ingnillteet approach to this issue.

Thanks for counirbtting. It's helped me understand the issues.

确实可以

I really wish there were more arceilts like this on the web.

The hostney of your posting is there for all to see

lvs 有windows2003怎么配啊??
用lvs做负载,其中有一台windows2003,怎么做啊,我照上面的做,没有成功,

用客户端访问,直接访问windows2003的lookback

2003我也没测试成功

隧道模式能用windows做real服务器么?

randomness