#创建服务
slb server rs_10.90.6.95 10.90.6.95
port 5001 tcp slb server rs_10.90.6.96 10.90.6.96
port 5001 tcp slb server rs_10.90.6.97 10.90.6.97
port 5001 tcp
#添加服务组
slb service-group sg_10.90.6.95_5001 tcp
member rs_10.90.6.95:5001
slb service-group sg_10.90.6.96_5001 tcp
member rs_10.90.6.96:5001
slb service-group sg_10.90.6.97_5001 tcp
member rs_10.90.6.97:5001 #创建虚拟服务并映射
slb virtual-server vip_120.197.78.116 120.197.78.116
port 5002 tcp
service-group sg_10.90.6.95_5001
use-rcv-hop-for-resp
slb virtual-server vip_120.197.78.116 120.197.78.116
port 5003 tcp
service-group sg_10.90.6.96_5001
use-rcv-hop-for-resp
slb virtual-server vip_120.197.78.116 120.197.78.116
port 5004 tcp
service-group sg_10.90.6.97_5001
use-rcv-hop-for-resp slb virtual-server vip_182.62.248.35 182.62.248.35
port 5002 tcp
service-group sg_10.90.6.95_5001
use-rcv-hop-for-resp slb virtual-server vip_182.62.248.35 182.62.248.35
port 5003 tcp
service-group sg_10.90.6.96_5001
use-rcv-hop-for-resp slb virtual-server vip_182.62.248.35 182.62.248.35
port 5004 tcp
service-group sg_10.90.6.97_5001
use-rcv-hop-for-resp #映射NPT服务的123端口
slb virtual-server vip_120.197.78.116 120.197.78.116
port 123 udp
service-group sg_10.88.8.9_123
use-rcv-hop-for-resp slb virtual-server vip_182.62.248.35 182.62.248.35
port 123 udp
service-group sg_10.88.8.9_123
use-rcv-hop-for-resp