How to Creating 500 hot ip Address

I want to have an idea that , am planing hotspot wireless system in my town , but i want create a subnet can can have at least 500 host .

Setting up that many IP’s is easy /23 is 510 hosts and /22 is 1022 hosts. But setting it up with the proper hardware is whats important.

i am planing to use cisco router and pfsense firewall for captive portal , where use will buy a voucher code .