瞻博网络或思科是否可以在入口接口和源 IP 地址匹配的位置配置 PBR?
我的场景流量如下:
Router1 > Router2 > WAN_Optimiser > Router2 > Firewall > Router2 > Router3
WAN 优化器和防火墙都处于透明模式,并且各自在单个接口上与 Router2 相连。
我需要能够让流量进入 router2,被定向到 WAN 优化器,返回到 Router2,然后被定向到防火墙,然后返回到 Router2,然后再路由到其预期目的地。
规则看起来类似于传出流量
Source: 10.0.0.1/24
Dest: 20.0.0.1/24
规则1
match interface <interface connected to router1>
match ip range 10.0.0.0/24
then send to <interface connected to wan_opt>
规则 2
match interface <interface connected to wan_opt>
match ip range 10.0.0.0/24
then send to <interface connected to firewall>