[LARTC] Help - Getting an error when trying to add prio to tables....

Pankaj Agarwal pankaj@toughguy.net
Sat Feb 5 15:28:20 CET 2005


Hi,

I am getting the errors given below, when I am trying to add the prio to any 
table. What can be the problem and how can i resolve it.... Kindly help

[root /root]# ip rule
RTNETLINK answers: Invalid argument
Dump terminated

[root /root]# ip rule list
RTNETLINK answers: Invalid argument
Dump terminated

[root /root]# ip rule list table main
"ip rule show" need not eny arguments.

[root /root]# ip rule show
RTNETLINK answers: Invalid argument
Dump terminated

[root /root]# ip rule add prio 50 table main
RTNETLINK answers: Invalid argument

[root /root]# ip route
192.168.2.5 dev eth1  scope link
61.11.104.63 dev eth0  scope link
220.227.153.48/28 dev eth2  proto kernel  scope link  src 220.227.153.61
192.168.2.0/24 dev eth1  proto kernel  scope link  src 192.168.2.5
61.11.104.0/24 dev eth0  proto kernel  scope link  src 61.11.104.63
127.0.0.0/8 dev lo  scope link
default via 61.11.104.1 dev eth0

[root /root]# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }
where  OBJECT := { link | addr | route | rule | neigh | tunnel |
                   maddr | mroute | monitor }
       OPTIONS := { -V[ersion] | -s[tatistics] | -r[esolve] |
                    -f[amily] { inet | inet6 | ipx | dnet | link } 
| -o[neline] }

Thanks and Regards,

Pankaj Agarwal 




More information about the LARTC mailing list