<?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 09.xx DHCP server issues duplicate leases when using static-ip-mapping in ICX Switches</title>
    <link>https://community.ruckuswireless.com/t5/ICX-Switches/09-xx-DHCP-server-issues-duplicate-leases-when-using-static-ip/m-p/39608#M2885</link>
    <description>&lt;P style="margin: 0;"&gt;I have the DHCP pool below defined:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;PRE&gt;&lt;CODE&gt;ip dhcp-server pool untrustednetwork 192.168.80.0 255.255.255.0lease-count 20excluded-address 192.168.80.1 192.168.80.199excluded-address 192.168.80.220 192.168.80.255lease 1 0 0option domain-name-servers 192.168.255.2option routers 192.168.80.2option ntp-servers 192.168.255.1option 100 ascii EST5EDT,M3.2.0,M11.1.0option 101 ascii America/New_Yorkstatic-mac-ip-mapping 192.168.80.219 20ef.bd8a.d24fstatic-mac-ip-mapping 192.168.80.217 c83a.6b15.57b1static-mac-ip-mapping 192.168.80.218 8c49.6202.9c95static-mac-ip-mapping 192.168.80.216 0018.dd0a.0665&lt;/CODE&gt;&lt;/PRE&gt; 
&lt;P&gt;&lt;/P&gt; 
&lt;P&gt;Yesterday I started seeing random failures connecting with a new device, and after some troubleshooting realized that it had been given the address 192.168.80.218 even though it is &lt;STRONG&gt;not&lt;/STRONG&gt; the device with the MAC address in the static-mac-ip-mapping. Unfortunately I've lost the console output from the `show ip dhcp-server binding 192.168.80.218` command, but it listed the same address twice, once with the new device's MAC address and once with the static-mac-ip-mapping address.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt; 
&lt;P&gt;I then removed that address binding from the system, and rebooted the new device... and it got 192.168.80.217 assigned, which is still a duplicate. I then assumed that the pool must be 'full', and increased its size from 20 to 40 addresses, and removed the .217 binding. A reboot of the new device got a non-duplicate address, and now it works as it should.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt; 
&lt;P&gt;From what I can tell, all of the non-statically-mapped addresses in the pool had active bindings, and so when a new device requested an address, the ICX gave it one of the statically-mapped address even though it should not have.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jan 2022 11:35:20 GMT</pubDate>
    <dc:creator>kpfleming</dc:creator>
    <dc:date>2022-01-26T11:35:20Z</dc:date>
    <item>
      <title>09.xx DHCP server issues duplicate leases when using static-ip-mapping</title>
      <link>https://community.ruckuswireless.com/t5/ICX-Switches/09-xx-DHCP-server-issues-duplicate-leases-when-using-static-ip/m-p/39608#M2885</link>
      <description>&lt;P style="margin: 0;"&gt;I have the DHCP pool below defined:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;PRE&gt;&lt;CODE&gt;ip dhcp-server pool untrustednetwork 192.168.80.0 255.255.255.0lease-count 20excluded-address 192.168.80.1 192.168.80.199excluded-address 192.168.80.220 192.168.80.255lease 1 0 0option domain-name-servers 192.168.255.2option routers 192.168.80.2option ntp-servers 192.168.255.1option 100 ascii EST5EDT,M3.2.0,M11.1.0option 101 ascii America/New_Yorkstatic-mac-ip-mapping 192.168.80.219 20ef.bd8a.d24fstatic-mac-ip-mapping 192.168.80.217 c83a.6b15.57b1static-mac-ip-mapping 192.168.80.218 8c49.6202.9c95static-mac-ip-mapping 192.168.80.216 0018.dd0a.0665&lt;/CODE&gt;&lt;/PRE&gt; 
&lt;P&gt;&lt;/P&gt; 
&lt;P&gt;Yesterday I started seeing random failures connecting with a new device, and after some troubleshooting realized that it had been given the address 192.168.80.218 even though it is &lt;STRONG&gt;not&lt;/STRONG&gt; the device with the MAC address in the static-mac-ip-mapping. Unfortunately I've lost the console output from the `show ip dhcp-server binding 192.168.80.218` command, but it listed the same address twice, once with the new device's MAC address and once with the static-mac-ip-mapping address.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt; 
&lt;P&gt;I then removed that address binding from the system, and rebooted the new device... and it got 192.168.80.217 assigned, which is still a duplicate. I then assumed that the pool must be 'full', and increased its size from 20 to 40 addresses, and removed the .217 binding. A reboot of the new device got a non-duplicate address, and now it works as it should.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt; 
&lt;P&gt;From what I can tell, all of the non-statically-mapped addresses in the pool had active bindings, and so when a new device requested an address, the ICX gave it one of the statically-mapped address even though it should not have.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 11:35:20 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/ICX-Switches/09-xx-DHCP-server-issues-duplicate-leases-when-using-static-ip/m-p/39608#M2885</guid>
      <dc:creator>kpfleming</dc:creator>
      <dc:date>2022-01-26T11:35:20Z</dc:date>
    </item>
  </channel>
</rss>

