NAT - many to many

Good day ppl.

Is it possible to do many to many NAT on MK ( NOT 1:1 ) ?

e.g. If I have a private subnet 10.10.0.0/24 ( 254 usable addresses ) and 10 public addresses. Is it possible to do like a dynamic NAT. I mean if there is not used public IP then use it, doesn’t matter private IP is 10.10.0.3 or 10.10.0.198.

Thnx,
TRJ

You can use PCC to randomly spread NAT across a range but there is no pool feature like other platforms have.

I will take a look and reply.
Thnx :wink:

You can specify a range of addresses with src-nat as the action, but in my experience that makes things break more often than not in that kind of setup.

Another option is to use netmap as the action, you just need to feed it a full subnet(including broadcast and network IPs), so make sure none of those addresses are in use, and it will work well for that. In my experience it will loop through the subnet until each private IP is mapped to a public.