IP address range

Simon Hobson dhcp1 at thehobsons.co.uk
Mon Jul 27 20:22:28 UTC 2009


sthaug at nethelp.no wrote:
>  > Lets say a relay agent is sitting on 10.31.3.10 and we want to issue
>>  172.16.0.0/16 addresses to all clients requesting an IP, how would one
>>  set that up. We can assume that the dhcp server is on 10.31.3.1
>>
>>  if i put in the following:
>>  subnet 172.16.0.0 netmask 255.255.0.0 {
>
>--->>  option routers 10.31.3.10;
>
>>       pool {
>>          range 172.16.0.1 172.16.255.254
>>       }
>>  }
>>
>>  then when I get the relayd req from 3.10 then dhcp says there is no
>>  network configured for 3.10 (unknown network segment).
>
>Insert the line with "option routers 10.31.3.10" and you're in
>business.

That will not fix it - the DHCP server will still NOT give an IP 
address to the client. The server MUST be able to associate the relay 
agent address with a subnet, which means that the relay agent address 
MUST be within a subnet that either hosts the client or is in a 
shared network with the client.



Glen R. J. Neff wrote:

>The relay agent would need to sit on the 172.16.0.0/24 network and
>specify your server at 10.31.3.1 which would host the scope for
>172.16.0.0/24.

Oh bother - I'd missed the detail that the relay agent address given 
was on teh same subnet as the server.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the dhcp-users mailing list