[OpenWrt-Devel] [PATCH] interface-ip: fix find locally addressable target for p2p
    Hans Dedecker 
    dedeckeh at gmail.com
       
    Fri May 17 14:48:21 EDT 2019
    
    
  
Hi,
On Fri, May 17, 2019 at 7:27 PM Tan Xiaofan <xfan1024 at live.com> wrote:
>
> Hi
>
> > Can you share the network config which requires this patch ?
> >
> > Hans
>
> config interface 'wan'
>         option ifname 'eth0'
>         option proto 'dhcp'
>
> config interface 'iptun'
>         option proto 'l2tp'
>         option defaultroute '0'
>         option server '192.168.100.1'   # l2tp server
>
> config interface 'veth'
>         option proto 'gretap'
>         option ipaddr '10.255.255.100'  # iptun ipaddr
>         option peeraddr '10.255.255.1'  # iptun peeraddr
>         # option tunlink 'iptun'
Thx for sharing the network config.
I've slightly reworked the patch
(https://git.openwrt.org/?p=project/netifd.git;a=commit;h=22e8e589fd6ab5d19dc1d3c9d1bcf2bfabf1fafb);
can you give it a try ?
Hans
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
    
    
More information about the openwrt-devel
mailing list