[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: subnet change & dhcp (bug ?)



On Sat, Sep 12, 2015 at 09:25:21AM +0200, Giorgio Pioda wrote:
> I suspect that the IP leases are insufficient. Checking in the
> /var/lib/dhcp/dhcpd.leases I see only 10.164.89.xxx leases.
> 
> Looking into LDAP (section 79 in LDIF) I see that the dhcpRange
> is set (wrongly?) to 10.164.89.1 10.164.89.254.

This is the dynamic range, not the whole one.

> I had expected a dhcpRange from 10.164.88.1 to 10.164.89.254. Isn't 
> it?

The whole DHCP range should be like that.
 
> And after seeing this I ask to myself how it is possible that the
> fixed WS all of them in the range 10.164.88.1-10.164.88.100
> are perfectly working, with correct IP dynamically assigned
> via MAC address.

Because the DHCP subnet 10.164.88.0/23 is configured for static IPs 
ranging from 10.164.88.1 up to 10.164.88.254 (everything non dynamic).
 
> Do I have to modify dhcpRange ? (I guess yes)

Use ldapvi to let the dynamic range start earlier, maybe 10.164.88.101 
instead of 10.164.89.1. The static range would end at 10.164.88.100 in 
this case.

Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: