Host declarations in different ranges within the same subnet

Marcio Merlone marcio.merlone at a1.ind.br
Tue Jun 12 16:07:45 UTC 2012


Hi all,

Quick and dirty question: is it possible to have host declarations with 
different ranges within the same subnet like this?

shared-network foo{
     subnet 10.0.0.0 netmask 255.255.255.0 {

         group {
             option routers 10.0.0.*100*;
             option blah;
             pool {
                 range 10.0.0.*1* 10.0.0.*10*;
             }
             host bar1 { hardware-ethernet 00:00:00:00:00:01; }
             host bar2 { hardware-ethernet 00:00:00:00:00:02; }
         }

         group {
             option routers 10.0.0.*200*;
             option argh;
             pool {
                 range 10.0.0.*11* 10.0.0.*20*;
             }
             host bar3 { hardware-ethernet 00:00:00:00:00:03; }
             host bar4 { hardware-ethernet 00:00:00:00:00:04; }
         }

     }

     subnet 10.1.1.0 netmask 255.255.255.0 {
         ....
     }
}

Will it work as expected? Haven't tested yet, would like to have some 
insights about it first and could not find a way to google for it.

Thanks and best regards.

-- 
*Marcio Merlone*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120612/97539bf8/attachment.html>


More information about the dhcp-users mailing list