[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dhcp-users
Subject:    Re: isc-dhcp server
From:       perl-list <perl-list () network1 ! net>
Date:       2015-04-27 13:19:45
Message-ID: 456122967.983665.1430140785353.JavaMail.zimbra () network1 ! net
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Probably going to need some log messages of a device that changes IPs before the end \
of the lease. Probably should include logs from the start of the original lease, and \
the time period that the IP changes. 

Wouldn't hurt to also throw in the lease info from the dhcpd.leases file for the \
original IP and the changed IP. 

> From: "Samuel Motta" <samuel@apoiotatico.com.br>
> To: dhcp-users@lists.isc.org
> Sent: Friday, April 24, 2015 4:52:00 PM
> Subject: isc-dhcp server

> Hi everybody!
> I īm using isc-dhcp-server version 4.2.2 on two servers (same version on both
> servers and fail-over peers)
> But , I īm having problems with the address that changes before expiration time
> of the lease.
> For example an android cell phone with the MAC Address f8:f1:b6:92:3d:e8 was
> with the IP 192.168.0.103 with the initial lease time 2015/03/23 and end lease
> time 2015/04/22.

> At 2015/03/25 the IP changed to 192.168.0.105 at both servers with initial lease
> time 2015/03/25 and end lease time 2015/04/24.

> It don īt happens everytime, but sometimes it happens and with different clients.
> My /mnt/dhcp/subnet file and /mnt/dhcp/hosts are available on both servers.
> What īs wrong on my configuration files?

> Follow my primary server dhcpd.conf

> ddns-update-style none;
> interfaces="eth0";
> authoritative;
> log-facility local7;
> failover peer "dhcp-failover" {
> primary;
> address 192.168.0.3;
> port 647;
> peer address 192.168.0.2;
> peer port 648;
> max-response-delay 60;
> max-unacked-updates 10;
> load balance max seconds 3;
> mclt 3600;
> split 128;
> }
> include "/mnt/dhcp/subnet";
> include "/mnt/dhcp/hosts";

> and my secondary server dhcpd.conf

> ddns-update-style none;
> authoritative;
> log-facility local7;
> failover peer "dhcp-failover" {
> secondary;
> address 192.168.0.2;
> port 648;
> peer address 192.168.0.3;
> peer port 647;
> max-response-delay 60;
> max-unacked-updates 10;
> load balance max seconds 3;
> }
> include "/mnt/dhcp/subnet";
> include "/mnt/dhcp/hosts";

> here my /mnt/dhcp/subnet file

> subnet 192.168.0.0 netmask 255.255.255.0 {
> option domain-name-servers 192.168.0.4, 192.168.0.254, 192.168.0.253;
> option netbios-name-servers 192.168.0.4 ;
> option routers 192.168.0.254;
> option broadcast-address 192.168.0.255;
> pool {
> failover peer "dhcp-failover";
> default-lease-time 3888000;
> max-lease-time 3888000;
> range 192.168.0.11 192.168.0.200;
> }
> }

> here my /mnt/dhcp/hosts file

> host plasma-eth {
> hardware ethernet 00:e0:4b:24:e8:02;
> fixed-address 192.168.0.235;
> }

> My best regards,

> Samuel Motta.

> _______________________________________________
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


[Attachment #5 (text/html)]

<html><body><div style="font-family: Andale Mono; font-size: 10pt; color: \
#000000"><div style="font-family: Andale Mono; font-size: 10pt; color: #000000;" \
data-mce-style="font-family: Andale Mono; font-size: 10pt; color: #000000;">Probably \
going to need some log messages&nbsp;of a device that changes IPs before the end of \
the lease. &nbsp;Probably should include logs from the start of the original lease, \
and the time period that the IP changes.</div><div style="font-family: Andale Mono; \
font-size: 10pt; color: #000000;" data-mce-style="font-family: Andale Mono; \
font-size: 10pt; color: #000000;"><br data-mce-bogus="1"></div><div \
style="font-family: Andale Mono; font-size: 10pt; color: #000000;" \
data-mce-style="font-family: Andale Mono; font-size: 10pt; color: #000000;">Wouldn't \
hurt to also throw in the lease info from the dhcpd.leases file for the original IP \
and the changed IP.<br><br><hr id="zwchr" data-marker="__DIVIDER__"><div \
data-marker="__HEADERS__"><blockquote style="border-left: 2px solid #1010FF; \
margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: \
normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: \
12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; \
padding-left: 5px; color: #000; font-weight: normal; font-style: normal; \
text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: \
12pt;"><b>From: </b>"Samuel Motta" &lt;samuel@apoiotatico.com.br&gt;<br><b>To: \
</b>dhcp-users@lists.isc.org<br><b>Sent: </b>Friday, April 24, 2015 4:52:00 \
PM<br><b>Subject: </b>isc-dhcp server<br></blockquote></div><div \
data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; \
margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: \
normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: \
12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; \
padding-left: 5px; color: #000; font-weight: normal; font-style: normal; \
text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: \
12pt;"><div dir="ltr">Hi everybody!<br><div>I īm using isc-dhcp-server version 4.2.2 \
on two servers (same version on both servers and fail-over peers)</div><div>But , I \
īm having problems with the address that changes before expiration time of the \
lease.<br></div><div>For example an android cell phone with the MAC Address \
f8:f1:b6:92:3d:e8 was with the IP 192.168.0.103 with the initial lease time \
2015/03/23 and end lease time 2015/04/22.<br></div><br><div>At 2015/03/25 the IP \
changed to 192.168.0.105 &nbsp;at both servers with initial lease time 2015/03/25 and \
end lease time 2015/04/24.</div><br><div>It don īt happens everytime, but sometimes \
it happens and with different clients.</div><div>My /mnt/dhcp/subnet file and \
/mnt/dhcp/hosts are available on both servers.</div><div>What īs wrong on my \
configuration files?<br></div><br><div>Follow my primary server \
dhcpd.conf</div><br><div><div>ddns-update-style \
none;</div><div>interfaces="eth0";<br></div><div>authoritative;<br></div><div>log-facility \
local7;<br></div><div>failover peer "dhcp-failover" {<br></div><div>&nbsp; &nbsp; \
&nbsp; &nbsp; primary;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; address \
192.168.0.3;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; port 647;</div><div>&nbsp; &nbsp; \
&nbsp; &nbsp; peer address 192.168.0.2;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; peer \
port 648;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; max-response-delay \
60;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; max-unacked-updates 10;</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; load balance max seconds 3;</div><div>&nbsp; &nbsp; &nbsp; \
&nbsp; mclt 3600;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; split \
128;</div><div>}</div><div>include "/mnt/dhcp/subnet";<br></div><div>include \
"/mnt/dhcp/hosts";</div></div><br><br><br><div>and my secondary server \
dhcpd.conf</div><br><div><div>ddns-update-style \
none;</div><div>authoritative;<br></div><div>log-facility \
local7;<br></div><div>failover peer "dhcp-failover" {<br></div><div>&nbsp; &nbsp; \
&nbsp; &nbsp; secondary;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; address \
192.168.0.2;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; port 648;</div><div>&nbsp; &nbsp; \
&nbsp; &nbsp; peer address 192.168.0.3;<br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
peer port 647;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; max-response-delay \
60;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; max-unacked-updates 10;</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; load balance max seconds 3;</div><div>}</div><div>include \
"/mnt/dhcp/subnet";<br></div><div>include \
"/mnt/dhcp/hosts";</div></div><br><br><br><div>here my /mnt/dhcp/subnet &nbsp; file \
&nbsp;</div><br><div><div>subnet 192.168.0.0 netmask 255.255.255.0 {</div><div>&nbsp; \
option domain-name-servers 192.168.0.4, 192.168.0.254, \
192.168.0.253;</div><div>&nbsp; option netbios-name-servers 192.168.0.4 \
;</div><div>&nbsp; option routers 192.168.0.254;</div><div>&nbsp; option \
broadcast-address 192.168.0.255;</div><div>&nbsp; pool {</div><div>&nbsp; &nbsp; \
&nbsp; &nbsp; failover peer "dhcp-failover";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
default-lease-time 3888000;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; max-lease-time \
3888000;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; range 192.168.0.11 \
192.168.0.200;</div><div>&nbsp; }</div><div>}</div></div><br><br><div>here my \
/mnt/dhcp/hosts &nbsp; file</div><br><div><div>host plasma-eth {</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; hardware ethernet 00:e0:4b:24:e8:02;</div><div>&nbsp; &nbsp; \
&nbsp; &nbsp; fixed-address 192.168.0.235;</div><div>}</div></div><br><br><div>My \
best regards,</div><br><div>Samuel Motta.</div><br></div> \
<br>_______________________________________________<br>dhcp-users mailing \
list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote></div></div><br></div></body></html>




_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic