When shunning, how is the interface decided?
shun (outside) 22.214.171.124 0.0.0.0 0 0 0
shun (inside) 126.96.36.199 0.0.0.0 0 0 0
I believe both IP addresses should be shunned on the outside interface.
As per my understanding
The decision order is as follows
1. Static NAT entry
All static entries are checked to see if there is an entry with the global IP as the shunned IP. If there is then the actual shunned IP would be the local IP and the interface would be the local interface.
2. check the global addresses in the xlate and same process as above
3. If there is still no match, then a route lookup to figure out the source interface for this address and apply the shun to the interface returned by the route lookup.
Syed Iftekhar Ahmed