Hi,
We are trying to forward all the HTTP traffic to our cache box, using below configuration
WAN_IFACE = XGigabitEthernet 0/0/19
LAN_IFACE = XGigabitEthernet 0/0/14
CACHE_BOX_IFACE = XGigabitEthernet 0/0/11
On WAN side:
acl name test_wan_acl 3556
rule permit tcp destination any source-port eq 80
traffic classifier test_wan_classifier operator or
if-match acl test_wan_acl
traffic behavior test_wan_behaviour
redirect ip-nexthop 10.200.2.2(cache box IP)
traffic policy test_wan_policy match-order config
classifier test_wan_classifier behavior test_wan_behaviour
interface XGigabitEthernet 0/0/19
traffic-policy test_wan_policy inbound
ON LAN side:
acl name test_lan_acl 3555
rule permit tcp source any destination-port eq 80
traffic classifier test_lan_classifier operator or
if-match acl test_lan_acl
traffic behavior test_lan_behaviour
redirect ip-nexthop 10.200.2.2(cache box IP)
traffic policy test_lan_policy match-order config
classifier test_lan_classifier behavior test_lan_behaviour
interface XGigabitEthernet 0/0/14
traffic-policy test_lan_policy inbound
The Problem:
The traffic been forwarded to cache_box, while debugging we found the destination ip of the packets retains its original address, hence cache_box drops the packets.
we need to modify the PBR configuration to change the destination ip to the cache_box ip ( static routing )
Regards,
Tamil