i set up eth0 in dhcpcd.conf to use a static IP, 192.168.3.14/24 and i have
a LTE Modem as well , called wan0 , i can log on through as well.
i have set up routing between the two so i can reach an application that will only listen to the static IP, even from the wan interface. This works as long as something is plugged into the ethernet socket, usually an ethernet switch...
BUT, if i unplug the cable to eth0, the interface loses the IP address, why is that ?
if i do ifconfig, i can see eth0, but it no longer has an "inet section" and then i plug the cable in again, and do ifconfig, the interface has my static address again.
when this happens my application that only listens at 192.168.3.14 will not respond, even when i try to access it from the wwan interface.
can i "lock" eth0 down so unplugging does not blank out the IP address ?