You could configure DHCP server on your ROS device and use DHCP on your local machines. You can also make your DHCP leases static so your machines will always receive the same IP.
That’s not what I mean. I don’t want a public IP on the local machine, I want it on the router, but everytime a local machine wants to communicate over internet it should use an IP from PUBLIC IP range on port ether2.
You configure your routerboard’s ether2 interface as 1.1.2.1/29 and your computers with 1.1.2.2/29 - 1.1.2.6/29 (netmask is 255.255.255.248) using 1.1.2.1 as gateway and 1.1.2.7 as broadcast ip.