ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    unifi controller block device - unblock grabs same IP

    IT Discussion
    6
    19
    3.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wirestyle22 @Mike Davis
      last edited by

      @mike-davis
      Don't know how to force that via a command because it's going to retain the IP for whatever you set the lease time to. I would set the lease time to something much lower temporarily and take that IP out of the DHCP range. It will fail the renewal eventually.

      1 Reply Last reply Reply Quote 1
      • D
        DustinB3403
        last edited by

        Why not statically assign it an IP that is outside of the scope...

        M 1 Reply Last reply Reply Quote 0
        • W
          wirestyle22
          last edited by wirestyle22

          I'm assuming it's a cell phone but maybe not

          D M 2 Replies Last reply Reply Quote 0
          • D
            DustinB3403 @wirestyle22
            last edited by

            @wirestyle22 said in unifi controller block device - unblock grabs same IP:

            I'm assuming it's a cell phone

            OK.. well in the cell phone case a DHCP reservation would fix that issue. . . then force a renewal from the DHCP server.

            D 2 Replies Last reply Reply Quote 2
            • M
              Mike Davis @DustinB3403
              last edited by

              @dustinb3403 said in unifi controller block device - unblock grabs same IP:

              Why not statically assign it an IP that is outside of the scope...

              In the case of the copier, I would have to visit every desktop to change the IP in the port of the local printer the copier guy set up. I'm lazy.

              D W 2 Replies Last reply Reply Quote 1
              • D
                DustinB3403 @Mike Davis
                last edited by

                @mike-davis said in unifi controller block device - unblock grabs same IP:

                @dustinb3403 said in unifi controller block device - unblock grabs same IP:

                Why not statically assign it an IP that is outside of the scope...

                In the case of the copier, I would have to visit every desktop to change the IP in the port of the local printer the copier guy set up. I'm lazy.

                But you get to charge the client for the time fixing his screw up. .

                M 1 Reply Last reply Reply Quote 1
                • M
                  Mike Davis @wirestyle22
                  last edited by

                  @wirestyle22 said in unifi controller block device - unblock grabs same IP:

                  I'm assuming it's a cell phone but maybe not

                  The android device is likely a cell phone.

                  1 Reply Last reply Reply Quote 0
                  • W
                    wirestyle22 @Mike Davis
                    last edited by wirestyle22

                    @mike-davis said in unifi controller block device - unblock grabs same IP:

                    @dustinb3403 said in unifi controller block device - unblock grabs same IP:

                    Why not statically assign it an IP that is outside of the scope...

                    In the case of the copier, I would have to visit every desktop to change the IP in the port of the local printer the copier guy set up. I'm lazy.

                    Right. That's why I say reduce the lease time, let the lease time run out and remove that IP from the DHCP scope. Then just wait.

                    J 1 Reply Last reply Reply Quote 0
                    • M
                      Mike Davis @DustinB3403
                      last edited by

                      @dustinb3403 said in unifi controller block device - unblock grabs same IP:

                      But you get to charge the client for the time fixing his screw up. .

                      That is true. And for a bonus round I get to explain to the client why what the copier guy did is wrong...

                      1 Reply Last reply Reply Quote 0
                      • J
                        JaredBusch @wirestyle22
                        last edited by

                        @wirestyle22 said in unifi controller block device - unblock grabs same IP:

                        @mike-davis said in unifi controller block device - unblock grabs same IP:

                        @dustinb3403 said in unifi controller block device - unblock grabs same IP:

                        Why not statically assign it an IP that is outside of the scope...

                        In the case of the copier, I would have to visit every desktop to change the IP in the port of the local printer the copier guy set up. I'm lazy.

                        Right. That's why I say reduce the lease time, let the lease time run out and remove that IP from the DHCP scope. Then just wait.

                        Reducing the time will do jack shit. The device already knows its lease time and a new one on the server will not change that.

                        Just wait for lease roll then unblock it.

                        1 Reply Last reply Reply Quote 2
                        • J
                          JaredBusch @Mike Davis
                          last edited by

                          @mike-davis After you unblocked it, did you force it to reconnect? That is a separate button I do believe.

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            Dashrender @DustinB3403
                            last edited by

                            @dustinb3403 said in unifi controller block device - unblock grabs same IP:

                            @wirestyle22 said in unifi controller block device - unblock grabs same IP:

                            I'm assuming it's a cell phone

                            OK.. well in the cell phone case a DHCP reservation would fix that issue. . . then force a renewal from the DHCP server.

                            Wat?

                            1 Reply Last reply Reply Quote 0
                            • D
                              Dashrender @JaredBusch
                              last edited by

                              @jaredbusch said in unifi controller block device - unblock grabs same IP:

                              @mike-davis After you unblocked it, did you force it to reconnect? That is a separate button I do believe.

                              that shouldn't do anything either. The phone already has an IP for that network. So even forcing a reconnect to the SSID, I would expect phone to recognize the network and just use the same already assigned IP, of course, the Android folks could do whatever they want... so who knows until you try.

                              I agree with JB's earlier statement - leave it blocked until the time runs out. Then unblock and it will get a new IP.

                              J 1 Reply Last reply Reply Quote 0
                              • D
                                Dashrender @DustinB3403
                                last edited by

                                @dustinb3403 said in unifi controller block device - unblock grabs same IP:

                                @wirestyle22 said in unifi controller block device - unblock grabs same IP:

                                I'm assuming it's a cell phone

                                OK.. well in the cell phone case a DHCP reservation would fix that issue. . . then force a renewal from the DHCP server.

                                DHCP servers can't force clients to do anything.

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  DustinB3403 @Dashrender
                                  last edited by

                                  @dashrender said in unifi controller block device - unblock grabs same IP:

                                  @dustinb3403 said in unifi controller block device - unblock grabs same IP:

                                  @wirestyle22 said in unifi controller block device - unblock grabs same IP:

                                  I'm assuming it's a cell phone

                                  OK.. well in the cell phone case a DHCP reservation would fix that issue. . . then force a renewal from the DHCP server.

                                  DHCP servers can't force clients to do anything.

                                  You can delete the lease which forces the device to request a new IP. . .

                                  0_1515625445823_chrome_2018-01-10_18-03-46.png

                                  D 1 Reply Last reply Reply Quote 0
                                  • J
                                    JaredBusch @Dashrender
                                    last edited by

                                    @dashrender said in unifi controller block device - unblock grabs same IP:

                                    @jaredbusch said in unifi controller block device - unblock grabs same IP:

                                    @mike-davis After you unblocked it, did you force it to reconnect? That is a separate button I do believe.

                                    that shouldn't do anything either.

                                    Depends on the device. Some devices will renegotiate the IP on reconnect.

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      Dashrender @DustinB3403
                                      last edited by

                                      @dustinb3403 said in unifi controller block device - unblock grabs same IP:

                                      @dashrender said in unifi controller block device - unblock grabs same IP:

                                      @dustinb3403 said in unifi controller block device - unblock grabs same IP:

                                      @wirestyle22 said in unifi controller block device - unblock grabs same IP:

                                      I'm assuming it's a cell phone

                                      OK.. well in the cell phone case a DHCP reservation would fix that issue. . . then force a renewal from the DHCP server.

                                      DHCP servers can't force clients to do anything.

                                      You can delete the lease which forces the device to request a new IP. . .

                                      0_1515625445823_chrome_2018-01-10_18-03-46.png

                                      The forcing this list is talking about is on the client itself.. the DHCP server can't make the client do anything...

                                      1 Reply Last reply Reply Quote 1
                                      • crustachioC
                                        crustachio
                                        last edited by

                                        Even though you can't initiate a remote renewal of the device's IP, it should phone home to the DHCP server if and when its network connection is disconnected for awhile and then reconnected, at which time it would pick up the new lease.

                                        Normally when you disconnect/reconnect a network cable the client will phone back to DHCP since it no longer knows which LAN it is attached to. On WiFi devices, brief disconnection is by design not sufficient to trigger a refresh, but a longer outage should still prompt the client to request DHCP. I would guess that the if the client device is taken home for the evening and then returns in the morning (or even a lunch break, etc) it should pick up the new lease settings.

                                        You could also attempt to force this by briefly disabling the SSID to which the client is currently connected (a couple minutes may do it).

                                        1 Reply Last reply Reply Quote 0
                                        • 1 / 1
                                        • First post
                                          Last post