When shunning, how is the interface decided?
shun (outside) 220.127.116.11 0.0.0.0 0 0 0
shun (inside) 18.104.22.168 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