Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:dpi:opt_cgnat:faq:cgnat_faq_7 [2023/08/28 14:08] – ↷ Page moved from en:dpi:opt_cgnat:cgnat_faq:cgnat_faq_7 to en:dpi:opt_cgnat:faq:cgnat_faq_7 elena.krasnobryzh | en:dpi:opt_cgnat:faq:cgnat_faq_7 [2023/08/28 14:19] (current) – removed elena.krasnobryzh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== NAT Diagnostics ====== | ||
| - | {{indexmenu_n> | ||
| - | 1. A profile must have pools of the same size. | ||
| - | Correct: | ||
| - | < | ||
| - | type_profile=1, | ||
| - | </ | ||
| - | Incorrect: | ||
| - | < | ||
| - | type_profile=1, | ||
| - | </ | ||
| - | |||
| - | 2. For blocked subscribers, | ||
| - | |||
| - | 3. Check if the private addresses are evenly distributed over the public addresses in the profile. | ||
| - | < | ||
| - | fdpi_ctrl list all status --service 11 --profile.name nat_pool |grep whiteip|cut -f7|sort|uniq -c|sort -n | ||
| - | </ | ||
| - | |||
| - | 4. Check the number of subscribers that use ports more then the $P value. The average subscriber uses about 600 ports. | ||
| - | < | ||
| - | fdpi_ctrl list all status --service 11 --profile.name nat_pool | awk 'BEGIN {FS=" | ||
| - | </ | ||
| - | |||
| - | 5. Check how addresses are distributed by pools (subnets) in the profile. | ||
| - | < | ||
| - | fdpi_ctrl list all status --service 11 --profile.name nat_pool |grep whiteip|cut -f7|cut -d" | ||
| - | </ | ||