allow creation of unreachable routes in /etc/config/network
|Reported by:||Kenyon Ralph <kenyon@…>||Owned by:||developers|
There should be a way to do the equivalent of "ip route add unreachable 2001:db8::/48" in /etc/config/network. This is important to prevent routing loops if you have a network prefix routed to your router which also has a default route. I don't see any way to do this according to http://wiki.openwrt.org/doc/uci/network#ipv6.routes.
More generally, perhaps there should be a way to execute arbitrary commands when an interface goes up or down, like the "up" and "down" options in Debian's /etc/network/interfaces file. This would make it possible to do even more fancy things.