IP allocatoion from different subnet

neeraj jain neerajjain_iet at yahoo.com
Thu Jun 2 15:48:51 UTC 2011


Hi all,

I have different sub net is configured in my dhcp server. I have a sub net based on my relay agent IP but no IP pool defined in it. When request is coming from the relay agent subnet, I am tring to allocate the IP from different sub net but not successful. 

Here is the configuration.

relay agent subnet is like below.

subnet 10.161.0.0 netmask 255.255.240.0 {
        option routers 10.161.0.1 ;
}

And I am trying to allocate the IP from the below pool range.

subnet 10.160.128.0 netmask 255.255.224.0 {
        option routers 10.160.128.1 ;
        pool {
                max-lease-time 36000;
                range 10.160.136.1 10.160.139.254;
                allow members of "SHKODER-CM";
        }
}

I have also defined the class like this.

class  "SHKODER-CM" {
        lease limit 0;
        match if (binary-to-ascii(10,8, ".", packet(24,4)) ="10.161.0.1");
}


But My dhcp server is not giving IP and saying no free lease. Please let me know the solution.

Thanks in advance,
Neeraj jain



What i am trying to do is allocated the IP from the different subnet 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110602/67eed886/attachment.html>


More information about the dhcp-users mailing list