Getting IP range for different network

Frank Bulk frnkblk at iname.com
Thu Aug 30 04:17:52 UTC 2007


Can I ask why you want to assign your VoIP CM's different IPs?  

 

Frank

 

From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On Behalf
Of Abu Abdulla alhanbali
Sent: Wednesday, August 29, 2007 10:58 PM
To: dhcp-users at isc.org
Subject: Re: Getting IP range for different network

 

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  <http://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/20070829/2685dfbe/attachment.html>


More information about the dhcp-users mailing list