I have more than 100 IP addresses, and I am currently using PCC(Per-Connection-Classifier) for Source NAT. Each IP corresponds to one SNAT rule.
The rule looks like:
chain=srcnat action=src-nat to-addresses=123.123.123.123 src-address=10.0.0.0/24 out-interface=qsfp28-1-1
per-connection-classifier=both-addresses-and-ports:80/4 log=no log-prefix=""
These IPs are using the same gateway. The reason I use PCC is because I want to perform load balancing for clients, avoiding always using the same IP to access the internet.
I am not sure about the impact on performance. My device is CCR2216-1G-12XS-2XQ
Is there any other way to reduce the number of rules?
Thanks.