NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

pwhite1989's avatar
Feb 09, 2019
Solved

Address Reservation not working/ being ignored

Hi all,

 

I am having an issue where I have reserved an IP address (192.168.1.2) for MAC (B8:27:EB:A1:BA:F5),  but whenever that particular device is connected, it just gets assigned an IP address from the pool (i.e. 192.168.1.8). I'm sure I'm doing something wrong - I just can't figure out what!

 

Use Router as DHCP Server is ticked:

The Starting IP Address is 192.168.1.3

The Ending IP Address is 192.168.1.254

 

There is only one device in the Address Reservation Table:

192.168.1.2   =>   B8:27:EB:A1:BA:F5

 

However, the device appears in the Attached Devices table like this:

192.168.1.8   =>   B8:27:EB:A1:BA:F5

This is not what I want - I want it to be assigned the reserved address

 

Side note - I have rebooted and reset both my router (R7000, V1.0.9.64_10.2.64) and the device itself.

 

And help would be greatly appreciated :D

  • > [...] (R7000, V1.0.9.64_10.2.64) [...]

     

       That may not be the most popular firmware version.  Have you tried
    any other (older) firmware version(s)?

     

       I have no recent experience with address reservation on an R7000, so
    I know nothing, but your description looks good to me.

     

    > [...] I have reserved an IP address (192.168.1.2) for MAC
    > (B8:27:EB:A1:BA:F5), [...]

     

       A Raspberry Pi?  (Which?)  Wired or wireless interface?  (Each should
    have its own MAC address.)  And it's using DHCP, not a static address
    (for that interface)?

     

    > [...] but whenever that particular device is connected, it just gets
    > assigned an IP address from the pool (i.e. 192.168.1.8). [...]

     

       Always the same, or variable, depending on what else is connected?

     

       Is some other device camped on "192.168.1.2"?


    > [...] I'm sure I'm doing something wrong - I just can't figure out
    > what!

     

       I'd say that it's probable, but I don't see it (yet), either.

3 Replies

  • > [...] (R7000, V1.0.9.64_10.2.64) [...]

     

       That may not be the most popular firmware version.  Have you tried
    any other (older) firmware version(s)?

     

       I have no recent experience with address reservation on an R7000, so
    I know nothing, but your description looks good to me.

     

    > [...] I have reserved an IP address (192.168.1.2) for MAC
    > (B8:27:EB:A1:BA:F5), [...]

     

       A Raspberry Pi?  (Which?)  Wired or wireless interface?  (Each should
    have its own MAC address.)  And it's using DHCP, not a static address
    (for that interface)?

     

    > [...] but whenever that particular device is connected, it just gets
    > assigned an IP address from the pool (i.e. 192.168.1.8). [...]

     

       Always the same, or variable, depending on what else is connected?

     

       Is some other device camped on "192.168.1.2"?


    > [...] I'm sure I'm doing something wrong - I just can't figure out
    > what!

     

       I'd say that it's probable, but I don't see it (yet), either.

    • pwhite1989's avatar
      pwhite1989
      Tutor

        > [...] And it's using DHCP, not a static address
        > (for that interface)?

       

      This was it! I went to  

      cat /etc/network/interfaces

      which had nothing in it.  I then went to

       

      cat /etc/dhcpcd.conf 

      which showed that it was using a static IP.

      What would be your suggestion? Change the static IP  to 192.168.1.2 or change it to DHCP?

      Thank you for your help!

       

       

      • antinode's avatar
        antinode
        Guru

        > [...] What would be your suggestion? Change the static IP to
        > 192.168.1.2 or change it to DHCP? [...]

         

           Your choice.  Around here, I have many systems with static addresses,
        mostly old stuff where DHCP is not supported (well or at all).  I also
        have others with reserved dynamic addresses, mostly newer stuff, and/or
        devices like printers or Internet-of-Junk gizmos, which don't have
        convenient user interfaces (keyboard+display).  My DHCP pool is pretty
        small (16), and its only customer at the moment is a Roku box.

         

           For a portable device, like, say, a laptop computer, DHCP makes much
        more sense.  The question is whether you want to do your management on
        the individual device(s) or on the router (DHCP server).