static ip not staying

Eeessttaa

Reputable
Apr 9, 2014
49
0
4,540
ok so i have a cisco DPC3939B. i connect to the settings and i go to apply a static/reserved ip address to one of my computers mac addresses. im trying to get it to go to 192.168.1.66. i click save after putting it all in and then on the screen that shows the static ip addresses it says that mac address got reserved to 192.168.1.227. and then i go back to edit it and i change it back to the ip address i want. It says its saving it but after a few seconds it goes back to the list of reserved ip's and it still shows thats its on 192.168.1.227.
 
Solution

Then you don't need to reserve an address on the router. Just make sure that the static address that you have chosen is not in the range allocated to DHCP. The reservation only has an effect when you use DHCP on the client.
Is 192.168.1.66 within the range that DHCP is using? If it is, use an IP outside of what DHCP is assigning, or change the dhcp settings to not include that ip. Typical networking conventions is to use the upper end of the ip range for static devices, mebbie it is enforcing this best practice.
 

Eeessttaa

Reputable
Apr 9, 2014
49
0
4,540
Ok so ya its within the range. the pc is set to static and i have set the pc to what it had to be. i did finally get it to connect to the network properly. but i still dont get why the router isnt letting me set the ips to what i want them to be. but it all seems to be working.
 

McHenryB

Admirable


No.

DHCP reservations have to be within the scope of DHCP addresses. DHCP is reserving one address from its scope to always be given to the same MAC address. If you are configuring things this way you set the client PC for DHCP, but it will always have the same address (i.e. a static IP address).

Non-reserved static addresses would have to be outside the DHCP scope. But there is no requirement for them to be at the top, middle, or bottom of the range of available addresses; they just have to be somewhere outside of the DHCP scope.
 

McHenryB

Admirable

Then you don't need to reserve an address on the router. Just make sure that the static address that you have chosen is not in the range allocated to DHCP. The reservation only has an effect when you use DHCP on the client.
 
Solution


That would be my first thought too. I have never run into a router enforcing a convention, but that is the convention.

 

McHenryB

Admirable


Most serious networks that I have had experience of reserve the first 20 or so addresses for static use and leve the rest free for a DHCP scope. That is certainly the convention that we used in the multinational network I used to manage. But it's just one way of doing it.