different devices getting the same ip address
dorian
dorian33 at o2.pl
Tue Dec 13 14:52:05 UTC 2011
Hi all.
I have same problem and static leases are not a solution for me since
the dhcp server is used in hot-spot installation.
I have only 1 dhcp server offering IPs from 172.16.0.0/14 class (which
gives 262142 hosts/net)
Since I am registering (with another tools) all the IPs in the network I
know that there number of different IPs assigned (whenever) by DHCP
server is only 30924 which is significantly less than theoretically
possible 262142.
I have around 1000 users per day at the hotspot system. Some of them are
the same users some are 'accidental' ones.
The config lease times are following:
default-lease-time 86400;
max-lease-time 86400;
which means 24h
Since working hours of the hostpot are 8:00 - 22:00 and lease time is
24h and the number of users is ~1000/day I do not understand why
sometimes a host obtains IP address being in use.
Any ideas?
BTW: the current dhcpd.leases file contains 503007 entries (entries not
lines)!
Does it mean the file contains whole 'history' of the leases whenever
given? What for?
Full dhcpd.conf is following:
---------------------------------------------------------
ddns-update-style none;
log-facility local7;
lease-file-name "/var/log/dhcpd/dhcpd.leases";
#--------- 172.16.0.0/14----------------------------
subnet 172.16.0.0 netmask 255.252.0.0 {
authoritative;
option subnet-mask 255.252.0.0;
option routers 172.16.0.1;
option domain-name-servers 10.2.0.1;
option interface-mtu 1450;
# lease time = 24h
default-lease-time 86400;
max-lease-time 86400;
range 172.16.8.0 172.19.255.254;
##-- 172.16.8.0 - all below are reserved for static addresses
}
host aaaaaaa1 {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 172.16.0.2;
}
host aaaaaaa2 {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 172.16.0.3;
}
host aaaaaaa3 {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 172.16.0.4;
}
host aaaaaaa4 {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 172.16.0.5;
}
host aaaaaaa5 {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 172.16.0.6;
}
host aaaaaaa6 {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 172.16.0.7;
}
host aaaaaaa7 {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 172.16.0.8;
}
host aaaaaaa8 {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 172.16.0.9;
}
host aaaaaaa9 {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 172.16.0.10;
}
host aaaaaaa10 {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 172.16.0.11;
}
Rgds,
Dorian.
Brad Bendily wrote:
> You could try to assign them static IPs via their MAC address.
> Hopefully you don't have too many of them.
>
> bb
>
>
>
>> -----Original Message-----
>> From: dhcp-users-bounces+brad.bendily=la.gov at lists.isc.org
>> [mailto:dhcp-users-bounces+brad.bendily=la.gov at lists.isc.org]
>> On Behalf Of Tom De Moor (VCLB Gent)
>> Sent: Wednesday, November 30, 2011 2:52 AM
>> To: dhcp-users at lists.isc.org
>> Subject: different devices getting the same ip address
>>
>> Hi,
>> i m having the following problem:
>> multiple Samsung Galaxy* *Gio get the same ip from our dhcp-server.
>> How can i resolve this?
>>
>> Tom
>>
>> My dhcpd.conf is
>>
>> subnet 10.10.0.0 netmask 255.255.0.0 {
>> range 10.10.2.1 10.10.5.254;
>> option domain-name-servers 10.10.1.2;
>> option domain-name "vclbgent.be";
>> option routers 10.10.1.2;
>> default-lease-time 7200;
>> max-lease-time 7200;
>> deny duplicates;
>> }
>>
>>
>> In the leases file is see
>> lease 10.10.2.182 {
>> starts 3 2011/11/30 08:02:04;
>> ends 3 2011/11/30 08:36:54;
>> tstp 3 2011/11/30 08:36:54;
>> cltt 3 2011/11/30 08:02:04;
>> binding state free;
>> hardware ethernet 18:46:17:6d:dd:be;
>> uid "\000K";
>> }
>>
>> lease 10.10.2.182 {
>> starts 3 2011/11/30 08:41:04;
>> ends 3 2011/11/30 10:41:04;
>> cltt 3 2011/11/30 08:41:04;
>> binding state active;
>> next binding state free;
>> hardware ethernet 18:46:17:6d:dd:3e;
>> uid "\000K";
>> }
>>
>> In the logfiles i get
>> Nov 30 07:59:25 the-oracle dhcpd: client 18:46:17:6d:dd:52
>> has duplicate leases on 10.10.0.0/16 Nov 30 08:53:21
>> the-oracle dhcpd: client cc:f9:e8:12:76:50 has duplicate
>> leases on 10.10.0.0/16 Nov 30 09:02:04 the-oracle dhcpd: uid
>> lease 10.10.2.242 for client 18:46:17:6d:dd:be is duplicate
>> on 10.10.0.0/16 Nov 30 09:36:54 the-oracle dhcpd: client
>> cc:f9:e8:12:76:50 has duplicate leases on 10.10.0.0/16
>>
>>
>>
>>
>> _______________________________________________
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>
>>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
More information about the dhcp-users
mailing list