The ip-address confflags mngtmpaddr and noprefixroute have been documented but iproute2.sh misinterprets them. From the man page: CONFFLAG := [ home | mngtmpaddr | nodad | noprefixroute ] It appeared especially strange for me when noprefixroute was turned into nodad. Reproducible: Always Steps to Reproduce: set config_someif="1.2.3.4/24 noprefixroute" in /etc/conf.d/net Actual Results: ip addr reports inet 1.2.3.4/24 nodad ip route reports routes added Expected Results: ip addr reports inet 1.2.3.4/24 noprefixroute ip route shows no new routes added Here's a preliminary patch: --- a/iproute2.sh 2016-10-04 07:03:40.943548784 +0000 +++ b/iproute2.sh 2016-10-04 07:04:20.814068934 +0000 @@ -124,8 +124,13 @@ pr*) x=preferred_lft ;; esac eval "$x=$1" ; shift ;; - home|nodad|h*|no*) - case $x in h*) x=home ;; n*) x=nodad ;; esac + home|mngtmpaddr|nodad|noprefixroute|h*|mng*|no*) + case $x in + h*) x=home ;; + m*) x=mngtmpaddr ;; + nop*) x=noprefixroute ;; + n*) x=nodad ;; + esac # FIXME: If we need to reorder these, this will take more code confflaglist="${confflaglist} $x" ; ;; *)
[master 6072cfa] iproute2: add keywords: noprefixroute mngtmpaddr.