6 Replies Latest reply: Mar 6, 2013 7:20 AM by John.Kennedy
John.Kennedy Level 1 Level 1 (0 points)

My server has been assigning multiple IPs to the same client.  Any ideas?  An iphone will have 13 IP address, a desktop will have 20+.  My lease time is set to 10 days because I assumed if the client already had an IP it wouldn't ask the DHCP for another but now i'm realizing we are getting alot of clients with duplicate IPs.

 

Any idea?


Xserve, Mac OS X (10.6.8)
  • piperspace Level 2 Level 2 (305 points)

    As far as i know it's not possible for a device to use more than one IP at a time. What exactly are you seeing to suggest your devices are using 13 or 20? Most problems with dhcp are caused by having more than one dhcp server. Like both an airport and a server configured to hand out IPs.

  • Decio Valeri Level 1 Level 1 (45 points)

    Hi,

     

    i saw a similar issue caused by repeated client id.

     

    Make sure that your clients doesn't have the same client id in the network DHCP option

     

    Actually the dhcp' "client ID" option is encoded by the server like a MAC addres:

    in case of repeated MAC for differents clients, the server react by delivering multiples addrsses until the end of leases 

  • John.Kennedy Level 1 Level 1 (0 points)

    Here is an example from my server admin ... very strange.

    Screen Shot 2011-09-09 at 4.32.43 PM.png

  • John.Kennedy Level 1 Level 1 (0 points)

    And here is an example of the log...

     

    Sep  9 16:34:28 fs1 bootpd[39367]: dhcpd: INIT-REBOOT host 1,10:9a:dd:ac:1c:34 binding for 10.0.206.40 with another server

    Sep  9 16:34:28 fs1 bootpd[39367]: service time 0.001809 seconds

    Sep  9 16:34:30 fs1 bootpd[39367]: DHCP REQUEST [en1]: 1,10:9a:dd:ac:1c:34

    Sep  9 16:34:30 fs1 bootpd[39367]: dhcpd: INIT-REBOOT host 1,10:9a:dd:ac:1c:34 binding for 10.0.206.40 with another server

    Sep  9 16:34:30 fs1 bootpd[39367]: service time 0.000734 seconds

    Sep  9 16:34:33 fs1 bootpd[39367]: DHCP REQUEST [en1]: 1,10:9a:dd:ac:1c:34

    Sep  9 16:34:33 fs1 bootpd[39367]: dhcpd: INIT-REBOOT host 1,10:9a:dd:ac:1c:34 binding for 10.0.206.40 with another server

    Sep  9 16:34:33 fs1 bootpd[39367]: service time 0.001841 seconds

    Sep  9 16:34:37 fs1 bootpd[39367]: DHCP DISCOVER [en1]: 1,10:9a:dd:ac:1c:34

    Sep  9 16:34:37 fs1 bootpd[39367]: replying to 10.0.206.54

    Sep  9 16:34:37 fs1 bootpd[39367]: OFFER sent <no hostname> 10.0.206.54 pktsize 330

    Sep  9 16:34:37 fs1 bootpd[39367]: service time 0.002963 seconds

    Sep  9 16:34:39 fs1 bootpd[39367]: DHCP REQUEST [en1]: 1,10:9a:dd:ac:1c:34

    Sep  9 16:34:39 fs1 bootpd[39367]: replying to 10.0.206.54

    Sep  9 16:34:39 fs1 bootpd[39367]: ACK sent <no hostname> 10.0.206.54 pktsize 330

    Sep  9 16:34:39 fs1 bootpd[39367]: service time 0.004504 seconds

    Sep  9 16:36:14 fs1 bootpd[39367]: DHCP REQUEST [en1]: 1,0:17:f2:41:17:2b <EDIT-1-MAC>

    Sep  9 16:36:14 fs1 bootpd[39367]: dhcpd: INIT-REBOOT host 1,0:17:f2:41:17:2b binding for 10.0.206.35 with another server

    Sep  9 16:36:14 fs1 bootpd[39367]: service time 0.001849 seconds

    Sep  9 16:36:17 fs1 bootpd[39367]: DHCP REQUEST [en1]: 1,0:17:f2:41:17:2b <EDIT-1-MAC>

    Sep  9 16:36:17 fs1 bootpd[39367]: dhcpd: INIT-REBOOT host 1,0:17:f2:41:17:2b binding for 10.0.206.35 with another server

    Sep  9 16:36:17 fs1 bootpd[39367]: service time 0.000749 seconds

    Sep  9 16:36:18 fs1 bootpd[39367]: DHCP REQUEST [en1]: 1,0:17:f2:41:17:2b <EDIT-1-MAC>

    Sep  9 16:36:18 fs1 bootpd[39367]: dhcpd: INIT-REBOOT host 1,0:17:f2:41:17:2b binding for 10.0.206.35 with another server

    Sep  9 16:36:18 fs1 bootpd[39367]: service time 0.000697 seconds

    Sep  9 16:36:22 fs1 bootpd[39367]: DHCP DISCOVER [en1]: 1,0:17:f2:41:17:2b <EDIT-1-MAC>

    Sep  9 16:36:22 fs1 bootpd[39367]: replying to 10.0.206.55

    Sep  9 16:36:22 fs1 bootpd[39367]: OFFER sent <no hostname> 10.0.206.55 pktsize 330

    Sep  9 16:36:22 fs1 bootpd[39367]: service time 0.003001 seconds

    Sep  9 16:36:23 fs1 bootpd[39367]: DHCP REQUEST [en1]: 1,0:17:f2:41:17:2b <EDIT-1-MAC>

    Sep  9 16:36:23 fs1 bootpd[39367]: replying to 10.0.206.55

    Sep  9 16:36:23 fs1 bootpd[39367]: ACK sent <no hostname> 10.0.206.55 pktsize 330

    Sep  9 16:36:23 fs1 bootpd[39367]: service time 0.005511 seconds

    Sep  9 16:37:50 fs1 bootpd[39367]: DHCP REQUEST [en1]: 1,0:26:8:78:3c:9f <Natalies-iPhone>

    Sep  9 16:37:50 fs1 bootpd[39367]: dhcpd: INIT-REBOOT host 1,0:26:8:78:3c:9f binding for 10.0.206.53 with another server

    Sep  9 16:37:50 fs1 bootpd[39367]: service time 0.001931 seconds

    Sep  9 16:37:51 fs1 bootpd[39367]: DHCP REQUEST [en1]: 1,0:26:8:78:3c:9f <Natalies-iPhone>

    Sep  9 16:37:51 fs1 bootpd[39367]: dhcpd: INIT-REBOOT host 1,0:26:8:78:3c:9f binding for 10.0.206.53 with another server

    Sep  9 16:37:51 fs1 bootpd[39367]: service time 0.000750 seconds

    Sep  9 16:37:54 fs1 bootpd[39367]: DHCP REQUEST [en1]: 1,0:26:8:78:3c:9f <Natalies-iPhone>

    Sep  9 16:38:00 fs1 bootpd[39367]: DHCP REQUEST [en1]: 1,0:26:8:78:3c:9f <Natalies-iPhone>

    Sep  9 16:38:00 fs1 bootpd[39367]: replying to 10.0.206.56

    Sep  9 16:38:00 fs1 bootpd[39367]: ACK sent <no hostname> 10.0.206.56 pktsize 330

    Sep  9 16:38:00 fs1 bootpd[39367]: service time 0.033833 seconds

  • s_landon Level 1 Level 1 (0 points)

    My DHCP server was doing that also. Did you ever get it fix?

  • John.Kennedy Level 1 Level 1 (0 points)

    We ended up turning off DHCP and now our ISP handles it through the router.