On Sun, Aug 03, 2014 at 11:37:51AM +0200, Steven Barth wrote: > tbh. we should get rid of that option network stuff. > I merged it anyway at first so we can get some experience with this > gre-integration. > Normally you should use something like this instead: > > config interface mygre > option proto 'gre' > option ipaddr '203.0.113.2' > option peeraddr '192.0.2.42' > option network 'tunnel'
You meant to remove this option, I guess. > config interface mygre_static > option proto static > option ifname @mygre > option ipaddr 10.0.0.217 > option netmask 255.255.255.0 > > > Same should hopefully work with gre and gretap as source. > If this does the trick I'm for removing the option network stuff. Thanks, I didn't know this syntax. I'll give it a try. Is the "@mygre" syntax new? It seems to have been introduced in 2011 (ab4a8a35 in netifd), but I didn't find any other reference. Thanks, Baptiste
pgp43wNYOA2fK.pgp
Description: PGP signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel