Copied Wiki example in router:
/ip firewall nat add chain=dstnat dst-address=11.11.11.1-11.11.11.254 \
action=netmap to-addresses=2.2.2.1-2.2.2.254
/ip firewall nat add chain=srcnat src-address=2.2.2.1-2.2.2.254 \
action=netmap to-addresses=11.11.11.1-11.11.11.254
Feedback:
/ip firewall nat add chain=dstnat dst-address=11.11.11.1-11.11.11.254 \
\... action=netmap to-addresses=2.2.2.1-2.2.2.254
failure: netmap action requires to-address be whole network
[adminrudy@RB1000 WAN Gateway] >
[adminrudy@RB1000 WAN Gateway] > /ip firewall nat add chain=srcnat src-address=2.2.2.1-2.2.2.254 \
\... action=netmap to-addresses=11.11.11.1-11.11.11.254
failure: netmap action requires to-address be whole network
Conclusion: Correction needed in Manual! Need to work with /24 setting.
Tried also with real life networks and by adding data in winbox. Results are all the same. Only /24 networks work.