On 2013-09-15 12:16 PM, Bastian Bittorf wrote: > * Felix Fietkau <n...@openwrt.org> [15.09.2013 11:58]: >> Try network.myroute.interface=alias > > uci changes looks now like this: > > network.cfg114d8f=alias > network.cfg114d8f.interface=lan > network.cfg114d8f.proto=static > network.cfg114d8f.ipaddr=192.168.10.2 > network.cfg114d8f.netmask=255.255.255.0 > > network.cfg12c8b4=route > network.cfg12c8b4.interface=alias > network.cfg12c8b4.target=192.168.0.0 > network.cfg12c8b4.netmask=255.255.255.0 > network.cfg12c8b4.gateway=192.168.10.1 > > the alias-IP is applied, the route is not. > i'am sure i make a mistake, but which? I probably should have written <alias> instead of alias. The alias section needs a name (it's considered an interface by netifd), and the route 'interface' option needs to point at that alias section name.
- Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel