On Fri, Jun 09, 2017 at 05:37:44PM +0100, Jason McIntyre wrote:
> why do you have to specify 0.0.0.0 *and* dynaddr?

If there is no address on the interface, the code in sppp_set_ip_addrs()
loops over an empty interface address list and hence does nothing.
IPCP will still negotiate an address but as a result of how spp_set_ip_addrs()
works this address won't show up on the interface :-/

This behaviour is yet another silly implementation detail of sppp(4).
It could probably be fixed but I would treat this as an unrelated problem.
But I do understand how this can be confusing. I think the documentation
could be made more clear by phrasing it as "updating an address" instead
of "assigning an address". I'll send an updated patch soon.

Regardless, you probably *do* want a dummy address. An address is needed
in order to add a dummy default route which will be updated once the pppoe
interface comes up (more details forthcoming in my reply to naddy's question).

Reply via email to