Getting IP range for different network

Abu Abdulla alhanbali montaqa at gmail.com
Thu Aug 30 03:57:56 UTC 2007


Thanks Simon it works fine with me using the shared networks.
this is what i have done:

-----------

class "data" {match if substring (option vendor-class-identifier, 0, 6) =
"docsis";}
class "voip" { match if substring (option dhcp-client-identifier, 1, 3) =
00:10:6d; }

shared-network dana
{
    subnet 172.19.0.0 netmask 255.255.255.0
    {
        option routers 172.19.0.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 172.19.0.255;
        max-lease-time 5;
        default-lease-time 5;
        pool
        {
            allow members of "data";
            deny members of "voip";
            range 172.19.0.4 172.19.0.254;
        }
    }

    subnet 10.0.1.0 netmask 255.255.255.0
    {
        option routers 10.0.1.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.0.1.255;
        max-lease-time 1814400;
        default-lease-time 1814400;
        pool
        {
            allow members of "voip";
            deny members of "data";
            range 10.0.1.4 10.0.1.254;
        }
    }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20070830/e8141320/attachment.html>


More information about the dhcp-users mailing list