On Thu, Apr 30, 2020 at 9:32 PM Philip Prindeville < [email protected]> wrote:
> Hi all, > > I noticed that if eth5 is my “wan” interface and I do: > > # ip link set down dev eth5 > > make some firewall changes, then do: > > # ip link set up dev eth5 > > then my routes don’t get repopulated. > I thought that procd installed triggers so that if an interface flaps, > then a helper would run (in this case the network helper). > Netifd is responsible for management of IP routes/addresses; so if a link is forced down by an external command netifd will not be aware and will not re-install IP routes/addresses You can easily bring down an interface by using ifdown which is handled by netifd Hans > > Is this not happening? > > Thanks, > > -Philip > > > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/mailman/listinfo/openwrt-devel >
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
