Hi,
latest rolling release seems to have some pppoe issues.
After disconnecting and reconnecting the line e.g. after 24 hours by the ISP the pppoe connection is established again but the configured default route is not inserted into the routing table.
The default route is configured as follows:
route 0.0.0.0/0 {
interface pppoe0 {
}
}
ip route show gives:
62.155.240.157 dev pppoe0 proto kernel scope link src 79.198.20.24
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1
show interfaces pppoe pppoe0 shows:
pppoe0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN group default qlen 3
link/ppp
inet 79.198.20.24 peer 62.155.240.157/32 scope global pppoe0
valid_lft forever preferred_lft forever
inet6 fe80::90a6:ab53:5199:ca6a peer fe80::9ecc:83ff:fec8:a1e4/128 scope link
valid_lft forever preferred_lft forever
RX: bytes packets errors dropped overrun mcast
40449 799 0 0 0 0
TX: bytes packets errors dropped carrier collisions
438 10 0 0 0 0
Issue cannot be solved by disconnect interface pppoe0 and reconnect interface pppoe0 (routing still missing), router needs to be restarted to solve this issue.
After restarting everything is fine again for the next 24 hours until the line disconnection by the ISP.
ip route show
default nhid 35 dev pppoe0 proto static metric 20
62.155.240.157 dev pppoe0 proto kernel scope link src 79.198.19.79
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1
Another issue seems to be when interface pppoe0 is disconnected:
**show interfaces pppoe pppoe0**
Traceback (most recent call last):
File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 305, in <module>
actions.get(args.action, missing)(
File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 46, in handled_function
function(*args, **kwargs)
File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 198, in run_show_intf
state = pppoe(ifname)
File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 159, in pppoe
out = cmd(f'ps -C pppd -f')
File "/usr/lib/python3/dist-packages/vyos/util.py", line 161, in cmd
raise OSError(code, feedback)
PermissionError: [Errno 1] failed to run command: ps -C pppd -f
returned: UID PID PPID C STIME TTY TIME CMD
exit code: 1