IP Pool

Hi All,

I want to know if it is possible to create a full class A, B or C in the private range in ip pool.

I check the manual, it is not clear if we can do it if it is availabe as a feature.


/ip pool> add ranges=

Ranges ::= Range[,Ranges] (max 100 times)
Range ::= A.B.C.D[-A.B.C.D |0..32 |/A.B.C.D ] (IP address range)


[zaherhamiyah@test] /ip pool> add ranges=192.168.0.1/16-192.168.10.254/16
value of range must have ip address before ‘-’

So, is it:
1- add ranges=192.168.0.1/16-192.168.10.254/16 (gave error as above)
2- add ranges=192.168.0.0/16 (not sure if it will work)
3- add ranges=192.168.0.1-192.168.0.254,192.168.1.0-192.168.1.254 (again not sure about this one also)


Any Ideas?

Thanks.

You can use a list of ranges or subnets. So e.g. ****

192.168.0.0/16,172.16.0.0-172.31.255.255

should be possible and the result should be equal to

192.168.0.0-192.168.255.255,172.16.0.0/12

. It is a comma-separated list, and each item on the list may be either a prefix (both

192.168.0.0/24

and

192.168.0.0/255.255.255.0

should be permitted) or a range (

192.168.0.0-192.168.0.255

). A range of subnets doesn’t make sense, a list of subnets does.