On Tue, Feb 03, 2015 at 09:41:22PM +0000, thegeezer wrote: > howdy, > don't use postup for this. > netifrc is much cleverer > u can directly in /etc/conf.d/net do > > rules_eth0=( > "from 77.247.233.224/30 lookup vsd_linknet pref 32001" > "from all lookup customers pref 32050" > )
I know about this, but i need ip rules that doesn't depend on any interface. This machine is a router with several downstreams and several upstreams; so i can set eth0 interface down and all policy rules must continue to work. > the advantage to doing this instead of in postup is that if you stop > eth0 then the rules are removed and then added back when you start the > interface again As i've mentioned above this is the disadvantage for me. -- Неманов Олег (Nemanov Oleg)

