Is it better to use a dhcp server to reserve addresses based on mac address or to assign them statically on the interfaces?
I have a small network and i want almost everything to have static ip addresses. Is there any benefit to doing it one way or the other?
There are some benefits of using a DHCP server:
domain-name
,subnet-mask
,broadcast-address
,routers
,domain-name-servers
,ntp-servers
and other things. No risk that you misconfigure an interface.Administrative wise it is normally recommend to use DHCP reservations.
The one big benefit of setting a static IP address directly on the device is when you need the device to be accessible in the case of a DHCP server outage. Like for example, any network monitoring device or devices that can be useful for troubleshooting like an IP KVM, etc. In these cases it is still a good idea to create a reservation for tracking purposes and in case you need to factory reset the device it will come back with the expected IP.