[OpenWrt-Devel] [PATCH 3/3] ppp: Unnumbered support

Hans Dedecker dedeckeh at gmail.com
Thu Jun 11 10:42:30 EDT 2015


On Wed, Jun 10, 2015 at 8:42 PM, Steven Barth <cyrus at openwrt.org> wrote:
> I just pushed
> http://git.openwrt.org/?p=project/netifd.git;a=commit;h=5cf30b59baa03db2448570c78e7e92873555d2ec
> (not yet bumped in trunk) which allows generic dependencies to
> interfaces by using an empty address, with that you can add a host
> dependency and once fulfilled
> use network_* to get the addresses.
>
> Please let me know if that works for you.
I have been testing the PPP unnumbered scenario in combination with
the netifd patch and the interface dependency  works as expected.
An updated version of the PPP patch will follow soon.

Thx,
Hans
>
>
> Cheers,
>
> Steven
>
> On 10.06.2015 14:52, Steven Barth wrote:
>>
>>
>>
>>> UCI is read as network_get_subnets only returns info for active
>>> interfaces; e.g. if the referred interface in the unnumbered parameter
>>> is down it's not possible to install the host dependency based on the
>>> IP address for the PPP interface.
>>> Did not (yet) find a way to circumvent this issue.
>>
>> Understood, I think the sane way around here would be to add a
>> host_dependency on the interface itself (without a specific IP-address).
>> Let me see if this can be added to netifd easily.
>>
>>
>> Cheers,
>>
>> Steven
>>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list