Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Untangler
    Join Date
    Aug 2011
    Posts
    77

    Default DHCP static entries not working

    Some of the static mappings I have on my dhcp server aren't working.

    Not sure how or where to begin troubleshooting.

    Several of the clients who are specifically on the static IP list (left pane) are showing up using addresses from the range the server is supposed to hand out.

  2. #2
    Master Untangler Chrismal's Avatar
    Join Date
    Sep 2016
    Location
    Malta
    Posts
    401

    Default

    Could you post a screenshot of your Static DHCP Setup?
    I like to listen. I have learned a great deal from listening carefully. Most people never listen

  3. #3
    Untangler
    Join Date
    Aug 2011
    Posts
    77

    Default

    dhcp.jpg

    "staci-pc" and "anastacias-ipad" are the two primary offenders, as you can see from the list.
    Last edited by tucansam; 12-30-2018 at 08:08 AM.

  4. #4
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    22,939

    Default

    Why are you chopping off MAC addresses? Do you want our help or do you want to feed your own paranoia? There is NOTHING to gain by doing this, just making it darned near impossible for anyone to help you.

    In regards to the problem, assuming the MAC addresses actually match, DHCP clients will get whatever IP they ask for. Some DHCP clients will ask for whatever IP they currently have, DNSMasq will not refuse them. If the PC is a Windows PC you should be able to get it to forget the old address with ipconfig /release, and then running ipconfig /renew. For the iPad? You're probably better off deleting the old reservation, and using the current lease to make a new one.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  5. #5
    Untangler
    Join Date
    Aug 2011
    Posts
    77

    Default

    Thanks.

    I can't use the current lease as the new permanent lease.

    I have a VPN, and all hosts use the VPN by default, except for a handful, for which I have created exceptions. I couldn't figure out how to make exceptions by MAC address, so I made them by IP address. The range from which the ipad is getting an address, 150-165, is the range handed out to unknown DHCP clients (guests etc) and are configured to use the VPN.

    Thus, the DHCP issue is exacerbating a VPN issue.

  6. #6
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    22,939

    Default

    Yes, and with DNSMasq, if the device requests an IP address, and a lease for the address in question exists, that address is what's granted to the device. This behavior overrides the reservations made sometimes...

    So you might have to shorten your DHCP lease time to say 2 hours, wait for the leases to renew and shorten, and then turn off the iPad for a couple hours for the lease to expire entirely. THEN, turn the iPad back on, and it should get the reserved address. I'm unsure how to force an Apple device to do this. Windows boxes you can force via ipconfig /release, ipconfig /renew.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  7. #7
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    22,939

    Default

    Oh, I just noticed that Staci-PC should have fixed itself last night.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  8. #8
    Master Untangler
    Join Date
    Feb 2016
    Location
    Michigan
    Posts
    650

    Default

    In the case of iOS, you can renew the lease under the connection details.

    EDIT: It's also possible to forget the connection and start from scratch.
    Last edited by Sam Graf; 12-30-2018 at 10:55 AM. Reason: Added information

  9. #9
    Master Untangler
    Join Date
    Aug 2016
    Posts
    173

    Default

    Whenever I reinstall Untangle (because I am too impatient to wait for the automated upgrades) my iDevices will connect and get whatever address is thrown at them. I upload the Untangle config to restore all of my settings ... typically ... my iDevices will typically still have the "thrown" IP. If I power off the Untangle router however and then back on, I believe the universe usually corrects itself after that.

    Make sure your static addresses are not in the DHCP assignment pool.
    Untangle 14.1.0 (Build: 14.1.0.20181130) (Kernel: 4.9.0-7-untangle-amd64)
    QOTOM-Q355G4
    1.6-2.7 GHz Intel I5 5250U, 128GB SSD mSATA, 8GB RAM DDR3L, 4xRJ-45 Intel I211AT 10/100/1000 Controller

  10. #10
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    22,939

    Default

    There is no reason to have static assignments outside of the lease pool. They are reserved for the device, now there can be some frustration when you reserve an IP that's already assigned to another device. Which is why I just let things have the IP's they already have. In the case of a restore changing reality, a reboot of Untangle and all afflicted devices is the worst possible outcome.

    Heck, some DHCP servers won't allow you to reserve outside of the defined scope! (Looking at you MS DHCP)
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2