<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi all,<br><br>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. <br><br>Here is the configuration.<br><br>relay agent subnet is like below.<br><br>subnet 10.161.0.0 netmask 255.255.240.0 {<br>        option routers 10.161.0.1 ;<br>}<br><br>And I am trying to allocate the IP from the below pool range.<br><br>subnet 10.160.128.0 netmask 255.255.224.0 {<br>        option routers 10.160.128.1 ;<br>        pool {<br>                max-lease-time
 36000;<br>                range 10.160.136.1 10.160.139.254;<br>                allow members of "SHKODER-CM";<br>        }<br>}<br><br>I have also defined the class like this.<br><br>class  "SHKODER-CM" {<br>        lease limit 0;<br>        match if (binary-to-ascii(10,8, ".", packet(24,4)) ="10.161.0.1");<br>}<br><br><br>But My dhcp server is not giving IP and saying no free lease. Please let me know the solution.<br><br>Thanks in advance,<br>Neeraj jain<br><br><br><br>What i am trying to do is allocated the IP from the different subnet <br></td></tr></table>