Is there a way to set a static IP, without stopping breaking DHCP default gateway/route setting?
I normally use dhcpcd.conf to set static IP's, but any static IP configuration on the interface will stop automatic DNS/default route/subnet mask setting.
I have an Android Hotspot that changes its NAT IP erratically, so I can't set the default gateway statically, but I need the Raspberry PI to have a static IP in the Hotspot network.
dhcpcd -T, which tests dhcp.conf settings, it appears DHCP is practically disabled when a static IP is set. Perhaps there is a post DHCP apply hook that would allow me to set my config after dhcpcd has done it's magic.
Update with info from comment:
Problem with using mac address on the DHCP server is I don't have access to the Android hotspot DHCP server configuration. It's fairly hard coded from what I know.