DHCP or static?

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
17,028
Reaction score
39,605
Location
Alabama
The good ol days! I ran Tomato Firmware on mine.
Ran DD-WRT on mine, circa 2010 turned it into a wireless client/bridge, making an Ethernet-only Zonet 480p IP cam wireless! :lol:
 

mat200

IPCT Contributor
Joined
Jan 17, 2017
Messages
14,080
Reaction score
23,457
I prefer static ips for everything that is not a mobile device ..

And dhcp with Mac address for mobile devices in my lan

Guest lan I track Mac addresses but do not allow them to access lan .. only internet
 

David9723

Young grasshopper
Joined
Apr 10, 2015
Messages
77
Reaction score
0
The issue I have with static is not all cams let you use it.
 

eeeeesh

BIT Beta Team
Joined
Jan 5, 2017
Messages
413
Reaction score
682
This is one of the reasons why I dumped my traditional router and went with pfSense. I like to use DHCP on the device but set up a reserved ip address in the router (DHCP Static Mapping). I found that even with a high-end consumer router, they simply did not have enough 'memory' to hold all of my reservations. I ended up buying a Protectli 6-port, which has worked great for the past 4 years. I actually have (4) physical networks, no vlans (1 secure lan, 1 secure wifi, and a 'dirty' lan and 'dirty' wifi for my iot devices)
 

mat200

IPCT Contributor
Joined
Jan 17, 2017
Messages
14,080
Reaction score
23,457
This is one of the reasons why I dumped my traditional router and went with pfSense. I like to use DHCP on the device but set up a reserved ip address in the router (DHCP Static Mapping). I found that even with a high-end consumer router, they simply did not have enough 'memory' to hold all of my reservations. I ended up buying a Protectli 6-port, which has worked great for the past 4 years. I actually have (4) physical networks, no vlans (1 secure lan, 1 secure wifi, and a 'dirty' lan and 'dirty' wifi for my iot devices)
Lol thought the dirty lan was for the kids
 

MrWho

n3wb
Joined
May 3, 2024
Messages
24
Reaction score
5
Location
Portugal
In case someone needs this and doesn't know about it:


A portable DHCP server for windows, great for running alongside BI or whatever Windows VMS you happen to use. Saves the configuration on a plain text file. Easy to administer, configure and backup.
 

The Automation Guy

Known around here
Joined
Feb 7, 2019
Messages
1,422
Reaction score
2,827
Location
USA
I too use DHCP with reserved static addresses assigned. I find this to the be best of both worlds. My individual devices are set up for DHCP, so if there was ever a networking issue, or I had a need to bench test a device or other similar situations, I would be able to connect to the device without any problems even if the "local network" I used for that purpose was different than my regular network scheme. However the router will assign the same reserved IP address anytime that device comes onto the normal network. This gives me the consistency of a static IP address so that managing those devices is easier (via network GUIs) as well as insuring that my camera feeds in BI and other home automation functions/systems still work reliably even if the network gets reset (power outage, router software update, etc).

You obviously don't need to reserve addresses for every device however. There are plenty of devices (like mobile devices) that only need to be on the network but don't need to be accessed by other devices on the network and therefore don't need a reserved address. Furthermore, mobile devices likely to be replaced more frequently than any other devices, so there is no need to add "extra work" by assigning reserved addresses for them. Even still, I have over 100 reserved addresses assigned in my pfSense software spread out across multiple VLANs.
 
Last edited:
Joined
Jul 31, 2017
Messages
8
Reaction score
2
Stick with static IPs if you're comfortable with them and already have a system to track them. If you're okay with managing by MAC addresses, DHCP could offer more flexibility.
 

Teken

Known around here
Joined
Aug 11, 2020
Messages
1,616
Reaction score
2,921
Location
Canada
In a small home (flat network) Static Addressing is fine so long as you have a working schema. If not, the vast majority of network related issues due to IP Address Conflicts.

Using DHCP MAC Reservation as the other member noted allows changes on the fly without conflict, impact, or on-site configuration.

In a simple home networking environment that’s not much of a problem. As you break more than fifty network devices - mistakes and conflicts will arise.

Other things to keep in mind as it relates to DHCP is to define the lease time to an appropriate interval.

As with any network appliance it’s imperative to test, validate, and document how each device behaves when the DHCP Lease is released / renewed.

You’ll be very surprised to see how many devices are none conform-ant in accepting a new IP Address due to shitty firmware!
 
Top