Hello,
i hit and observed this problem when i try to run openvpn client.
I have observerd an issue when openvpn client (startup-script) try to remove the default-route from a routing table. Later i tried it manually with the following commands, see bellow. The goal was to remove a default-route from the routing table, which did not happen. The IP address of LAN is configured in manual mode as 192.168.211.130/24, gateway 192.168.211.2.
LibreELEC:/usr/sbin # ip route
default via 192.168.211.2 dev eth0
10.45.0.0/24 dev tun0 scope link src 10.45.0.2
192.168.211.0/24 dev eth0 scope link src 192.168.211.130
192.168.211.2 dev eth0 scope link
195.20.170.27 via 192.168.211.2 dev eth0
>> default-route goes via 192.168.211.2
>> ATTEMPT #1: here i will try to remove default-route from routing table:
LibreELEC:/usr/sbin # ip route del default
LibreELEC:/usr/sbin # ip route
default via 192.168.211.2 dev eth0
10.45.0.0/24 dev tun0 scope link src 10.45.0.2
192.168.211.0/24 dev eth0 scope link src 192.168.211.130
192.168.211.2 dev eth0 scope link
195.20.170.27 via 192.168.211.2 dev eth0
>> default-route has not been removed from the routing table, it is still there !!!
>> ATTEMPT #2:
LibreELEC:/usr/sbin # ip route del default via 192.168.211.2 dev eth0
LibreELEC:/usr/sbin # ip route
default via 192.168.211.2 dev eth0
10.45.0.0/24 dev tun0 scope link src 10.45.0.2
192.168.211.0/24 dev eth0 scope link src 192.168.211.130
192.168.211.2 dev eth0 scope link
195.20.170.27 via 192.168.211.2 dev eth0
>> default-route has not been removed from the routing table, it is still there !!! Why???
IP commnad is implemented with busybox utility (/usr/bin/busybox ip)
LibreELEC:~ # busybox
BusyBox v1.31.0 (2019-11-22 22:56:17 EST) multi-call binary.
LibreElec Kodi 18.5 Git: 18.5-Leia
Compiled: 2019-11-23
Tested images: Virtual image (for Vmware), image for Odroid-C2