expanding my ip pools

Leandro ingrogger at gmail.com
Wed Nov 18 16:24:50 UTC 2015


Hy guys, I would like to ask about how to expand my pool.
So far I have a setting working ok, but I need to add a new prefix wich 
is not continuos and does not include the ip source of the dhcp requests.

Requests came from ip 10.10.0.11.
I need to add two segments:
10.10.96.0 /21
10.10.104.0 /21

And here is my current share network setting:

shared-network Public {
     subnet 10.10.0.0 netmask 255.255.240.0 {

         #10.10.1.0/24
         pool {
             range 10.10.1.2 10.10.1.254;
             option broadcast-address 10.10.1.255;
             option subnet-mask 255.255.255.0;
             option routers 10.10.1.1;
         }

         #10.10.2.0/23
         pool {
             range 10.10.2.2 10.10.3.254;
             option broadcast-address 10.10.3.255;
             option subnet-mask 255.255.254.0;
             option routers 10.10.2.1;
         }

         #10.10.4.0/22
         pool {
             range 10.10.4.2 10.10.7.254;
             option broadcast-address 10.10.7.255;
             option subnet-mask 255.255.252.0;
             option routers 10.10.4.1;
         }

         #10.10.8.0/21
         pool {
             range 10.10.8.2 10.10.15.254;
             option broadcast-address 10.10.15.255;
             option subnet-mask 255.255.248.0;
             option routers 10.10.8.1;
         }
     }
}


######################################3
This is what Im planning to do:

shared-network Public {
     subnet 10.10.0.0 netmask 255.255.240.0 {

         #10.10.1.0/24
         pool {
             range 10.10.1.2 10.10.1.254;
             option broadcast-address 10.10.1.255;
             option subnet-mask 255.255.255.0;
             option routers 10.10.1.1;
         }

         #10.10.2.0/23
         pool {
             range 10.10.2.2 10.10.3.254;
             option broadcast-address 10.10.3.255;
             option subnet-mask 255.255.254.0;
             option routers 10.10.2.1;
         }

         #10.10.4.0/22
         pool {
             range 10.10.4.2 10.10.7.254;
             option broadcast-address 10.10.7.255;
             option subnet-mask 255.255.252.0;
             option routers 10.10.4.1;
         }

         #10.10.8.0/21
         pool {
             range 10.10.8.2 10.10.15.254;
             option broadcast-address 10.10.15.255;
             option subnet-mask 255.255.248.0;
             option routers 10.10.8.1;
         }
     }
                                             #####this is what I would add:
     subnet 10.10.96.0 netmask 255.255.240.0 {

         #10.10.96.0/21
         pool {
             range 10.10.96.2 10.10.103.254;
             option broadcast-address 10.10.103.255;
             option subnet-mask 255.255.248.0;
             option routers 10.10.96.1;
         }

         #10.10.104.0/21
         pool {
             range 10.10.104.2 10.10.104.254;
             option broadcast-address 10.10.111.255;
             option subnet-mask 255.255.248.0;
             option routers 10.10.104.1;
         }


     }

}

My concern is that the request ip source is not included in those 
segments , but should be enought that new segments are declared under a 
shared network statement.
Other question is , after add those lines and restart service , already 
granted ips will be released ?
Thanks for you wisdom.
Leandro.







More information about the dhcp-users mailing list