<html><body><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><div>They are flopping with every reboot.  The two addresses are not necessarily coming from different members of the failover pair.  The specific example packet capture we did with test equipment at the customer site both addresses came from the same device (DHCP-1).</div><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;"><b>From: </b>"Patrick Trapp" <ptrapp@nex-tech.com><br><b>To: </b>"Users of ISC DHCP" <dhcp-users@lists.isc.org><br><b>Sent: </b>Thursday, February 26, 2015 2:54:28 PM<br><b>Subject: </b>RE: Cisco ASR 9006 – IOS XR 5.1.3 with DHCP Proxy = address flopping<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;">


<style id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>


<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Is it flopping with every reboot?<br>
<br>
Are they getting the different addresses from the different members of the failover pair?  That is, is x.x.x.12 coming from DHCP-1 while x.x.x.42 is provided by DHCP-2?<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr>
<div style="direction: ltr;" id="divRpF222718"><span color="#000000" face="Tahoma" size="2" data-mce-style="color: #000000; font-family: Tahoma; font-size: small;" style="color: #000000; font-family: Tahoma; font-size: small;"><b>From:</b> dhcp-users-bounces@lists.isc.org [dhcp-users-bounces@lists.isc.org] on behalf of perl-list [perl-list@network1.net]<br>
<b>Sent:</b> Thursday, February 26, 2015 11:52 AM<br>
<b>To:</b> Users of ISC DHCP<br>
<b>Subject:</b> Cisco ASR 9006 – IOS XR 5.1.3 with DHCP Proxy = address flopping<br>
</span><br>
</div>

<div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">Folks,</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">A customer of mine has a problem where if a user device discovers due to reboot or whatever, they will not get the same IP they had previously (even tho current lease is still active).</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">Scenario:</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">1) Reboot device - release / discover / offer / request / ack - get ip x.x.x.12</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">2) renews happen no problem - lease still active.</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">3) reboot device - release / discover / offer / request / ack - get ip x.x.x.42</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">4) renews happen no problem - lease still active.</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">5) reboot device - release / discover / offer / request / ack - get ip x.x.x.12 (note that it went back to the original IP).</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">
<div style="font-size:10pt">6) renews happen no problem - lease still active.</div>
<div style="font-size:10pt"><br>
</div>
<div style="font-size:10pt">7) reboot device - release / discover / offer / request / ack - get ip x.x.x.42 (note that it went back to IP obtained in step 3 above).</div>
<div><br>
</div>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">Specifics:</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">This configuration is with a Cisco 9k router with DHCP Proxy as noted by their network admin:</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">"Cisco ASR 9006 – IOS XR 5.1.3<br>
We are using sub-interfaces configured with IP unnumbered pointing to loopback which contains all dynamic pools.<br>
DHCP Proxy is a profile type created within the DHCP configuration and is configured to point to the DHCP servers. This profile is applied to each sub-interface. Proxy is also responsible for host route management."</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">What we have observed is the the Cisco with DHCP Proxy is sending a Release before sending the discover (please note that the client DID NOT send a release).  I don't know if that has anything
 to do with it or not.</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">Also - there are two DHCP servers in a failover pair.  Each running 4.2.5-P1.  According to documentation that we have found (and what i've always understood), they should get the same address
 again.  The customer does not want the address to flop like this as it is causing other problems.  I am at a loss as to why this is happening.  </div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">It should also be noted that we have a packet capture from both sides of the router and that there doesn't really seem to be any difference in the packet content (aside from the added release
 packet that was never sent by the client device).  Actually, there  was one thing that I was unsure about from the packet capture.. the release packet had the same transaction ID as the subsequent discover / offer / request / ack packets according to Wireshark.
  I don't know if that is a problem or not, however.</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">Also - the client device (a modem / router) is not sending the Client Identifier option (nor is the Cisco inserting it).</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">Cisco tells them that the release sent before the discover is a feature of DHCP Proxy and cannot be changed.</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">They cannot use normal DHCP relay (ip helper address x.x.x.x;) due to their network configuration (or so Cisco said).</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">This whole thing was not previously a problem when they had a Cisco 10k router using normal DHCP relay.</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000"><br>
</div>
<div style="font-family:Andale Mono; font-size:10pt; color:#000000">Thoughts as to this address flopping?  Anyway to stop it?</div>
</div>
</div>
</div>
</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>