IP address range

Chuck Anderson cra at WPI.EDU
Tue Jul 28 19:08:34 UTC 2009


On Tue, Jul 28, 2009 at 09:01:42PM +0200, Jason Penton wrote:
> Hi Glen,
> 
> the problem is that I have no control over this device and the requests that
> arrive at dhcpd are from its 10.31.3 address and I get the following:
> 
> DHCPDISCOVER from 00:XX:XX:XX:XX:XX via 10.31.3.50: network 10.31.3.0/24: no
> free leases
> 
> Is there anything I can do on my side?

Assuming you never need to assign addresses in 10.31.3.0/24, this 
should work:

shared-network Broken-Huawei {
	subnet 10.31.3.0 netmask 255.255.255.0 { }

	subnet 172.16.0.0 netmask 255.255.0.0 {
		... etc ...
	}

}

shared-network tells dhcpd to treat requests from all the enclosed 
subnets as equivalent, and assign an address in any of them.  If you 
only have pool/range/fixed-address statements that refer to 172.16, 
then only that will get used.



More information about the dhcp-users mailing list