<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MQX 4.2.0.2 DHCP client lease renewal issue in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-0-2-DHCP-client-lease-renewal-issue/m-p/728563#M17641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="36710" data-username="kfranz" href="https://community.nxp.com/people/kfranz"&gt;kfranz&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you check the following link, a similar issue about DHCP client.&amp;nbsp; Maybe you can try the customer's solution to see whether it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/470946"&gt;TCPIP Event timing error in MQX 4.2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 00:18:57 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2018-03-21T00:18:57Z</dc:date>
    <item>
      <title>MQX 4.2.0.2 DHCP client lease renewal issue</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-0-2-DHCP-client-lease-renewal-issue/m-p/728560#M17638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a customer that has captured Wireshark data showing that the DHCP lease is expiring. Investigation has determined the cause is in .\Freescale_MQX_4_2\rtcs\source\tcpip\dhcpclnt.c\DHCPCLNT_service_ack(). Normally the lease is renewed at 1/2 the lease interval. When the device receives the ack to the renewal request it gets a lease period which is shorter than the current lease period. Because of this, the DHCP client decides to let the lease to expire.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the new lease is less than the old lease why does the DHCP client decide it should not renew the lease?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug? If so, how should I fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//example&lt;/P&gt;&lt;P&gt;dhcp_ptr-&amp;gt;NEW_DATA.LEASE = 10800; //ie 3 hours&lt;/P&gt;&lt;P&gt;dhcp_ptr-&amp;gt;DATA.LEASE = 14400; //ie. 4 hours&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DHCPCLNT_service_ack()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dhcp_ptr-&amp;gt;NEW_DATA.LEASE &amp;lt; dhcp_ptr-&amp;gt;DATA.LEASE) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Our request was refused, wait for termination to bind again */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renew_again = FALSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }/* Endif */&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 22:36:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-0-2-DHCP-client-lease-renewal-issue/m-p/728560#M17638</guid>
      <dc:creator>kfranz</dc:creator>
      <dc:date>2017-12-18T22:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4.2.0.2 DHCP client lease renewal issue</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-0-2-DHCP-client-lease-renewal-issue/m-p/728561#M17639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kfranz:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems the DHCP server does not wish to renew the current lease, then only the terminate event will be set for the remainder of the lease. wait for termination to bind again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 14:29:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-0-2-DHCP-client-lease-renewal-issue/m-p/728561#M17639</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-01-29T14:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4.2.0.2 DHCP client lease renewal issue</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-0-2-DHCP-client-lease-renewal-issue/m-p/728562#M17640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you saying that since the lease period has changed, that means the DHCP server does not want to renew the current lease? I thought the DHCP server is allowed to change the lease period as a part of the lease renewal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 16:50:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-0-2-DHCP-client-lease-renewal-issue/m-p/728562#M17640</guid>
      <dc:creator>kfranz</dc:creator>
      <dc:date>2018-01-29T16:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4.2.0.2 DHCP client lease renewal issue</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-0-2-DHCP-client-lease-renewal-issue/m-p/728563#M17641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="36710" data-username="kfranz" href="https://community.nxp.com/people/kfranz"&gt;kfranz&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you check the following link, a similar issue about DHCP client.&amp;nbsp; Maybe you can try the customer's solution to see whether it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/470946"&gt;TCPIP Event timing error in MQX 4.2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 00:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-0-2-DHCP-client-lease-renewal-issue/m-p/728563#M17641</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-03-21T00:18:57Z</dc:date>
    </item>
  </channel>
</rss>

