On Tue, Mar 28, 2006 at 03:59:27PM +0000, Rio Martin. wrote:> Dear all, > I am having problem using iproute2 on my new Slackware 10.1 box. > Here goes the problem: > > root@localhost:~# echo "200 DOONET" >> /etc/iproute2/rt_tables > root@localhost:~# cat /etc/iproute2/rt_tables > # > # reserved values > # > 255 local > 254 main > 253 default > 0 unspec > # > # local > # > #1 inr.ruhep > 200 DOONET > root@localhost:~# ip rule add from 10.255.255.0/24 table DOONET > RTNETLINK answers: Invalid argumentTry # ip rule add from 10.255.255.0/24 table 200 instead of above. It should work with numbers.> > Weird .. > i never experienced any problem like this in another box. > > Please help, thanks .. > > - Rio.Martin - >-- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-'' ` G.m-"^m`m'' Dmytro O. Redchuk
On Tue, 2006-03-28 at 16:44 +0000, Rio Martin. wrote:> Nope .. it still didnt worked. > > root@localhost:/# ip rule add from 10.255.255.0/24 table 200 > RTNETLINK answers: Invalid argumentDoes your kernel support Policy Routing (CONFIG_IP_MULTIPLE_TABLES)? Regards WK
Dear all, I am having problem using iproute2 on my new Slackware 10.1 box. Here goes the problem: root@localhost:~# echo "200 DOONET" >> /etc/iproute2/rt_tables root@localhost:~# cat /etc/iproute2/rt_tables # # reserved values # 255 local 254 main 253 default 0 unspec # # local # #1 inr.ruhep 200 DOONET root@localhost:~# ip rule add from 10.255.255.0/24 table DOONET RTNETLINK answers: Invalid argument Weird .. i never experienced any problem like this in another box. Please help, thanks .. - Rio.Martin -
On Tuesday 28 March 2006 09:25, Dmytro O. Redchuk wrote:> ip rule add from 10.255.255.0/24 table 200Nope .. it still didnt worked. root@localhost:/# ip rule add from 10.255.255.0/24 table 200 RTNETLINK answers: Invalid argument - Rio.Martin -
Thank you. It solved.. - Rio.Martin - On Tuesday 28 March 2006 10:18, Wolfgang Karall wrote:> On Tue, 2006-03-28 at 16:44 +0000, Rio Martin. wrote: > > Nope .. it still didnt worked. > > > > root@localhost:/# ip rule add from 10.255.255.0/24 table 200 > > RTNETLINK answers: Invalid argument > > Does your kernel support Policy Routing (CONFIG_IP_MULTIPLE_TABLES)? > > Regards > WK > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc