Hi,
I mentioned in my previous post, use "access address-assignment pool" for subscriber use.
Your network "172.17.20.0/24" for range 172.17.222.2 ~ 172.17.222.254 is incorrect.
Your correct network should be 172.17.222.0/24 to get 172.17.222.1 ~ 172.17.222.254 range or 254 host address.
The last address network range will take precedence over the previous one when you set the the same pool name.
You should aviod doing that and use linked pool.
In order to bind the network address ranges, create different pool name and then link them using "link" knob to the pool chain for a continuous address space. For example, return the framed-pool name "TestAddPool1" from radius and MX will allocate address from TestAddPool1. Once the TestAddPool1 addresses are fully utilized and as more subscriber logs in, MX will allocate address from linked pool called TestAddPool2.
You don't require to return TestAddPool2 from radius at this point. So just return "TestAddPool1" from radius and MX will allocate the address from main pool "TestAddPool1" followed by linked pool "TestAddPool2" when TestAddPool1 is full. You can also create another pool "TestAddPool3" and link it to "TestAddPool2" so that when TestAddPool2 is full, addresses from TestAddPool3 will be picked.
re0# show access address-assignment pool TestAddPool1 | display set
set access address-assignment pool TestAddPool1 link TestAddPool2
set access address-assignment pool TestAddPool1 family inet network 172.17.20.0/24
set access address-assignment pool TestAddPool1 family inet range main low 172.17.20.2
set access address-assignment pool TestAddPool1 family inet range main high 172.17.20.254
re0# show access address-assignment pool TestAddPool2 | display set
set access address-assignment pool TestAddPool2 family inet network 172.17.222.0/24
set access address-assignment pool TestAddPool2 family inet range main low 172.17.222.2
set access address-assignment pool TestAddPool2 family inet range main high 172.17.222.254
And ofcourse, if you want to certain set of subscribers with different network range, you can simply return the specfic pool name from radius accordingly.