I need the following action in my Raspberry Pi 3. When the pi boot, it will try to use static IP (which already configured) on an Ethernet interface. If it fails, then it will get an IP from the DHCP server. I came across with the dhcpcd fallback profile however it seems it does the opposite of my requirement. Is it possible to configure fallback profile to first try to static IP and if it fails, try DHCP server?
Or if there is any other methods, I can take a look.