Hi,
It appears that fwm virtual services break when ipvs is built with IPv6
support enabled. I'm not sure if it's broken on all kernels (since 2.6.28, in
which IPv6 was seen first), or if it's just broken in 2.6.31.
Relevant kernel info:
Arch: amd64
Version: 2.6.31 (vanilla)
Kernel configuration:
-----------------------------
CONFIG_IP_VS=m
CONFIG_IP_VS_IPV6=y
# CONFIG_IP_VS_DEBUG is not set
CONFIG_IP_VS_TAB_BITS=16
#
# IPVS transport protocol load balancing support
#
CONFIG_IP_VS_PROTO_TCP=y
CONFIG_IP_VS_PROTO_UDP=y
CONFIG_IP_VS_PROTO_AH_ESP=y
CONFIG_IP_VS_PROTO_ESP=y
CONFIG_IP_VS_PROTO_AH=y
#
# IPVS scheduler
#
CONFIG_IP_VS_RR=m
CONFIG_IP_VS_WRR=m
CONFIG_IP_VS_LC=m
CONFIG_IP_VS_WLC=m
CONFIG_IP_VS_LBLC=m
CONFIG_IP_VS_LBLCR=m
CONFIG_IP_VS_DH=m
CONFIG_IP_VS_SH=m
CONFIG_IP_VS_SED=m
CONFIG_IP_VS_NQ=m
#
# IPVS application helper
#
CONFIG_IP_VS_FTP=m
-----------------------------
iptables configuration snippet:
iptables -t mangle -I PREROUTING -d <vip> -p tcp --set-mark <marknum>
ipvs configuration snippet:
-A -f <marknum> -s wlc -p 3600
-a -f <marknum> -r <real server>:0 -g -w 10
The same configuration works right if CONFIG_IP_VS_IPV6 is not set..
--
Johan Mulder
Cambrium BV.
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|