dhcp reservations

have 5 airport extremes, all hard wired, 4 are in bridge mode


 If I want to give dhcp reservations to improve wifi connectivity, and my router dhcp pool is 192.167.1.2-.254 how do I set aside a block of ip addresses for dhcp reserves clients (for example make .2-.99 for dhcp reservations and .100-.254 for dynamic range ) without causing conflicts with devices already in the .2-.99 range? 


> Change dhcp range in Router go .100-.254 then reboot router to move dynamic devices in .2-.99 range out to the .100-.254 range?


> If by mistake I made several dhcp reservations in the .2-.99 before moving out any dynamic devices in that range by the aforementioned method, can I fix any ip conflicts by rebooting the router? Keep the new dhcp reservations but move devices that will stay with dynamic ip to the .100-.254 range by rebooting router after the fact?


finally, will the reserved ips take effect uniformly when i reboot the router or do some clients have to be rebooted as well?


thanks !

Posted on Jan 1, 2019 3:22 PM

Reply

Similar questions

15 replies

Jan 1, 2019 3:55 PM in response to tinseltiger

Routers are not all identical.. so what applies to one often does not apply to another.


Some routers must have the DHCP configured for the whole range you expect to use for both static reserved and DHCP..


Some routers can assigned IP outside the DHCP range.. Are you talking about an Apple router?? If so which one and we can easily check.. if it is some other brand read their manual.. or do an experiment.


To answer specifically


> Change dhcp range in Router go .100-.254 then reboot router to move dynamic devices in .2-.99 range out to the .100-.254 range?


As you can see by the earlier info.. it all depends.. some routers work one way and others work another.

Find out how yours works.


> If by mistake I made several dhcp reservations in the .2-.99 before moving out any dynamic devices in that range by the aforementioned method, can I fix any ip conflicts by rebooting the router?


Be smart.


Routers should not assign IP by DHCP that is already static IP even if it is assigned by the device itself.


You can do a couple of things here to make your life easy..

  1. Make the DCHP lease time short.. I mean 10min.. 600sec. or whatever is min time.. sometimes it will be 1hour. That means DHCP renewal is going to happen rapidly.. you can fix it back to standard default.. usually one day once you complete your mission.
  2. Run a network scanner to find all the assigned devices.. There is none readily available for the Mac I know of.. but FING on iOS is great.. as also the free version of inet which is only available for iOS.
  3. Any device that you want to use a particular address.. do it statically on the device first.. make sure you have network connection and therefore it is recorded in the router ARP and DHCP tables.. Then assign that same IP via DHCP reservation on the router.. then remove the static IP on the device.. (although it is not really necessary).. when you go back to DHCP it will 99% of the time work fine.. and stick to the static IP.
  4. Take time needed .. this is generally easier to accomplish if you wait for the current DHCP leases to expire and start to pull down 10min ones.. so set the router now.. if you have normal 1 day lease.. by the same time tomorrow all devices should be on short leases.. and will change over rapidly to your static assignments.

Jan 1, 2019 3:49 PM in response to tinseltiger

 If I want to give dhcp reservations to improve wifi connectivity, and my router dhcp pool is 192.167.1.2-.254......


Did you mean to say that your (AirPort Extreme?) Router DHCP Range is 192.168.1.2-254?


how do I set aside a block of ip addresses for dhcp reserves clients (for example make .2-.99 for dhcp reservations and .100-.254 for dynamic range ) without causing conflicts with devices already in the .2-.99 range? 


You can't. You have to assign DHCP Reservations by individual device......not necessarily by range.



For example, you set up reservations for 30 devices using 192.168.1.2 to 192.168.1.31. A device that has not been assigned a reserved address will connect at something above 192.168.1.32.


But, if you started reservations at 192.168.1.100 and worked up from there for reservations, then devices that did not have a reserved IP address would connect starting at 192.168.1.2 and stay in the range up to 192.168.1.99


It is not possible to allocate bandwidth by range or IP address on an AirPort router.



finally, will the reserved ips take effect uniformly when i reboot the router or do some clients have to be rebooted as well?


In theory, yes. In practice, it would be better to power off all the clients, then power them back up one at a time checking as you go.










Jan 1, 2019 7:05 PM in response to tinseltiger

if i am looking to make all dhcp reservations between .2-.99, what should i set the ipv4 dhcp range to?


Add up the number of devices that will have reserved IP's and those that won't, then add another 10 or so for expansion.


So, if you will have 20 devices using reserved IP's and another 20 that won't, I would set the range for 192.168.1.2 to 192.168.1.50


You can always expand the range upwards later if you need to.


There are other more complicated ways to do this as well. My neighbor (and I) use the 10.0.1.x range of IP addresses.


Every one of his reserved IP addresses is a multiple of 10, so his reserved IP's look something like.....


10.0.1.10, 10.0.1.20, 10.0.2.30, 10.0.1.40, etc. Other non-reserved IP addresses connect using random other IP addresses. The DHCP range that he uses is the standard 10.0.1.2 to 10.0.1.200.


















Jan 1, 2019 4:39 PM in response to tinseltiger

As I suggested, if you start reservations at 192.168.1.100 and move up from there, then any devices that do not have a reservation will connect in the 192.168.1.2 to 99 range.


It is true that AirPort Utility cannot display wired "clients", but if you assign reservations to wired clients, you will at least know what IP address they are being assigned.


Makes sense to assign reserved IP addresses to the other four AirPorts if only to know what IP address each is receiving in case troubleshooting is needed.



Jan 1, 2019 4:11 PM in response to Bob Timmons

thanks Bob !

my goal is to assign dhcp reservations in a network (airport extreme as router + 4 other AEs as bridged ap's) that has lots of wifi devices and some wired devices

and to avoid inadvertent ip conflicts by reserving specific numbers in a logical order

all the more challengins since airport utility doesnt show wired clients


so i didnt want to give an ip camera 192.168.1.30 when an apple tv already had that as a dynamic dhcp

i know some routers have to be given dhcp reservations outside or inside the dhcp range


so i set my dhcp range on the airport extreme router from .100-.254 thinking the dynamic ips will be assigned to those, and then i could free up .2-.100 to assign to dhcp reservations, all the while avoiding ip conflicts.....


i have made a bunch of dhcp reservations in the .2-.99 range (after setting the dhcp range to .100-.254) and rebooted the router and in some cases the devices as well. all devices seem to connect at the new ip addresses.


did i set things backwards? appreciate the advice...


and while best practice is to go round the whole house and turn all devices off, thats very cumbersome realistically, esp if i only assign 10 or 20 devices as an initial group...


thanks !

Jan 1, 2019 6:19 PM in response to Bob Timmons

thanks again Bob


just so i understand, what should i set dhcp range to?


i already have set about a dozen devices to .2-.99 range and set the ipv4 dhcp range to .100-.254


your system makes sense now that i see it, but at this point i would rather not redo all the reservations (and router and device reboots) unless i have to.....


if i am looking to make all dhcp reservations between .2-.99, what should i set the ipv4 dhcp range to?


in other words, with airport extreme as the router, do dhcp reservartions need to be within or outside the dhcp range?

i couldnt find anything on the internet or in this forum on that....


thanks again !




Jan 1, 2019 6:22 PM in response to Bob Timmons

Makes sense to assign reserved IP addresses to the other four AirPorts if only to know what IP address each is receiving in case troubleshooting is needed.


Both Bob and I recommend this.. and it is really better to assign the IP outside of the DHCP range.. and to do it on the airport itself .. even if you your aim is not to do this with devices.. in the sense that the airports are vital parts of your network.


am hoping i can do this without setting static ips on the devices


But I have got the point you are talking about.. Make it all happen via dhcp reservations..


How many devices do you need on static IP??


What model is your main router AE?


What models are all the rest?


Are they going to be wired or wirelessly connected to the main AE?


As a matter of interest do you happen to have a PC in the network.. as 5.6 utility in windows is a lot smarter than the current Mac version.. and will show all the details of connections.


Jan 1, 2019 7:08 PM in response to Bob Timmons

thanks again


very basic question that is at the core of my confusion:

dhcp reservation ip's should be Within, not Outside, the set dhcp range for airport extreme 802.11 ac?

i know this varies with routers...


thus ALL devices (reserved ips and non reserved ips) are to be within the set dhcp range?

sounds like i messed up by setting dhcp range .100-.254 thinking that reserved ips had to be Outside the dhcp range....


am i correct that i should now reset the dhcp range to whatever number i believe will encompass ALL ip addresses, reserved and not, be it .2-.254 or a smaller range? then just set dhcp reservations wherever i dont see a conflict??


devices have been working with how i did things but i want best practices and you level 10 guys are so helpful, i really appreciate this



Jan 1, 2019 7:37 PM in response to Bob Timmons

thanks Bob !


now it makes sense since this router obviously doesnt care if reservations are outside or within the set dhcp range, and why all seems to be working well having set them outside the range. i have a netgear router at a rental house we own which i believe does want the ips outside the dhcp range, so this will help me remember things....


regarding my other question of which mac to use for dhcp reservations for my 5 airport extreme's, use the wired mac since they are all wired (4 of the 5 are in bridge mode so i would set all the reservations in the base modem, presume. wired in that they are all connected via powerline adapters)?


and if i add another in wireless mode in the future, use the wireless mac in that case? arent there 2 wireless macs, one for each radio band?


thanks for the collegial help !



Jan 1, 2019 9:20 PM in response to tinseltiger

which mac to use for dhcp reservations for my 5 airport extreme's


It makes no difference.. you can use any Mac to do the setup.


All routers should show up in your airport utility.. if not you can swap from wired to wireless in the utility.


This is a total mystery to me to this day.. I discovered it by accident. An airport that extends by wireless should still show up in the network even if you only have a ethernet connection..


The airport utility will give you the option to change over from wireless to wired.. but with Macs it is easy to turn on wireless.. as well as have ethernet. You should still see all your airports from either network connection.



And as yet another BTW..


I can access the LAN on my double NAT Extreme.. although I have nothing in the computer on that IP range because I left setup over wan turned on.



You must turn off setup over WAN due to security problems.. unless you are double NATting in your own network.. then it does not matter.


You will not see this option in a bridged airport because there is no WAN port.


With everything in bridge it is easy.. this is showing the extend wireless even when wireless is turned off in the computer.



The error btw is just the firmware needs updating.

Jan 1, 2019 6:42 PM in response to LaPastenague

thanks again LaP...


model is airport extreme 802.11ac (me918ll/a), v7.7.9 (but i believe version is the airport utility software) for all


have a lot of apple tvs, chromecast, harmony hub, ip cameras so maybe 20-30 devices on dhcp reservation, most are connected wirelessly


4 of the 5 AEs are bridged to the router AE, hard wired via powerline adapters


i know what you mean about AU for windows being much better. my pc died and i replaced it with imac, had AEs running with pc in the past....


forgive me if you or Bob already answered this, but how do i painlessly set a dhcp reservation for the 5 airport extremes; use the wired mac for each, and outside the dhcp range i have set, then reboot the router? and since 4/5 ae's are bridged, i have to set everything on the base-modem AE....


thx very much for the earnest assistance !

Jan 1, 2019 6:48 PM in response to LaPastenague

Now.. I have configured a spare old AE as double NAT router.. Using your desired IP range.. and DHCP scope set to 2-200 ie default



I set a reserve IP of 201 for a MacBook I have plugged in by ethernet.



The Mac actually worked and picked up this address.. it took several renewals before it worked.. so if you don't succeed keep trying ..


It means you can set reservations outside of your DHCP range in the Airport.. I must try and remember that fact.. You could also assign addresses inside but that makes it easy peasy for you .. as all addresses that are static can now be set outside your DHCP scope.


Makes it extremely easy.. but getting MAC address details or info from network can be more easily handled by FING etc.


There is a limit to how many addresses you can assign. 20 rings a bell.. Bob might know??

And there might be a sneaky trick to get around that even.


Particularly if any client is wired to a bridged AE.. rather than back to the main router.. you can setup the AE as DHCP server without NAT.. and assign it a small range.. if you get to needing this ask and we can give you more details.

Jan 1, 2019 7:24 PM in response to tinseltiger

i already have set about a dozen devices to .2-.99 range and set the ipv4 dhcp range to .100-.254


your system makes sense now that i see it, but at this point i would rather not redo all the reservations (and router and device reboots) unless i have to.....


if i am looking to make all dhcp reservations between .2-.99, what should i set the ipv4 dhcp range to?



I would do it a bit different to what Bob is suggesting.. since you already use DHCP range.. non-standard.. stick with that.



Then you can still set the reservation in the 2-99 range even though it is not in your DHCP scope it still work.



So this works fine..


As far as the actual static IP of each Router is concerned.. as I put in your other thread.. open the airport in the airport utility.. go to Internet tab and change it there.


This is my own Time Capsule.. set to specific IP in the network.. Direct.. it works better this way. It will not have to be plugged into the network to get an address.. if the main router fails it will hold its IP.. definitely superior.. when you have a lot of AP units..


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

dhcp reservations

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.