Is there a way to automaticly add all subnets’ scopes to the DHCP pool.
I mean, I need a class C network subnetted to have 32 subnets. Its mask is 255.255.255.248.
I guess I would have to manually create pool’s for every network?
Like
subnet1 address range 192.168.1.1-192.168.1.6
subnet2 192.168.1.9-192.168.1.14
same thing with network part.
Is there some kind of script that can fill all the info for me?
I am not sure why you want to do that, but just so you know:
If those subnets are going to access the internet, you will need a gateway IP in each of those netmask ranges. That is 32 gateways if all are separate ranges.
It will also require a broadcast address for each. Another 32 IPs.
If the purpose is to isolate each set of computers from the other, maybe a firewall setting would work better than subnets.