Hi Daniel,
You have to use different entries for different SrcIPs as follows:
edit policy PBR.pol
entry PBR_WAN2-Host1 {
if {
source-address 192.168.100.x/32; (host1)
}
then {
redirect 192.168.100.253; (Gateway to WAN2)
}
}
entry PBR_WAN2-Host2 {
if {
source-address 192.168.100.x/32; (host2)
}
then {
redirect 192.168.100.253; (Gateway to WAN2)
}
}
All the traffic that does not hit the ACL will be routed through default route.
The "refresh policy" command is used only when you have changed the policy file and need to update to the switch memory without needing to unconfig/config the ACL to the vlan or port.
Also, diffserv examination is not needed here, unless you are working with DSCP marking to perform QoS.