自动切换策略,具体如下

监视地址:1.1.1.1

轮询时间:30s;超时时间:1000ms

up

/ip firewall nat set [/ip firewall nat find comment ="test" to-addresses=x.x.x.x

/ip firewall address-list set [/ip firewall address-list find comment="test"] disabled=no

 

down

/ip firewall nat set [/ip firewall nat find comment ="tes"] to-addresses=y.y.y.y

/ip firewall address-list set [/ip firewall address-list find comment="test"] disabled=yes

 

 

监视地址:2.2.2.2

轮询时间:30s;超时时间:1000ms

up

/ip firewall nat set [/ip firewall nat find comment ="test1"] to-addresses=a.a.a.a

/ip firewall address-list set [/ip firewall address-list find comment="test1"] disabled=yes

 

down

/ip firewall nat set [/ip firewall nat find comment ="test1"] to-addresses=b.b.b.b

/ip firewall address-list set [/ip firewall address-list find comment="test1"] disabled=no

相关文章:

  • 2021-06-21
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
猜你喜欢
  • 2021-10-31
  • 2021-11-05
  • 2022-01-04
  • 2021-06-14
  • 2022-12-23
  • 2021-06-22
  • 2021-07-13
相关资源
相似解决方案