
On Sun, 17 Apr 2016 04:12:42 PM Dan062 via luv-main wrote:
I have a pc with 3 nics eth0, eth1 and wlan0 running Debian 8.
eth0 is on board nic eth1 is a usb ethernet adapter wlan0 is a wifi usb dongle
wlan0 is the connection to the external world. (192.168.1.17) eth0 and eth1 only connects to local devices (192.168.0.11 and .12 respectively)
The system is configured to be accessed over ssh via wlan0, which works fine for a while. However after a while (usually 24+ hrs), a default route via eth0 will appear in the routing table with a lower metric value than wlan0, and it cannot be accessed via wlan0 anymore. If I delete it, everythig will be ok, but it will appear again later.
How is eth0 getting it's address? If it's by DHCP then that would be the cause of it. The router involved is probably to blame. To keep your maching usable you could write a script that looks for such a route and if it exists removes it and logs the problem. A script like that running from cron can keep it accessible. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/