cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3746
Views
0
Helpful
3
Replies

NAT misses incrementing

mforthman
Level 1
Level 1

Can you explain what is happening when the "misses" field is incrementing on a "show ip nat statistics"? The command refernece explanation is "Number of times the software does a translations table lookup, fails to find an entry, and must try to create one".

1 Accepted Solution

Accepted Solutions

I *probably* wouldn't consider this a problem. The "misses" are normal behavior. When the router performs a dynamic translation, it inserts an entry for that translation into the NAT table. Additional packets that match that translation just use the existing entry in the NAT table (and are logged as "hits"). If the entry times out, or a packet needs to be translated that doesn't have an entry in the NAT table, IOS increments the "misses" counter and performs the translation.

Depending on your configuration, it may be possible to reduce the number of misses by increasing the timeout values for the entries in the NAT table.

View solution in original post

3 Replies 3

seilsz
Level 4
Level 4

Basically traffic is passing through the router that should be translated, but an existing translation (either static or dynamic) doesn't already exist the in NAT table. IOS increments the "misses" field, as opposed to "hits", and performs the translation.

~Zach

If you were seeing a high number of misses would this be considered a problem? Do you have any idea what would normally cause the misses? If so what would be the fix for it?

I *probably* wouldn't consider this a problem. The "misses" are normal behavior. When the router performs a dynamic translation, it inserts an entry for that translation into the NAT table. Additional packets that match that translation just use the existing entry in the NAT table (and are logged as "hits"). If the entry times out, or a packet needs to be translated that doesn't have an entry in the NAT table, IOS increments the "misses" counter and performs the translation.

Depending on your configuration, it may be possible to reduce the number of misses by increasing the timeout values for the entries in the NAT table.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: