Use both methods, statically and dynamically, to assign IP addresses. While you can obtain dynamic addresses from a DHCP server, establish static addresses that are explicitly on the device.