Hi,
I need your help. I’m trying to understand how CGNAT routes are generated on A10 devices—the ones you can see with a “show ip route acos”. I didn’t find it in the manuals.
I’m unclear about when the device decides to summarize a network into a larger one or advertise more specific subnets. Let me explain: in one CGNAT rule I used a public IP range from X.Y.Z.1 to X.Y.Z.127, and the NAT IP network shown was X.Y.Z.0/24. Then, I added the range X.Y.Z.128 to X.Y.Z.130 to the same rule, and the resulting network was X.Y.Z.0/24. It did not split into a /25 plus a smaller subnet that would cover the three newly added addresses (e.g., a /30). I’ve had several cases like this one, but I couldn’t find a pattern for “ip nat” networks creation based on the CGNAT public IP address ranges.
Could anybody know the exact logic behind how IP NAT routes are generated depending on the public IP address ranges defined in CGNAT rules?
Many thanks.