hi, I run ip rule list on Mandrake 8.0, and get #ip rule list RTNETLINK answers: Invalid argument Dump terminated I can''t generate a new rule like the statement in Linux 2.4 Advanced Routing HOWTO. What wrong? Thanks for your suggestion.
On Thu, Jun 07, 2001 at 08:35:47PM +0800, javaman wrote:> hi, > > I run ip rule list on Mandrake 8.0, and get > > #ip rule list > RTNETLINK answers: Invalid argument > Dump terminatedDid you select ''IP: advanced router'' and ''IP: policy routing'' in your kernel configuration.
At 20:35 07/06/2001 +0800, javaman wrote:>hi, > >I run ip rule list on Mandrake 8.0, and get > >#ip rule list >RTNETLINK answers: Invalid argument >Dump terminated > >I can''t generate a new rule like the statement in Linux 2.4 Advanced >Routing HOWTO. >What wrong? > >Thanks for your suggestion. >I would suggest you grab the updated source code for iprotue2, (link is in the faq) you will probably need to alter the code slightly if your kernel version is later than 2.4.3 (it will almost certainly complain about a loop variable iirc, this can be commented out of the code as its now redunant in the newer kernels.) also make sure that CONFIG_IP_ADVANCED_ROUTER is also set when compiling. google gives most of the same answer btw. Colin
I use the kernel 2.4.3 which had been compiled by Mandrake. I don''t know if these options have been selectd. Because There is iproute2 in Mandrake 8.0, I think these have been done. I can run this command in Redhat 7.1 whose kernel version is 2.4.2.>On Thu, Jun 07, 2001 at 08:35:47PM +0800, javaman wrote: >> hi, >> >> I run ip rule list on Mandrake 8.0, and get >> >> #ip rule list >> RTNETLINK answers: Invalid argument >> Dump terminated > > Did you select ''IP: advanced router'' and ''IP: policy routing'' >in your kernel configuration. >
Hi, . I don''t know if these options have been selectd. Because There is iproute2 in Mandrake 8.0, I think these have been done. obviously not. You have to compile the two aforementioned settings in your kernel Tom> > I can run this command in Redhat 7.1 whose kernel version is 2.4.2. > > > > >On Thu, Jun 07, 2001 at 08:35:47PM +0800, javaman wrote: > >> hi, > >> > >> I run ip rule list on Mandrake 8.0, and get > >> > >> #ip rule list > >> RTNETLINK answers: Invalid argument > >> Dump terminated > > > > Did you select ''IP: advanced router'' and ''IP: policy routing'' > >in your kernel configuration. > > > > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:http://ds9a.nl/2.4Routing/> >