Re: Internal PC/external Gateway

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 15, 2005 at 02:52:44AM +0300, Sadus . wrote:
> When i run this:
> ip rule add from 192.168.1.3 table T2
> 
> i get this error:
> RTNETLINK answers: Invalid argument

did you:

  echo 202 T2 >> /etc/iproute2/rt_tables

if you haven't i believe your error would be more along the lines of 
'Error: argument "T2" is wrong: invalid table ID'

does this give you the same error:

  ip rule add from 192.168.1.3 table main

if so--verify that your kernel was compiled with:

  CONFIG_IP_ADVANCED_ROUTER=y
  
if not--i don't believe you will be able to do policy routing until you
recompile your kernel with the proper options set.

-j

--
"Stewie: Yes, I rather like this God fellow. He's very theatrical, you
 know, a pestilence here, a plague there. Omnipotence. Gotta get me some
 of that."
        --Family Guy


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux