These days of developing with multiple SoC (Raspberry Pis etc) it has become a great idea to set a static via the router based on MAC addresses.
Basically you ask your router to always set the same IP address whenever it sees that network hardware connect (either a NIC or a wifi adaptor).
This is very different to setting a static IP in the device's operating system itself.
When you rely on SSH'ing from a separate PC into the device, knowing which device will have which IP regardless of the fact you just switched SD card and hence operating system is a real time saver.
The exact process of how to achieve router MAC based IP allocation differs for each router but usually is an available setting.