Hi!
Im trying to monitor a gateway of my ISP. Im using netwatch for that purpose. Basically, i need that when that GW is unreachable (DOWN) the netwatch enables the DHCP-Client for an eth interface (in this case, ether1), and when is UP, the opposite: disable that DHCP-Client over that eth. When the GW is UP, the "disabling" of that eth works fine, but when its DOWN, is not working.
Here i attach a screenshot. What is wrong with this?
Thank you in advance!
Regards