f5服务器维护,实现F5后端服务器访问

F5后端服务器想要访问出去,大家有几种方法?

在这,我提供三种方法.

第一种方法:

常用SNAT方法

snat one-snat {

translation 192.168.x.y

origins 192.168.90.64

vlans externat enable

}

第二种方法:

网络VS+SNAT(snat pool)

Snat Pool

snatpool second_snat_pool {

members {

192.168.x.y

192.168.x1.y1

}

}

default_gatway_pool

pool default_gatway_pool {

monitor all gateway_icmp

members 192.168.x.254:any {}

}

网络VS

virtual second_snat_vs {

snatpool second_snat_pool

pool default_gatway_pool

destination any:any

mask 0.0.0.0

}

第三种方法

智能snat(就是常说的IRule控制)

Irule name rule_snat

when CLIENT_ACCEPTED {

if { [IP::addr [IP::remote_addr] equals 192.168.90.64] }{

use snatpool second_snat_pool

pool default_gatway_pool

}

}

网络vs

virtual second_snat_vs {

snatpool second_snat_pool

destination any:any

mask 0.0.0.0

rules rule_snat

}

仅供参考!

如果想了解更多,请关注我们的公众号

公众号ID:opdevos

扫码关注

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值