On Sat, Jun 6, 2020 at 11:57 AM Jan Stary <h...@stare.cz> wrote:

> This is current/amd64 on an APU2.
> The egress is XDSL pppoe(4) over vlan(4) over em(4),
>
> ...
>
> Are people having the same problem?
> Are you doing something about the late ifconfig?
>

I have some routers that connect to DSL using pppoe(4) and yes, I
have the same problem with delayed startup.  For me the impact is to
isc_named and openvpn, but the result is similar -- a lot of logged
errors, mostly due to inability to resolve names until the pppoe link
comes up.  A somewhat more difficult problem is that ospfd fails to start
at all under these conditions (I have it listening for routes over the
vpn links, and ospfd won't start if those links are down).

I don't do anything at startup to address this, because the DSL is also
prone to dropping at other times for other reasons.  I considered using
ifstated to fix it, but found it more expedient to simply use a cron job
to "rcctl start ospfd" periodically, and to ignore everything else.

Ignoring everything else works because most things resolve themselves
when pppoe negotiation finally completes.  I am very happy that things just
start working once the link comes up, and that manual intervention isn't
needed.  A few logged errors from software that is able to resume normal
function on its own is very little burden compared to some alternatives.

-ken

Reply via email to