On Wed, 2008-06-04 at 00:09 +0700, Mark Perry wrote: > Martin wrote: > > On Tue, 2008-06-03 at 23:51 +0700, Mark Perry wrote: > >> Martin wrote: > >> > >>>> #Rules for ISPs > >>>> ip rule add $ISP1_IP table 1 > >>>> ip rule add $ISP2_IP table 2 > >>>> > >> Are these rules working? > >> shouldn't they be: > >> > >> ip rule add from $ISP1_IP table 1 > >> ip rule add from $ISP2_IP table 2 > >> > >> > >> mark > > > > Actually the do work. Why they shouldn't? > > > > > I tried then on a system at hand (OK 2.6.16 with iproute2 2.6.15) and I > got a parse error without the "from". > > I'm no expert (an enthusiast maybe) - just another pair of eyes ;-) > > mark Mmmm...don't know...could it be a different iproute package? I've installed a Debian "apt-get" one. #dpkg -l | grep iproute ii iproute 20061002-3 May be I can try downloading source and compiling Thanks for the extra eyes :) Cheers Martin -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html